mlpenc: Working MLP/TrueHD encoder

Multimedia / FFmpeg - Jai Luthra [jailuthra.in] - 17 September 2016 07:23 UTC

- Multichannel support for TrueHD is experimental

There should be downmix substreams present for 2+ channel bitstreams, but ffmpeg decoder doesn't need it. Will add support for this soon.

- There might be lossless check failures on LFE channels

- 32-bit sample support has been removed for now, will add it later

While testing, some samples gave lossless check failures when enforcing s32. Probably this will also get solved with the LFE issues.

15b86f4 mlpenc: Working MLP/TrueHD encoder
libavcodec/Makefile | 2 +
libavcodec/allcodecs.c | 4 +-
libavcodec/mlp.c | 21 +
libavcodec/mlp.h | 40 +
libavcodec/mlpenc.c | 2416 ++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 2481 insertions(+), 2 deletions(-)

  • Share