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

FFmpeg trac at avcodec.org
Thu Aug 28 14:20:53 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):

 Replying to [comment:5 cehoyos]:
 > To which container are you writing through the API?

 To avi. But as far as I can tell, any container that uses
 ff_check_h264_startcode will have the same problem.

 > Shouldn't it be easy to call x264 from {{{ffmpeg}}} with the same
 options as you do?

 I don't know ffmpeg command line very well but probably not. I tried to
 transcode an input file to h264 avi but ffmpeg muxes the first frame
 differently - it starts with SPS and PPS, each having the 4-byte
 startcode, and then goes SEI with the 3-byte startcode. Since
 ff_check_h264_startcode only checks the beginning of the frame, it doesn't
 fail. I don't know how to make ffmpeg application put SEI in a separate
 frame.

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


More information about the FFmpeg-trac mailing list