[FFmpeg-user] codec copy fails with malformed bitstreams in mpegts

Roger Pack rogerdpack2 at gmail.com
Wed Sep 19 23:27:03 CEST 2012


> Every now and then ffmpeg fails when remuxing a mpegts file with the following error:
>
> [mpegts @ 0x1677a60] H.264 bitstream malformed, no startcode found, use the h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb)
> av_interleaved_write_frame(): Invalid argument
>
> The file I am remuxing can be downloaded here: https://www.dropbox.com/sh/b8v81l4l7lhjgj0/6Klxfejcki

So sometimes it fails, sometimes succeeds, with the same file input?
-r


More information about the ffmpeg-user mailing list