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

Michael Niedermayer michaelni
Mon Feb 12 20:40:32 CET 2007


Hi

On Mon, Feb 12, 2007 at 07:52:03PM +0100, Michel Bardiaux wrote:
> 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.

yes, patch welcome :)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070212/2f8729b8/attachment.pgp>



More information about the ffmpeg-devel mailing list