[FFmpeg-user] ffplay won't play yuv file (yuv420p).

HongSuk Hwan hwanikani at hotmail.com
Thu Jul 14 19:10:35 CEST 2011


I am trying to play yuv file using ffplay.
 
However, ffplay cannot play yuv file right now.
 
Even if I give all the parameters required to yuv file, it just won't play saying (two lines of) "Picture size 0x0 is invalid", and "could not find codec parameters."
 
I will tell you what exact command and parameters I used and full error messages below:
 
 
Here is the steps I used:
 
1. go to ftp://ftp.tnt.uni-hannover.de/pub/svc/testsequences/ and download FOREMAN_352x288_30_orig_01_yuv.zip (and unzip it to get yuv)
 
2. Command: ffplay -f rawvideo -pix_fmt yuv420p -s 352x288 -i FOREMAN_352x288_30_orig_01.yuv
 
 
Then I get this error message:

C:\Users\SHH\Desktop>ffplay -f rawvideo -pix_fmt yuv420p -s 352x288 -i FOREMAN_352x288_30_orig_01.yuv

ffplay version N-31247-g5d4fd1d, Copyright (c) 2003-2011 the FFmpeg developers
  built on Jul  4 2011 21:40:51 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --
enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --en
able-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 24. 3 /  2. 24. 3
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[IMGUTILS @ 039BF9D4] Picture size 0x0 is invalid
[IMGUTILS @ 039BF8F4] Picture size 0x0 is invalid
[rawvideo @ 002CF300] Could not find codec parameters (Video: rawvideo, yuv420p)
[rawvideo @ 002CF300] Estimating duration from bitrate, this may be inaccurate
FOREMAN_352x288_30_orig_01.yuv: could not find codec parameters
 
 
I tried BOTH windows and linux builds, and both of them have same problems.
 
Can anyone help me with this problem? 		 	   		  


More information about the ffmpeg-user mailing list