[FFmpeg-user] Problem in encoding yuv raw video file to h.264

James Darnley james.darnley at gmail.com
Thu Apr 28 10:20:44 CEST 2011


On 28/04/2011, Hardik Sharma <hardik.sharma22 at yahoo.com> wrote:
> $ffmpeg -i silent_cif.yuv -acodec libfaac -aq 100 -vcodec libx264 -b 256k -preset slow -crf 22 -threads 0 output.mp4

How is ffmpeg supposed to know anything about your input file?  You
need to give the frame size, pixel format, frame rate.

As a side note.  You can't use both bitrate and crf rate control when encoding.


More information about the ffmpeg-user mailing list