[FFmpeg-trac] #7256(undetermined:new): Mux TrueHD and Atmos to mp4 container
FFmpeg
trac at avcodec.org
Wed Jun 13 14:33:29 EEST 2018
#7256: Mux TrueHD and Atmos to mp4 container
-------------------------------------+-------------------------------------
Reporter: johnesz | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
In preparation for tvOS12 which will support Dolby Atmos, I was updating
my ffmpeg based tools to mux TrueHD/Atmos tracks to mp4 containers. After
short testing I found that they are not supported in mp4.
For the source I used a sample from
[https://thedigitaltheater.com/index.php/dolby-trailers/], this one to be
precise: [https://we.tl/O0BfDADZbu]
How to reproduce:
{{{
% ffmpeg -i Dolby_Bit_Harvest_Lossless-thedigitaltheater.mkv -y -stats
-map 0:0 -map 0:1 -c copy -f mp4 truehd.mp4
ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple LLVM version 9.1.0 (clang-902.0.39.1)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0 --enable-shared
--enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-
avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl
--enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl
--enable-videotoolbox --disable-lzma
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
Input #0, matroska,webm, from '/Users/jkis/Downloads
/Dolby_Bit_Harvest_Lossless-thedigitaltheater.mkv':
Metadata:
encoder : libmakemkv v1.9.5 (1.3.0/1.4.1) win(x64-release)
creation_time : 2015-08-29T18:56:26.000000Z
Duration: 00:00:11.01, start: 0.000000, bitrate: 12615 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080,
SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
Metadata:
title : Surround 7.1
[mp4 @ 0x7fcc22800400] Could not find tag for codec truehd in stream #1,
codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?):
Invalid argument
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Last message repeated 1 times
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7256>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list