[FFmpeg-trac] #3900(avformat:new): ff_check_h264_startcode does not support 3-byte startcodes
FFmpeg
trac at avcodec.org
Thu Aug 28 11:48:41 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 cehoyos):
Replying to [ticket:3900 Lastique]:
> The 3-byte startcode is produced by libx264 for SEI NAL. Our application
uses libx264 and ffmpeg through C API and at some point passes an AVPacket
that starts with SEI to av_interleaved_write_frame, which fails.
This seems to describe a different failure than the one for which you
uploaded a sample and provided a command line. Is the issue with using
libx264 to encode and libavformat to mux not reproducible with
{{{ffmpeg}}} (the application)?
I tested your patch and the file you uploaded: The patch allows to write
invalid transport streams with {{{ffmpeg -i ticket3900.avi -vcodec copy
out.ts}}} which could be fixed by moving the changed function to
libavformat/avienc.c but neither the original file nor the (with your
patch) remuxed avi file play with WMP, so I suspect the error message is
not wrong or do I miss something?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3900#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list