[FFmpeg-user] Unable to transcode yuv420p file

Atish Kathpal atish.kathpal at gmail.com
Thu Jan 12 07:48:35 CET 2012


Hello

I am unable to transcode any yuv420p file using ffmpeg. I am also unable to
extract any information about the file using ffmpeg -i <file> command. VLC
is showing random color lines on playing the yuv file. Any pointers on how
I could make this work?

ffmpeg -i T2V0041102_Big_Ben_160x600p.yuv -vcodec mpeg4 out.mp4
ffmpeg version git-2012-01-10-7e2ba2d Copyright (c) 2000-2012 the FFmpeg
developers
  built on Jan 10 2012 12:01:19 with gcc 4.6.1
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc
--enable-version3 --enable-x11grab
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 54.100 / 53. 54.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 58.100 /  2. 58.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[IMGUTILS @ 0x7fffe20fa650] Picture size 0x0 is invalid
[IMGUTILS @ 0x7fffe20fa550] Picture size 0x0 is invalid
[rawvideo @ 0x35447e0] Could not find codec parameters (Video: rawvideo,
yuv420p)
[rawvideo @ 0x35447e0] Estimating duration from bitrate, this may be
inaccurate
T2V0041102_Big_Ben_160x600p.yuv: could not find codec parameters


Regards
Atish


More information about the ffmpeg-user mailing list