[MPlayer-users] is xv available or not

José M. Fandiño ati-aiw at fadesa.es
Tue Jan 4 11:34:54 CET 2005


Hello,

 I'm using a pc with two video adapters and both adapters have
x-video capabilities but when I play videos in the second adapter 
mplayer shows a black screen. The sound is present, video decoding
takes place (judging by the CPU consumption) and the video output
is a black screen.

I think either mplayer is failing to detect the video extension or 
the xv driver lies, below I attach xv capabilities and I'd be 
grateful if someone could explain this behaviour.

Thank you.

(Xorg 6.8.1 and MPlayer pre6)
X-Video Extension version 2.2
screen #0
  Adaptor #0: "ATI Rage128 Video Overlay"
    number of ports: 1
    port base: 61
    operations supported: PutVideo PutImage 
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
      depth 24, visualID 0x29
      depth 24, visualID 0x2a
    number of attributes: 18
      "XV_DEVICE_ID" (range 0 to -1)
              client gettable attribute (current value is 91)
      "XV_LOCATION_ID" (range 0 to -1)
              client gettable attribute (current value is 92)
      "XV_INSTANCE_ID" (range 0 to -1)
              client gettable attribute (current value is 93)
      "XV_SET_DEFAULTS" (range 0 to 1)
              client settable attribute
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_COLORKEY" (range 0 to -1)
              client settable attribute
              client gettable attribute (current value is 30)
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_ENCODING" (range 0 to 12)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_FREQ" (range 0 to -1)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_TUNER_STATUS" (range -1000 to 1000)
              client gettable attribute (current value is 4)
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_COLOR" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_MUTE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SAP" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_VOLUME" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1000)
    number of encodings: 12
      encoding ID #1: "pal-composite"
        size: 720 x 288
        rate: 0.020000
      encoding ID #2: "pal-tuner"
        size: 720 x 288
        rate: 0.020000
      encoding ID #3: "pal-svideo"
        size: 720 x 288
        rate: 0.020000
      encoding ID #4: "ntsc-composite"
        size: 640 x 240
        rate: 0.016683
      encoding ID #5: "ntsc-tuner"
        size: 640 x 240
        rate: 0.016683
      encoding ID #6: "ntsc-svideo"
        size: 640 x 240
        rate: 0.016683
      encoding ID #7: "secam-composite"
        size: 720 x 288
        rate: 0.020000
      encoding ID #8: "secam-tuner"
        size: 720 x 288
        rate: 0.020000
      encoding ID #9: "secam-svideo"
        size: 720 x 288
        rate: 0.020000
      encoding ID #10: "pal_60-composite"
        size: 768 x 288
        rate: 0.020000
      encoding ID #11: "pal_60-tuner"
        size: 768 x 288
        rate: 0.020000
      encoding ID #12: "pal_60-svideo"
        size: 768 x 288
        rate: 0.020000
    maximum XvImage size: 2048 x 2048
    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: 0x59565955 (UYVY)
        guid: 55595659-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: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
screen #1
  Adaptor #0: "ATI Mach64 Back-end Overlay Scaler"
    number of ports: 1
    port base: 91
    operations supported: PutImage 
    supported visuals:
      depth 16, visualID 0x41
      depth 16, visualID 0x42
      depth 16, visualID 0x43
      depth 16, visualID 0x44
      depth 16, visualID 0x45
      depth 16, visualID 0x46
      depth 16, visualID 0x47
      depth 16, visualID 0x48
    number of attributes: 8
      "XV_AUTOPAINT_COLOURKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_COLOURKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 3137)
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 3137)
      "XV_COLOURKEY_MASK" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 65535)
      "XV_COLORKEY_MASK" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 65535)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 384 x 2048
    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: 0x59565955 (UYVY)
        guid: 55595659-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: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d- s+:+() a- C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w---
O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++
G++ e- h+(++) !r !z
------END GEEK CODE BLOCK------




More information about the MPlayer-users mailing list