[FFmpeg-trac] #7817(avformat:open): Fails to parse mp4 header
FFmpeg
trac at avcodec.org
Thu Mar 28 18:39:01 EET 2019
#7817: Fails to parse mp4 header
-------------------------------------+-------------------------------------
Reporter: Rodeo | Owner:
Type: defect | Status: open
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: mov | Blocked By:
regression |
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Gyan):
abf669479 is the proximate source of the error, but the root cause is
1c2e07b8111b24f62b8d1bda62907848e34dfbcb
The esds box for this track has a tag for MP4DecSpecificDescrTag but the
length is 0. The commit I referenced stopped allowing that.
However, 14496-3 (2009) 9.D.2.2 says,
No decSpecificInfo is defined for MPEG-1 Audio or MPEG-2 Audio, i.e. in
the case of DecoderConfigDescriptor.objectTypeIndication values that refer
to streams complying with ISO/IEC 11172-3 (MPEG-1 Audio) and ISO/IEC
13818-3 (MPEG-2 Audio). In these cases audio decoders receive all
relevant information in the ‘header()’ element of their own bitstream and
can forward the composition memory format to the composition memory. Thus,
changes in the output format need to be dealt with dynamically, i.e.
without an elementary stream descriptor update.
So, an exception needs to be added for MPEG-1/2 audio streams. Not sure if
MPEG-2 AAC should be included.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7817#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list