<br><br>On Saturday, November 13, 2021, Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com">terjejhanssen@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Den 10.11.2021 00:39, skrev Andrew Randrianasulu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Wednesday, November 10, 2021, Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a> <mailto:<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg<wbr>.org</a>>> wrote:<br>
<br>
<br>
<br>
As this source file is a 10-bit 422 video with pcm audio, I think<br>
the following render setup could fit automatic:<br>
Setting Format: rgb(a)-float color model<br>
Render File Format: FFMPEG mp4<br>
Video compression: h264-10bit.mp4 user opti. h265-10bit.mp4<br>
Pixels : yuv422p10le<br>
Bitrate: ?<br>
Quality: ?<br>
Preset: Medium default w/i.e user purpose adjustment faster/slower<br>
Audio: would it be possible and compliant to have the option to<br>
just copy the source PCM audio?<br>
<br>
<br>
<br>
well, I do not think cinelerra can just pass original audio untouched (<br>
May be this can be coded, but IMO Cin's main focus was on re-processing input audio and video, not just cutting. Also, input sources for one session can vary... {this one is less of problem, just so far there is no 'guess' table that can be used for setting up parameters from already-known at encoding time session params}. Maybe encoding profiles can be used for this, need to look..<br>
<br>
</blockquote>
<br>
Possibly I thought merely on just "ffmpeg first input" and "ffmpeg output" (and Cin just as a gui front end).</blockquote><div> </div><div>yeah... I posted link to python script supposedly (if I read desc. correctly!) cutting files according to edl. Now one might try it and assemble resulting clips by another ffmpeg command.. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Regarding uncompressed PCM audio, FFMPEG looks to not support PCM in MP4; I read only Sony had a solution for that.</blockquote><div><br></div><div>heh, it seems one can research this field for day and night) </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>
However I got FFMPEG to copy PCM when I transmuxed to MKV container at the same time as the video part was transcoded to x265:</blockquote><div><br></div><div>good... </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
ffmpeg -i hd01.mov -c:a copy -c:v libx265 hd01_pcm_x265.mkv<br>
<br>
du -sh hd01.mov hd01_pcm_x265.mkv<br>
1,7G hd01.mov<br>
176M hd01_pcm_x265.mkv<br>
----------<br>
ffmpeg -i dv01.dv -c:a copy -c:v libx265 dv01_pcm_x265.mkv<br>
<br>
du -sh dv01.dv dv01_pcm_x265.mkv<br>
2,0G dv01.dv<br>
209M dv01_pcm_x265.mkv<br>
<br>
------------------------<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
(Another one for "home-made HD videos" on Blu-ray discs (BDAV):<br>
Will it be possible to record (copy) source 1080iHDV.m2t files<br>
(video and audio) to the BD-R(E) discs?)<br>
<br>
<br>
<br>
I was thinking about integrating tsMuxer but this does not solve problem about unavailability of pre-encoded packets in cin's vframe for mpeg2.. Probably BC_COMPRESSED type should be split for mjpeg/dv/mpeg2/h264 types but this is larger rework than I can attempt from tablet ...<br>
<br>
<br>
</blockquote>
If tsMuxer (or another dedicated utility) could author a BDAV Blu-Ray for burning on BD-RE disk (and DVD-R), this could make it possible to preserve and test playabilty compliance of DV SD and MPEG-2 HD(V) streams content on the same disc, as described in these papers:<br>
<br>
Blu-ray Disc, Rewritable Format, Audio Visual Application Format Specifications for BD-RE Version 2.1, March 2008:<br>
Figure 3.1.4.2.3: Stream file and Clip Information file for DV in BDAV directory<br>
<a href="http://www.blu-raydisc.com/Assets/Downloadablefile/BD-RE_Part3_V2.1_WhitePaper_080406-15271.pdf" target="_blank">http://www.blu-raydisc.com/Ass<wbr>ets/Downloadablefile/BD-RE_Par<wbr>t3_V2.1_WhitePaper_080406-1527<wbr>1.pdf</a><br>
<br>
Blu-ray Disc Association. UDF2.5. 25/50GB. BDAV. As of December 2016. ROM4.0. Ultra HD Blu-ray™. ROM. Part3. V3.1. ROM. Part2. V2.0. ROM. Part1. V2.0. BDMV.<br>
<a href="http://www.blu-raydisc.info/docs/Spec_Info/AllBooksDecember2016.pdf" target="_blank">http://www.blu-raydisc.info/do<wbr>cs/Spec_Info/AllBooksDecember2<wbr>016.pdf</a></blockquote><div><br></div><div><br></div><div>well, if you have player (or friend(s) with player(s)) you can try for yourself</div><div><br></div><div><a href="https://github.com/justdan96/tsMuxer/commits/master">https://github.com/justdan96/tsMuxer/commits/master</a></div><div><br></div><div>i think they have pre-compiled version. Be aware in tsmuxer context DV usually mean Dolby Vision, not dv as dv video codec. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Terje J. H<br>
</blockquote>