[FFmpeg-user] how to transcode yuv video to h264 by ffmpeg

Diaz Soho soho123.2012 at gmail.com
Mon Dec 2 10:31:18 CET 2013


Hi All,


If I would like to transcode YUV video data to H.264, then use ffserver
output the h.264 video as stream
the command below :
ffmpeg -sn -f video4linux2 -r 5 -s 1280x720 -input_format yuyv422 -i
/dev/video0 -vcodec libx264 http://localhost:8090/feed.ffm


is there anything wrong in the command?

If I would like to output CBR H.264 stream, how to modify the ffmpeg
command line?


Any input is very appreciated!


Thanks!


More information about the ffmpeg-user mailing list