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

Limin Wang lance.lmwang
Tue Feb 13 02:56:45 CET 2007


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

Hi,

> thanks for your information.
> which encoder you used to make the 264 file? x.264?
> please give me more details.

Yes, x264 is default.

> do we have to make the command line more specific, such as './ffplay -x 352
> -y 288 test.264' in order to control the display perfprmance?
No.



> 
> 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?

Of course, have tested. The only issue I notice is when fps=1/1, it can't work
as expected(too fast). Try to use mplayer as follow:

mplayer -demuxer rawvideo -rawvideo fps=25:w=176:h=144:format=i420 your.yuv

If it works, it means you're not the latest svn source. Try:
svn up
then
svn status
then
svn diff

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

iQEVAwUBRdEa3Uztbf7dKiuoAQI/2Af/Q5IN9rzXjfSuDCBY3lEHyEPt9RU9jYdK
8h3vh2nggUctJoPf3/xjWKVpDh3HQRjtdNv2OixMZVcv5ov7NXjS2z4/YQr4/9jL
6Wa1UeGImO235oCfYYdivEbgJ7xaABZ4zC8WsD3GXYngNIkym6nMU0CRS/24dEsa
mH7HazYbsKZyj/1fJu863mIy4y9LyTHpntYaYWzrkZYQIaRyF+rgo+Pb5YN/JVV1
0jiNlBWanOV/usl7SvlZnL0i2EUlhW/WEm+P1J69zmiMMx2CqiJT5CPR0O1qZyHL
ti06kcizvOdOYqrmhkZGpIVjd1N6x5K45pAo/WZ5w1r6l0knN1eLaw==
=cR25
-----END PGP SIGNATURE-----




More information about the ffmpeg-devel mailing list