[Cin] mpeg2sd422p presets
Terje J. Hanssen
terjejhanssen at gmail.com
Sun Jun 15 00:26:09 CEST 2025
Attached here are two presets for recording SD raw video to mpeg2video
with high 30M bitrate and 422p chroma subsampling.
Just a quick working test by me so far.
A m2ts (mpegts) container is used as for the previous hd variant, to
easy be able to combine with pcm_bluray audio. As progressive video,
none of these are Blu-ray compliant, but merely for use with
media-players. My thought next is therefore to make additional .mkv
variants of both presets.
Analyzing the Cingg output file with ffprobe:
ffprobe -hide_banner mpeg2sd422p.m2ts
Input #0, mpegts, from 'mpeg2sd422p.m2ts':
Duration: 00:00:20.94, start: 0.020000, bitrate: 33509 kb/s
Program 1
Stream #0:0[0x1011]: Video: mpeg2video (4:2:2) ([2][0][0][0] /
0x0002), yuv422p(tv, bt709/unknown/unknown, progressive), 720x576 [SAR
1:1 DAR 5:4], 50 fps, 50 tbr, 90k tbn
Side data:
cpb: bitrate max/min/avg: 30000000/0/0 buffer size: 25001984
vbv_delay: N/A
Stream #0:1[0x1100](eng): Audio: pcm_bluray ([128][0][0][0] /
0x0080), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s
The 422p at ML for SD is accepted by the equivalent fmpeg command line, and
profile=422p works (not 'main') in the preset. It would be fine to use
both profile name and level in the preset if possible (?) ('high' was
used in for the hd variant).
cat mpeg2sd422p.m2ts
mpegts mpeg2video
cin_pix_fmt=yuv422p
b=30M
dc=10
muxrate=35M
minrate=30M
maxrate=30M
bufsize=25M
bf=2
profile=422p
refs=1
cat mpeg2sd422p.seg
segment mpeg2video
segment_format=mpegts
segment_time=00:10 <= your segment time
reset_timestamps=1
cin_pix_fmt=yuv422p
b=30M
dc=10
muxrate=35M
minrate=30M
maxrate=30M
bufsize=25M
bf=2
profile=422p
refs=1
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250615/fc79411e/attachment.htm>
-------------- next part --------------
segment mpeg2video
segment_format=mpegts
segment_time=00:10 <= your segment time
reset_timestamps=1
cin_pix_fmt=yuv422p
b=30M
dc=10
muxrate=35M
minrate=30M
maxrate=30M
bufsize=25M
bf=2
profile=422p
refs=1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpeg2sd422p.m2ts
Type: video/mp2t
Size: 123 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250615/fc79411e/attachment.bin>
More information about the Cin
mailing list