[Cin] truehd patches from ffmpeg git

Andrew Randrianasulu randrianasulu at gmail.com
Wed Nov 24 17:02:45 CET 2021


so.. patches mostly applicable to ffmpeg-4.4 while I slightly edited 'last
frame' fix due to other ffmpeg changes

apply 'last frame' and '24-bit' for encoding truehd hopefully lossless
apply two mlpdec patches for more correct decoder flush/crc check

try to apply mlp.h and libavformat patches for timestamps in demuxer...

stop-returning-empty for mlpenc not tested.

after all this patching both ffmpeg and cin should work better with truehd
streams (still require 'strict -2' in profile)

there were other fixes and code movements but i hope those patches can fix
real bugs and allow losless re-encoding between pcm and truehd (check
crc's!)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211124/91c34424/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavcodec-mlpenc.c-last-frame.patch
Type: text/x-diff
Size: 7554 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211124/91c34424/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavcodec-mlpenc.c-24bit.patch
Type: text/x-diff
Size: 1810 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211124/91c34424/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavcodec-mlpenc.c-stop-returning-empty.patch
Type: text/x-diff
Size: 1476 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211124/91c34424/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavcodec-mlpdec.c-reset-crc.patch
Type: text/x-diff
Size: 1615 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211124/91c34424/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavformat-mlpdec.c-timestamps.patch
Type: text/x-diff
Size: 2613 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211124/91c34424/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavcodec-mlpdec.c.patch
Type: text/x-diff
Size: 1486 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211124/91c34424/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libavcodec-mlp.h.patch
Type: text/x-diff
Size: 534 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211124/91c34424/attachment-0013.bin>


More information about the Cin mailing list