[MPlayer-users] How to correctly setup mplayer to pick up right Xv image output format?

Zbigniew Luszpinski zbiggy at o2.pl
Fri Nov 17 11:14:43 CET 2006


Hello,

Please look at these Mplayer 1.0rc1 logs and tell me why Xv output format is 
not right chosen. But first xvinfo dump which tells which Xv output formats 
are hardware accelerated:

Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)

Mplayer #1 log:
-- 
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 
RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: required configuration vo - 320 x 240 (prefered csp: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
VO: [xv] 320x240 => 320x240 Planar YV12
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
-- 

Mplayer #2 log:
-- 
Decoder supports the following YUV formats: YUY2 IYUV UYVY YV12 YVYU I420 YVU9
Decoder is capable of YUV output (flags 0x7f)
VDec: required configuration vo - 320 x 240 (prefered csp: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
VO: [xv] 320x240 => 320x240 Planar YV12
Selected video codec: [wmv8] vfm: dshow (Windows Media Video 8)
-- 

In both logs we see that prefered csp is 'Packed YUY2'. Why Mplayer selects 
Planar YV12 if my card advertises via xvinfo that prefered YUY2 is hardware 
accelerated and supported? How can I set up MPlayer to pick up most optimal 
Xv output format?

thank you,
zbiggy



More information about the MPlayer-users mailing list