[Cin] pcm bluray encoding

Andrew Randrianasulu randrianasulu at gmail.com
Mon Dec 6 20:51:55 CET 2021


oops. prev. patch was segfaulting on 2ch encodings (missing break!)

new should work for mono and 5.1 (tested this time)

On Monday, December 6, 2021, Andrew Randrianasulu <randrianasulu at gmail.com>
wrote:

> Thanks to Paul (who wrote a lot of ffmpeg code) I hacked this patch
> against ffmpeg-4.4.
>
> Can anyone test how it work with 5.1 and stereo sounds (s16, s24 broken
> ATM), especially if it remaps 5.1 channels correctly?
>
> I tested like this:
>
> $ ./ffmpeg -i ~/matrixbench_highdivx_ac3.avi -c:v libx264 -s 160x120 -c:a
> pcm_bluray -mpegts_m2ts_mode 1 -sample_fmt s16 1.m2ts
>
> mpv 1.m2ts
>
> but my tablet sound definitely not 5.1!
>
> NOTE: this is not yet cinelerra-gg patch, just something I test with our
> version of ffmpeg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211206/c9851400/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bluray_enc.patch
Type: text/x-diff
Size: 9089 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211206/c9851400/attachment-0001.bin>


More information about the Cin mailing list