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

Deron deron at pagestream.org
Thu Sep 25 18:16:41 CEST 2014

Is it possible to output just raw h.264 data? Better yet, both AnnexB 
and AVCC? Or is there a simple muxer that I can use that won't be so 
hard to look through to see the h.264?

I tried

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

But the data it generated did not look correct, as far as I understand 
it (which is what I am trying to learn, so my understanding is very 


More information about the ffmpeg-user mailing list