[FFmpeg-trac] #7200(avcodec:open): Assertion failure with h264_metadata bsf
FFmpeg
trac at avcodec.org
Fri May 11 08:35:33 EEST 2018
#7200: Assertion failure with h264_metadata bsf
------------------------------------+-----------------------------------
Reporter: mypopy | Owner:
Type: defect | Status: open
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by mkver):
The H264 bitstream contains 00 00 00 01 00 00 00 01; the second start code
starts a real NAL unit, but the first one is empty after the trailing
zeros have been stripped away as is done in cbs_h2645_fragment_add_nals.
In the very same function there is also an assert that the size after
stripping away trailing zeros is still >0 (which is of course what
triggers this assertion failure).
If one simply remuxes to mkv/mp4, the file really contains a NAL unit of
size zero. Is this even legal H264 in mp4/mkv?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7200#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list