<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
I have made another working ffmpeg command line without "-target
pal-dv50" as seen below, and tried here to <br>
make a video preset for CinGG , but got errors and have questions:<br>
<br>
A related example: <br>
Is it a reason why Cingg preset for DVD doesn't use "-target
pal-dvd" that I have used with ffmpeg before?<br>
<br>
dv50_pal.mov<br>
mov dvvideo<br>
# cin_pix_fmt=yuv422p<br>
# cin_scale=720x576<br>
# r=50<br>
<br>
Shift P:<br>
FFMPEG mov<br>
<br>
Audio wrench enabled first: Didn't find simple pcm_s16le and tried
dnxhr_pcm_s16.mov, but got mismatch and disabled it<br>
Video wrench: dv50p.mov<br>
<br>
Video4Linux /dev/video0<br>
50 frames to record at a time<br>
720 x 576<br>
50.000 frame reate for recording<br>
<br>
r(ecording)<br>
Start record:<br>
<br>
<font face="Courier New, Courier, monospace">cin<br>
Cinelerra Infinity - built: May 18 2025 05:16:59<br>
........<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">DeviceV4L2Base::v4l2_open
pixels="YUYV"; res="1920x1080 1600x1200 1360x768 1280x1024
1280x960 1280x720 1024x768 800x600 720x576 720x480 640x480"<br>
v4l2 s_fmt 720x576 YUYV<br>
DeviceV4L2Base::v4l2_open VIDIOC_S_STD: Inappropriate ioctl for
device<br>
int FFMPEG::init_encoder(const char*):<br>
mismatch audio/video file format:
/home/terje/Videos//DV50p_pal.mov<br>
</font> <font face="Courier New, Courier, monospace"><br>
DeviceV4L2Base::v4l2_open pixels="YUYV"; res="1920x1080
1600x1200 1360x768 1280x1024 1280x960 1280x720 1024x768 800x600
720x576 720x480 640x480"<br>
v4l2 s_fmt 720x576 YUYV<br>
DeviceV4L2Base::v4l2_open VIDIOC_S_STD: Inappropriate ioctl for
device<br>
[AVFormatContext @ 0x7f6aa81d0080] Requested output format
'dv50p_pal.mov' is not known.<br>
int FFMPEG::init_encoder(const char*):<br>
failed: /home/terje/Videos//DV50p_pal.mov<br>
</font> <font face="Courier New, Courier, monospace"><br>
DeviceV4L2Base::v4l2_open pixels="YUYV"; res="1920x1080
1600x1200 1360x768 1280x1024 1280x960 1280x720 1024x768 800x600
720x576 720x480 640x480"<br>
v4l2 s_fmt 720x576 YUYV<br>
DeviceV4L2Base::v4l2_open VIDIOC_S_STD: Inappropriate ioctl for
device<br>
[AVFormatContext @ 0x7f6aa81ad0c0] Requested output format
'dv50p_pal.mov' is not known.<br>
int FFMPEG::init_encoder(const char*):<br>
failed: /home/terje/Videos//DV50p_pal.mov<br>
DeviceV4L2Base::v4l2_open pixels="YUYV"; res="1920x1080
1600x1200 1360x768 1280x1024 1280x960 1280x720 1024x768 800x600
720x576 720x480 640x480"<br>
v4l2 s_fmt 720x576 YUYV<br>
</font> </blockquote>
<font face="Courier New, Courier, monospace"> --------------------</font><br>
<br>
<font face="Courier New, Courier, monospace">ffmpeg -hide_banner -f
v4l2 -i /dev/video0 -f alsa -ch_layout stereo -i hw:CARD=UHD,DEV=0
-c:v dvvideo -vf scale=720x576 -r 50 -c:a copy -t 10 -f mov
dv_r50+pcm.mov<br>
<br>
Input #0, video4linux2,v4l2, from '/dev/video0':<br>
Duration: N/A, start: 538.465207, bitrate: 1990656 kb/s<br>
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422,
1920x1080, 1990656 kb/s, 60 fps, 60 tbr, 1000k tbn<br>
Input #1, alsa, from 'hw:CARD=UHD,DEV=0':<br>
Duration: N/A, start: 1749738351.392999, bitrate: 1536 kb/s<br>
Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s<br>
Stream mapping:<br>
Stream #0:0 -> #0:0 (rawvideo (native) -> dvvideo
(native))<br>
Stream #1:0 -> #0:1 (copy)<br>
Press [q] to stop, [?] for help<br>
[dvvideo @ 0x7f2298705c80] Only top-left chroma location is
supported in DV, input value is: unspecified<br>
----<br>
frame= 476 fps= 50 q=-0.0 size= 135168KiB time=00:00:09.50
bitrate=116553.7kbits/s dup=0 drop=94 speed= 1x [out#0/mov @
0x55b8598e3700] video:140625KiB audio:1875KiB subtitle:0KiB other
streams:0KiB global headers:0KiB muxing overhead: 0.026882%<br>
<br>
frame= 500 fps= 50 q=-0.0 Lsize= 142539KiB time=00:00:10.00
bitrate=116767.6kbits/s dup=0 drop=98 speed=0.999x <br>
</font><br>
--------<br>
<br>
du -sh dv*<br>
140M dv_50M+pcm.mov<br>
140M dv_r50_50M+pcm.mov<br>
140M dv_r50+pcm.mov<br>
<br>
-----<br>
<br>
<font face="Courier New, Courier, monospace">ffprobe -hide_banner
dv_r50+pcm.mov<br>
<br>
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dv_r50+pcm.mov':<br>
Metadata:<br>
major_brand : qt <br>
minor_version : 512<br>
compatible_brands: qt <br>
encoder : Lavf61.7.100<br>
Duration: 00:00:10.00, start: 0.000000, bitrate: 116749 kb/s<br>
Stream #0:0[0x1]: Video: dvvideo (dv5p / 0x70357664),
yuv422p(progressive), 720x576 [SAR 16:15 DAR 4:3], 57600 kb/s, 50
fps, 50 tbr, 12800 tbn (default)<br>
Metadata:<br>
handler_name : VideoHandler<br>
vendor_id : FFMP<br>
encoder : Lavc61.19.101 dvvideo<br>
Stream #0:1[0x2]: Audio: pcm_s16le (sowt / 0x74776F73), 48000
Hz, stereo, s16, 1536 kb/s (default)<br>
Metadata:<br>
handler_name : SoundHandler<br>
vendor_id : [0][0][0][0</font><br>
<br>
--------------<br>
<br>
<font face="Courier New, Courier, monospace">mediainfo
dv_r50+pcm.mov<br>
General<br>
Complete name : dv_r50+pcm.mov<br>
Format : MPEG-4<br>
Format profile : QuickTime<br>
Codec ID : qt 0000.02 (qt )<br>
File size : 139 MiB<br>
Duration : 10 s 2 ms<br>
Overall bit rate mode : Constant<br>
Overall bit rate : 117 Mb/s<br>
Frame rate : 50.000 FPS<br>
Writing application : Lavf61.7.100<br>
<br>
Video<br>
ID : 1<br>
Format : DV<br>
Codec ID : dv5p<br>
Duration : 10 s 0 ms<br>
Bit rate mode : Constant<br>
Bit rate : 24.4 Mb/s<br>
Width : 720 pixels<br>
Height : 576 pixels<br>
Display aspect ratio : 4:3<br>
Frame rate mode : Constant<br>
Frame rate : 50.000 FPS<br>
Original frame rate : 25.000 FPS<br>
Standard : PAL<br>
Color space : YUV<br>
Chroma subsampling : 4:2:2<br>
Bit depth : 8 bits<br>
Scan type : Progressive<br>
Original scan type : Interlaced<br>
Original scan order : Bottom Field First<br>
Compression mode : Lossy<br>
Bits/(Pixel*Frame) : 1.179<br>
Stream size : 29.1 MiB (21%)<br>
Writing library : Lavc61.19.101 dvvideo<br>
<br>
Audio<br>
ID : 2<br>
Format : PCM<br>
Format settings : Little / Signed<br>
Codec ID : sowt<br>
Duration : 10 s 2 ms<br>
Bit rate mode : Constant<br>
Bit rate : 1 536 kb/s<br>
Channel(s) : 2 channels<br>
Channel layout : L R<br>
Sampling rate : 48.0 kHz<br>
Bit depth : 16 bits<br>
Stream size : 1.83 MiB (1%)<br>
Default : Yes<br>
Alternate group : 1<br>
</font><br>
</body>
</html>