<br><br>On Monday, November 29, 2021, Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2) SD ProRes.mov, 422 (HQ) 10-bit video with LPCM stereo audio :)<br>
<br>
<br>
Den 28.11.2021 22:48, skrev Terje J. Hanssen:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The source video files I want to convert to Blu-ray compliant MPEG-2 SD video with LPCM audio are:<br>
1) DV25.dv, 720 x 576 (PAL), 50i 4:2:0 video with LPCM stereo audio<br>
and<br>
2) SD ProRes.mov, 422 (HQ) 19-bit video with LPCM stereo audio<br>
<br>
The purpose is to get better MPEG-2 quality using higher (highest) possible bitrate than for DVD video.<br>
(Yes, I have tested h.264 via Cin-GG)<br>
<br>
<br>
Here a sample ffmpeg command script found for HD video with PCM (Blu-ray not mentioned):<br>
<a href="https://gist.github.com/avoidik/153879c06afdcaad8d69b38bcc00abb7" target="_blank">https://gist.github.com/avoidi<wbr>k/153879c06afdcaad8d69b38bcc00<wbr>abb7</a><br>
# with PCM 16-bit audio (uncompressed), constant video bitrate with specific bitrate tolerance<br>
<br>
ffmpeg -i "input.mp4" \<br>
-c:v mpeg2video -pix_fmt yuv422p -refs 1 -bf 2 -b:v 50M -maxrate 50M -minrate 50M \<br>
-s 1920x1080 -aspect 16:9 \<br>
-c:a pcm_s16be -f vob \<br>
"output.mpg"</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></blockquote><div><br></div><div>for SD files replace '-s 1920x1080' with '-s 720x576' or omit this part {better} . </div><div><br></div><div>'-b:v 40M -maxrate 40M -minrate 40M'. for 40 mbit/s fixed bitrate. for smaller bitrate just replace numbers. </div><div><br></div><div>-f m2ts for mpeg2 transport stream. </div><div><br></div><div>most likely remove -pix_fmt part. </div><div><br></div><div>-i your file (ffmpeg hopefully will detect its type and codecs automatically) </div><div><br></div><div>keep -c:v mpeg2video part</div><div><br></div><div>I do not think you need mp4box for further conversion, as name suggest it mostly deals {at output end} with mp4 format, not mpeg2 transport stream (but you mentioned putting pcm in mp4, so I researched this part too) </div><div><br></div><div>try tsmuxer (gui) next (not sure if Appimage works for you, if not try their linux build from their github - tags - assets (there you need to expand 'assets' arrow/triangle to see various binary and source archives). </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
<br>
Suggestion to FFMpeg command to convert the actual SD video files Blu-ray compat?<br>
And if LPCM has to be muxed via MP4(Box) first, a guideline is welcome?<br>
<br>
------------------<br>
Some Blu-ray technical info and specifications:<br>
Video codec MPEG2 - MP@ML (4:3 or 16:9), MP@HL (16:9)<br>
Video frame size 720×576 25 frames interlaced / 50 fields (4:3/16:9)<br>
Max video bitrate 40 Mbit/s<br>
**BD-R/RE AV SESF, Part 3 (2018):<br>
Video Streams: max. 15 Mbps VBR (MP@ML) and 24 Mbps (MP@HL)<br>
Audio codecs LPCM 1.536 Mbps (16 bit, 2 ch), 2.304 Mbps (20, 24 bit)<br>
-----------------------<br>
<br>
Terje J. H<br>
</blockquote></blockquote><div> </div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" target="_blank">https://lists.cinelerra-gg.org<wbr>/mailman/listinfo/cin</a><br>
</blockquote>