[FFmpeg-trac] #3900(avformat:new): ff_check_h264_startcode does not support 3-byte startcodes

FFmpeg trac at avcodec.org
Fri Oct 10 18:50:58 CEST 2014

#3900: ff_check_h264_startcode does not support 3-byte startcodes
             Reporter:  Lastique  |                    Owner:
                 Type:  defect    |                   Status:  new
             Priority:  normal    |                Component:  avformat
              Version:  2.3       |               Resolution:
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |

Comment (by Lastique):

 The attached testcase reproduces the problem, it ends with these error

 [avi @ 0x19c7440] H.264 bitstream malformed, no startcode found, use the
 video bitstream filter 'h264_mp4toannexb' to fix it ('-bsf:v
 h264_mp4toannexb' option with ffmpeg)


 Failure: Failed to write video frame, error: -1094995529

 Note that you can see the encoded video packets if you compile it with
 -DDUMP_PACKETS. You can see then that the first packet contains the 3-byte
 start code.

Ticket URL: <https://trac.ffmpeg.org/ticket/3900#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list