[FFmpeg-user] Valid H264 stream wrapped in MP4 cannot be converted back to a valid H264 stream

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Sep 14 20:16:25 CEST 2012

mvram <ram <at> modernvideo.co> writes:

> I generated my test MP4 with a valid H264 stream in it. I am able to play
> the MP4 file using VLC. Then when I extracted H264 from the same MP4 file,
> even FFmpeg couldn't recognize that output as a valid video stream.

You need -vbsf h264_mp4toannexb

Carl Eugen

More information about the ffmpeg-user mailing list