[Cin] thdmerge

Andrew Randrianasulu randrianasulu at gmail.com
Wed May 4 01:21:49 CEST 2022


So, I slightly modified Windows version of thdmerge.

in theory it should prepare thd (trueHD) file for blu-ray muxing.

make file.thd and file.ac3 with ffmpeg

$ ffmpeg -i ~/vid_20210526.mp4 -vn -c:a ac3 b.ac3
$ ffmpeg -i ~/vid_20210526.mp4 -vn -c:a truehd -strict -2 a.thd

compile
gcc -o thdmerge thdmerge.cpp
run

./thdmerge a.thd b.ac3 full.thd+ac3

try to mux this resulting file with tsmuxer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220504/27789e3f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thdmerge.cpp
Type: text/x-c++src
Size: 3732 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220504/27789e3f/attachment.cpp>


More information about the Cin mailing list