<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">Den 13.06.2025 23:53, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky4QXE0+ejys4bY4OmwmiaUeKBZdZg=HyiBOQ=+hThhamQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote gmail_quote_container">
<div dir="ltr" class="gmail_attr">сб, 14 июн. 2025 г., 00:48
Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 13.06.2025 05:37, skrev Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">чт, 12 июн.
2025 г., 23:33 Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
target="_blank" rel="noreferrer"
moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 12.06.2025 19:01, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">чт,
12 июн. 2025 г., 19:45 Terje J.
Hanssen via Cin <<a
href="mailto:cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer"
target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> 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>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I am not sure if this is
'composite' command line switch for
ffmpeg as command line application or
you can use it in our profiles.</div>
<div dir="auto"><br>
</div>
<div dir="auto">try and tell us now it
works?</div>
</div>
</blockquote>
<br>
Not sure I understood what you meant here.
But I did base my FFmpeg command line on
presets from WinFF, i.e for "PAL DVD HQ
Fullscreen":<br>
-f dvd -target pal-dvd -aspect 4:3 -vb
8000k -mbd rd -trellis 1 -flags +mv0 -cmp 0
-subcmp 2<br>
<br>
As seen above, this WinFF preset make use of
the related "-f dvd -target pal-dvd"<br>
<a
href="https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg05766.html"
rel="noreferrer noreferrer"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg05766.html</a><br>
<br>
In comparison Cingg's preset doesn't use
ffmpeg's dvd target<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">*I think* -target just set bunch of
parameters at once. So not really needed if you
set them individually in preset.</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
cat dvd.dvd<br>
<blockquote>dvd mpeg2video<br>
s 720x480<br>
r 30000/1001<br>
pixel_format yuv420p<br>
g 18<br>
maxrate 9000000<br>
minrate 0<br>
bufsize 1835008<br>
packetsize 2048<br>
cin_bitrate=8000000<br>
</blockquote>
--------------------------<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"> dv50_pal.mov<br>
mov dvvideo<br>
# cin_pix_fmt=yuv422p<br>
# cin_scale=720x576<br>
# r=50<br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">there is</div>
<div dir="auto"><br>
</div>
<div dir="auto">ffmpeg/video/dv_pal.qt</div>
<div dir="auto"><br>
</div>
<div dir="auto">try it?</div>
</div>
</blockquote>
<br>
Yeah, thanks for this tip which looks good,
interesting and promising ;)<br>
<br>
I noticed also this preset, but didn't bench
test it. Now, seemingly ".qt" tells me it
means "quick-time" (not qt gui)<br>
<br>
cat dv_pal.qt<br>
<blockquote>mov dvvideo<br>
cin_pix_fmt=yuv420p<br>
field_order=bb<br>
# 720x576, 25 fps<br>
</blockquote>
----------<br>
<br>
Applications/CinGG-20250430-x86_64.AppImage<br>
Cinelerra Infinity - built: Apr 30 2025
07:18:32<br>
git://<a
href="http://git.cinelerra-gg.org/goodguy/cinelerra.git"
rel="noreferrer noreferrer"
target="_blank" moz-do-not-send="true">git.cinelerra-gg.org/goodguy/cinelerra.git</a><br>
<br>
-------<br>
Shift P:<br>
FFMPEG qt<br>
<br>
Audio wrench: <br>
pcm_s16le<br>
Video wrench: <br>
dv_pal.qt<br>
yuv422p<br>
<br>
Video4Linux /dev/video0<br>
30 frames to record at a time (default,
correct? should it be set to 50fps?)<br>
<br>
720 x 576<br>
50.000 frame rate for recording<br>
<br>
r(ecording)<br>
Start record:<br>
<br>
<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: </font><font
face="Courier New, Courier, monospace">Inappropriate
ioctl for device</font><br>
<font face="Courier New, Courier, monospace"><br>
</font>-----------<br>
<br>
And interestingly, the short cam test with
Sony TR2000 Hi8 PAL connected via the A/D
converter, the result also looks promising
:)<br>
<br>
---------<br>
<br>
<font face="Courier New, Courier, monospace">ffprobe
-hide_banner Cgg_dv_pal+pcm.qt<br>
<br>
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'Cgg_dv_pal+pcm.qt':<br>
Metadata:<br>
major_brand : qt <br>
minor_version : 512<br>
compatible_brands: qt <br>
encoder : Lavf61.1.100<br>
Duration: 00:00:11.06, start: 0.000000,
bitrate: 116736 kb/s<br>
Stream #0:0[0x1]: Video: dvvideo (dv5p /
0x70357664), yuv422p(bottom first),
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>
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]<br>
<br>
--------<br>
</font></div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
A dv vs dv50 squiz:<br>
<br>
<font face="Courier New, Courier, monospace">DV:
yuv420(pal) - ca, 25Mbit/s (video) - 25 FPS<br>
DV50; yuv422 - ca 50Mbit/s (video) - 25 FPS<br>
<br>
</font>I have also read that DV50 may be interpreted as
2 DV streams in parallell. <font
face="Courier New, Courier, monospace"><br>
</font><br>
<br>
But what happened by selecting framerate 50 fps in
CinGG, when <br>
<blockquote><font face="Courier New, Courier, monospace">ffprobe
above say 57600 kb/s, 50 fps</font><br>
</blockquote>
and mediainfo below say<br>
<blockquote><font face="Courier New, Courier, monospace">Overall
bit rate : 117 Mb/s</font><br>
<font face="Courier New, Courier, monospace">Bit rate
(video) : 24.4 Mb/s</font><br>
<font face="Courier New, Courier, monospace">Frame
rate : 50.000 FPS</font><br>
<font face="Courier New, Courier, monospace">Original
frame rate : 25.000 FPS</font><br>
<font face="Courier New, Courier, monospace">Scan
type : Interlaced !!?</font><br>
<font face="Courier New, Courier, monospace">Scan
type, store method : Separated
fields (2 fields per block)</font><br>
</blockquote>
Is the latter Separated fields 2 interlaced fields each
odd and even lines that simulates a progressive 50 FPS
video?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">sorry, no idea here.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Depend on your source and Project settings it
probably still means interlaced, because we do not do
auto-deinterlacing, or fields to frames conversion.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Watch output file frame by frame, I think it
will remain interlaced.</div>
</div>
</blockquote>
<br>
Yes, I stepped frame by frame with VLC, but as this was a rather
static video recorded with the camera on a fixed table stand, I have
to wait until I later to try playback of real things with movments.<br>
<br>
My camcorder sources are all 50i no doubt. What confuse this
workflow, is the ms2130 capture card that captures progressively,
not 25fps but 50fps as actual in this case. And next the dvvideo
codec is fundamentally interlaced. <br>
<br>
So when mediainfo say 50 fps and scan type/store method is separated
2 fields per block, the remaining doubt is if this in effect will be
100i fields in sequence or make possible "parallell fields
playback/displaying at once" (dependent of devices) ....<br>
<br>
Or said in another way, while dv50 no doubt offers better color 422
recording than DV, the doubt is if the 100Mbit/s+ bit rate offers no
benefits but waste of space, compared with plain dv50 at 50Mbit/s
fps (though unobtainable here)....<br>
<br>
<blockquote type="cite"
cite="mid:CA+rFky4QXE0+ejys4bY4OmwmiaUeKBZdZg=HyiBOQ=+hThhamQ@mail.gmail.com">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote gmail_quote_container">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><font
face="Courier New, Courier, monospace"> <br>
mediainfo Cgg_dv_pal+pcm.qt<br>
General<br>
Complete name :
Cgg_dv_pal+pcm.qt<br>
Format :
MPEG-4<br>
Format profile :
QuickTime<br>
Codec ID :
qt 0000.02 (qt )<br>
File size :
154 MiB<br>
Duration :
11 s 60 ms<br>
Overall bit rate mode :
Constant<br>
Overall bit rate :
117 Mb/s<br>
Frame rate :
50.000 FPS<br>
Writing application :
Lavf61.1.100<br>
FileExtension_Invalid :
braw mov mp4 m4v m4a m4b m4p m4r 3ga 3gpa
3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv
isma ismt f4a f4b f4v<br>
<br>
Video<br>
ID :
1<br>
Format :
DV<br>
Codec ID :
dv5p<br>
Duration :
11 s 60 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 :
Interlaced !!?<br>
Scan type, store method :
Separated fields (2 fields per block)<br>
Scan order :
Bottom Field First<br>
Compression mode :
Lossy<br>
Bits/(Pixel*Frame) :
1.179<br>
Stream size :
32.2 MiB (21%)<br>
<br>
Audio<br>
ID :
2<br>
Format :
PCM<br>
Format settings :
Little / Signed<br>
Codec ID :
sowt<br>
Duration :
11 s 42 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 :
2.02 MiB (1%)<br>
Default :
Yes<br>
Alternate group :
1<br>
<br>
</font><br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <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>
</div>
-- <br>
Cin mailing list<br>
<a
href="mailto:Cin@lists.cinelerra-gg.org"
rel="noreferrer noreferrer noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">Cin@lists.cinelerra-gg.org</a><br>
<a
href="https://lists.cinelerra-gg.org/mailman/listinfo/cin"
rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>