[FFmpeg-user] Problems dumping H264 stream from Axis camera

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Aug 25 07:43:51 CEST 2012

 <paulj <at> fastmail.es> writes:

> [paulo <at> webserver ~]$ ffmpeg -rtsp_transport tcp -i rtsp://... 
> -vcodec copy -acodec copy -t 10 -f h264 bla.h264

You don't need -f h264 because .h264 already tells ffmpeg that you 
want a raw H264 stream and -acodec copy has no meaning for -f h264.
Try with -vbsf h264_mp4toannexb to get a valid h264 file.

Carl Eugen

More information about the ffmpeg-user mailing list