[FFmpeg-user] How to generate h.264 raw data

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Sep 25 18:39:17 CEST 2014


Deron <deron <at> pagestream.org> writes:

> I tried
> 
> ffmpeg -i "test.avi" -c:v libx264 -bsf h264_mp4toannexb 
> -f h264 -an -y "test.h264"

Why did you add h264_mp4toannexb?
Did you try without?

(Note that you do not have to specify -an, -f h264 and 
-vcodec libx264 if your output filename ends on ".h264".)

Carl Eugen



More information about the ffmpeg-user mailing list