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

Hendrik Leppkes h.leppkes at gmail.com
Fri Feb 15 01:16:16 EET 2019

On Thu, Feb 14, 2019 at 8:14 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2019-02-14 20:11 GMT+01:00, Carl Eugen Hoyos <ceffmpeg at gmail.com>:
> > I created attached patch with a lot of help from Hendrik, fixes
> > ticket #7731.
> I forgot: I still need help to fix the frame distance calculation,
> how is the frame rate supposed to be used?
> Iiuc, the current code only works for 48kHz audio.

You want to shift the 64 to the right by the ratebits from the TrueHD
header, see ff_mlp_read_major_sync where to find it.

- Hendrik

More information about the ffmpeg-devel mailing list