[FFmpeg-devel] [PATCH]lavf/spdifenc: Use a more flexible buffer model for TrueHD/MAT

Hendrik Leppkes h.leppkes at gmail.com
Thu Feb 21 11:40:57 EET 2019


On Fri, Feb 15, 2019 at 1:13 AM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
> > - The distance between frames can be incredibly large in some streams,
> > I've seen it be larger then one whole MAT frame, and the output works
> > reliably (MAT start/middle/end codes need to be placed within the
> > padding space, of course).
>
> That is not supported yet, could you provide such a problematic sample?
> (Including the output if possible)
>

I didn't want to cut it too badly, since that can disrupt how it
works, so its a bit sizeable (the bitrate is also quite high), its the
first ~4 minutes from the start of the Incredibles 2 UHD Blu-ray

https://files.1f0.de/samples/incredibles2-truehd-bitstreaming.thd
(TrueHD stream)
https://files.1f0.de/samples/incredibles2-truehd-bitstreaming.pcm.xz
(bitstreaming output, xz compressed)

There should be a few occurances of this particular case, its the same
stream I used to look into these problems in the first place after it
was reported to me by users.

- Hendrik


More information about the ffmpeg-devel mailing list