On Wed, Apr 28, 2004 at 06:59:43PM -0400, Rob wrote:
> I've got an old G200 lying around and I am trying to setup a
> mythtv/directfb box using it.
> 
> But before I even started doing that I tried a test using mplayer with the
> -vo directfb option and could not get it to work.  It gave an error saying
> YV12 was not supported and switched to using the software YV12->RGB
> converter but still just displayed a black screen (although the OSD shows
> up fine...).
> 
> Looking through the code I noticed a comment saying that the G200 does not
> support YV12 or I420 which seems odd to me.  This is because previously
> I've used the mplayer -vo mga option which does not require the software
> converter and to me from a quick look through the mplayer code it seems to
> display the YV12 natively (ie no conversion in the driver).
> 
> So I'm just wondering why mplayer's mga_vid driver can support YV12 on my
> G200 but directfb does not?  Am I missing something?

G200 doesn't support YV12 (separate U and V planes). I think what it 
supports is called NV12 (U and V pixels interleaved in a single plane). 
mga_vid converts between the formats in the driver. I don't want to add 
such hacks to the DirectFB driver. We could add NV12 support to the driver 
but I don't think any mplayer codecs support that format directly so the 
codecs would have to use YV12 and a filter would need to convert the image 
to NV12.

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


--
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-dev" as subject.

Reply via email to