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

Hardik Sharma hardik.sharma22 at yahoo.com
Thu Apr 28 04:09:37 CEST 2011


Hi,
I am trying to encode yuv video file to h.264 on ubuntu 10.10 but unable to get it done. My input video is silent.yuv cif format. I am using following commands and getting following errors-
$ffmpeg -i silent_cif.yuv -acodec libfaac -aq 100 -vcodec libx264 -b 256k -preset slow -crf 22 -threads 0 output.mp4FFmpeg version git-N-29265-g3eb15d9, Copyright (c) 2000-2011 the FFmpeg developers
  built on Apr 21 2011 11:44:48 with gcc 4.4.5
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
  libavutil    51.  0. 0 / 51.  0. 0
  libavcodec   53.  0. 0 / 53.  0. 0
  libavformat  53.  0. 0 / 53.  0. 0
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  0. 0 /  2.  0. 0
  libswscale    0. 13. 0 /  0. 13. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[IMGUTILS @ 0xbfa66b94] Picture size 0x0 is invalid
[IMGUTILS @ 0xbfa66a94] Picture size 0x0 is invalid
[rawvideo @ 0x9e8dbb0] Could not find codec parameters (Video: rawvideo, yuv420p)
[rawvideo @ 0x9e8dbb0] Estimating duration from bitrate, this may be inaccurate

Please help me with this issue. 

Thanks,
Hardik Sharma 


More information about the ffmpeg-user mailing list