[Ffmpeg-devel] Re: Can not play a YUV file using ffplay

Limin Wang lance.lmwang
Tue Feb 13 02:43:24 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

* Michel Bardiaux <mbardiaux at mediaxim.be> [2007-02-12 19:52:03 +0100]:

> Michael Niedermayer wrote:
> > Hi
> > 
> > On Mon, Feb 12, 2007 at 05:30:10PM +0100, Michel Bardiaux wrote:
> > [...]
> > 
> >>>by the way, I have compiled the whole ffmpeg project using the fixed
> >>>ffplay.c in SVN source tree, but still I couldn't play the yuv file. errors
> >>>are as follows:
> >>>
> >>>picture size invalid (0x0)
> >>>[rawvideo at 0x8376db0]Could not find codec parameters( Video: rawvideo,
> >>>yuv420p)
> >>>test.yuv: could not find codec parameters
> >>>
> >>>the comman line I use is :   ./ffplay -f rawvideo -x 176 -y 144 test.yuv
> >>>
> >>>have you ever tried the rawvideo file?
> >>>
> >>
> >>Think about it. What is a yuv file? Rawvideo, without any adornment. 
> >>Hence, no way for ffplay to guess the image size. And 'ffplay -h' would 
> >>show you that there is no way to give the info to ffplay either, -x 
> >>being the *displayed* width. So, you cant play a raw yuv with ffplay. 
> >>But you could use ffmpeg to mux the yuv in an avi.
> > 
> > 
> > ffplay -f rawvideo -x 352 -y 288 foreman_cif
> > works here so id say the original poster does not use latest svn
> > 
> And I can scream for the full output, as I do about ffmpeg, because
> there isnt any!
> 
> But dont you find that ugly? And impractical too: it means there is no
> way to play an YUV except at its native size.

I can't agree, at least I have no way to encode yuv to h264 without
width and height parameters. That's pity if no way to play the YUV even
I know the native size. Currently I only know mplayer can do that in LINUX.


Thanks,
Limin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRdEXvEztbf7dKiuoAQLVDwf/dT+pTcuzFX/f8P87/Hzvuh4Kmg9ETyOf
9V0jnQYcC7r/xscYJ6nYxaivvlYIkKGIEiWv7mdUoMy8bNMnDy4P9pS4gtlONYgn
ag/WRnjTc+RIKb28P3RRLA29FM2WuQVzWc3tInRF3EZ3ECpxn0R94HB2MkDpuMiq
sT31Al/Sx+5f/5p6j7YWS4RPX6H2tl1QbddKsbqw0t/RPBYJy1CYGAkTI/8lcOdt
q3th6Ycd8RXfbT+dFNZiwnF0T2Vfsi2M1gA6vxRtZYcYHfOzGZ7i/dkLHtWOSXpU
D3EBS0CiWnb+g+x/Lhb0Nus5J3Lx6PNUpXyFgXOj70/VKl7/dH3/gw==
=iYiK
-----END PGP SIGNATURE-----




More information about the ffmpeg-devel mailing list