Ville Syrj�l� wrote:
On Thu, Apr 29, 2004 at 12:49:40PM -0400, Rob wrote:Tried that, but still got the same error.... I'm using mplayer-0.92 if that matters.
Jiri and others:
Using the mplayer -v option yields the output below (options passed on the commandline are "-vo directfb -dr"). Enabling -dr did actually result in the movie being displayed (thanks for the tip).
I also tried using the -vo dfbmga option as suggested by someone but got
the error:
(*) DirectFB/Graphics: Matrox G200 0.7 (convergence integrated media GmbH)
Can't get CRTC2 layer - Not supported!
Error opening/initializing the selected video_out (-vo) device.
You need to use -vo dfbmga:bes
FYI it also says: "YUY2 is the preferred DirectX VA 4:2:2 pixel format." Link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/graphics/hh/graphics/dxvaguide_544n.asp
And Ville, Microsoft defines the NV12 format as:
"A format in which all Y samples are found first in memory as an array of
unsigned char with an even number of lines (possibly with a larger stride
for memory alignment), followed immediately by an array of unsigned char
containing interleaved Cb and Cr samples (such that if addressed as a
little-endian WORD type, Cb would be in the LSBs and Cr would be in the
MSBs) with the same total stride as the Y samples. This is the preferred
4:2:0 pixel format."
That seems to confirm it then. G200 supports NV12.
If its preferred by MS it could atleast be supported by directfb =)
I wonder how old that recommendation actually is. I was under the impression that most Windows video stuff prefers YUY2/UYVY.
I would think its pretty easy to convert between YV12 and NV12, just swap a couple of bytes around. Doesn't seem too overly hackish to me, but it would probably just be easier for me to spend $50 on a G400 =)
-Rob
-- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
