[Mesa-dev] [PATCH 9/9] vl/video_buffer: add YUYV and UYVY support
deathsimple at vodafone.de
Mon Mar 5 03:31:55 PST 2012
On 04.03.2012 14:59, Andy Furniss wrote:
> Christian König wrote:
>> This gets xine working with VDPAU.
> Didn't for me but my xine may be borked :-(
> But then YUY2 with mplayer is also failing -
> vl/vl_video_buffer.c:451:vl_video_buffer_create_ex: Assertion
> `tmpl->chroma_format == PIPE_VIDEO_CHROMA_FORMAT_444' failed.
> Same stream works with xv and mplayer output looks the same, so I
> don't think it's an mplayer thing.
That assertion is indeed incorrect now, but the problem lies even
deeper. Neither our MPEG2 decoder nor xines software decoder can handle
4:2:2 streams, so I couldn't find a way to test that probably. Xine is
just checking for YUY2 support before using VDPAU in any way, so with
that patch you can at least play 4:2:0 streams.
Thx for the tip with mplayer, it looks like mplayers software
decoder+VDPAU can actually play those streams, so I now was able to
hammer out some of the bugs. But sampling from those packet formats is
still a bit buggy, need to work on that a bit more before I can commit
More information about the mesa-dev