[FFmpeg-trac] #3787(avcodec:new): h264 parser only accepts extradata before the first frame

FFmpeg trac at avcodec.org
Sun Jul 20 03:10:15 CEST 2014


#3787: h264 parser only accepts extradata before the first frame
----------------------------------+---------------------------------------
             Reporter:  benjamin  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  unspecified
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 Summary of the bug:
 The H264 parser only accepts extradata before the first frame. If further
 extradata occurs, the parser fails to find the frame, since it tries to
 interpret the begining of the extradata as the nal size. Interestingly,
 the full ffmpeg H264 decoder accepts properly extradata before every
 frame. Thus, the problem only happens when using a container that requires
 the use of the H264 parser. In particular, this bug prevents good
 transcoding of H.264 videos with extra extradata when the format is FLV.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3787>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list