Can't play yuv files

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
jeremyDT
New Cone
New Cone
Posts: 3
Joined: 06 Jun 2011 16:52

Can't play yuv files

Postby jeremyDT » 07 Jun 2011 16:24

Hi!,

I've got some videos sequences in yuv (uncompressed) format that i'd like to play using VLC. When i try to do so, the result is a fuzzy video with lots of coloured lines "floating" around. Does anybody know what the problem is?, am i missing something (like a codec)?.

Thanks in advance!,

Jeremy

P.S.: My VLC version is 1.1.9, and i'm running it on a 64 bit Windows 7.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Can't play yuv files

Postby VLC_help » 07 Jun 2011 18:35

If you see video, you aren't missing anything. If same happens with other files (like .avi, .mp4 etc.) then it is most likely a video output issue.
http://wiki.videolan.org/WindowsFAQ-1.1 ... _output.3F
If it just happens with YUV files, it is most likely a bug in VLC.

jeremyDT
New Cone
New Cone
Posts: 3
Joined: 06 Jun 2011 16:52

Re: Can't play yuv files

Postby jeremyDT » 07 Jun 2011 22:56

I'm able to play almost any kind of file, EXCEPT yuv... it's really weird!, i refuse to believe that i'm the only one with this problem!

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: Can't play yuv files

Postby XilasZ » 08 Jun 2011 13:52

You are not the only one. vlc can output to yuv files (and they are correct, i made a tool to decode them), but fails at playing them correctly, colors are messed up.

Edit:
Hmm, i did some tests, if the first line of the yuv file is

Code: Select all

YUV4MPEG2 W800 H448 F2997:100 Ip A199:200
It plays fine.

if it's something else like

Code: Select all

I420 W800 H448 F2997:100 Ip A199:200
, vlc won't detect the size and will display weird stuff. Forcing the video size in the command line helps,

Code: Select all

"c:\Program Files\VideoLAN\VLC\vlc.exe" stream.yuv --rawvid-width=800 --rawvid-height=448
but the image slides to the right and green lines appears at the top.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Can't play yuv files

Postby VLC_help » 11 Jun 2011 15:35

Could you share us one non-working file so I can open a trac ticket for this?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests