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

Stefano Sabatini stefano.sabatini-lala at poste.it
Sun Jul 10 17:23:40 CEST 2011


On date Saturday 2011-07-09 22:47:59 -0400, HongSuk Hwan encoded:
> 
> 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

Some things changed in the interface, now -s SIZE is ignored, you
should use -video_size instead (yes you can consider it a bug and
we still have to update the docs).
-- 
ffmpeg-user random tip #18
Gmane ffmpeg-user archive:
http://dir.gmane.org/gmane.comp.video.ffmpeg.user


More information about the ffmpeg-user mailing list