[mythtv-users] XV playback gives me a purple screen.

Preston A. Elder prez at goth.net
Wed Apr 14 01:50:49 EDT 2004


On Tue, 2004-04-13 at 12:07, Preston A. Elder wrote:
> Either case should not be an issue anyway, I would expect.  Xawtv and
> mplayer both display in XV mode perfectly fine on my system.
Above kept to remind people it works with xawtv and mplayer ;)

If I export the environment variable NO_XV, then I can get my display
working again (with, I'm assuming, standard X11 stuff).

So its definitely XV extended stuff thats not quite supported correctly
my mythtv (maybe someone should check out how xawtv does it?)  I did
notice that xawtv supports more than just YV12 image output though.

For kicks, I also checked out the latest CVS tree, and tried it to see
if it was a bug thats already been fixed.  Nope, the same thing happens
(the purple screen, but full sound working, and no errors) on the latest
CVS tree.

I don't know if any developers look at this list, but this is an issue I
would love to see fixed - for now I can use the above hack to see my
display again, it DOES mean I'm not using XV extensions, and thus, am
not really getting the benefit of my card's acceleration.

If anyone is interested, here is a dump of my 'xvinfo' display:

X-Video Extension version 2.2
screen #0
  Adaptor #0: "video4linux"
    number of ports: 1
    port base: 52
    operations supported: PutVideo
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 8
      "XV_ENCODING" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 1)
      "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_HUE" (range -1000 to 1000)
              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 799)
      "XV_MUTE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_FREQ" (range 0 to 16000)
              client settable attribute
              client gettable attribute (current value is 5492)
    number of encodings: 12
      encoding ID #0: "pal-television"
        size: 768 x 576
        rate: 0.020000
      encoding ID #1: "ntsc-television"
        size: 640 x 480
        rate: 0.016683
      encoding ID #2: "secam-television"
        size: 768 x 576
        rate: 0.020000
      encoding ID #3: "pal-composite1"
        size: 768 x 576
        rate: 0.020000
      encoding ID #4: "ntsc-composite1"
        size: 640 x 480
        rate: 0.016683
      encoding ID #5: "secam-composite1"
        size: 768 x 576
        rate: 0.020000
      encoding ID #6: "pal-svideo"
        size: 768 x 576
        rate: 0.020000
      encoding ID #7: "ntsc-svideo"
        size: 640 x 480
        rate: 0.016683
      encoding ID #8: "secam-svideo"
        size: 768 x 576
        rate: 0.020000
      encoding ID #9: "pal-composite3"
        size: 768 x 576
        rate: 0.020000
      encoding ID #10: "ntsc-composite3"
        size: 640 x 480
        rate: 0.016683
      encoding ID #11: "secam-composite3"
        size: 768 x 576
        rate: 0.020000
  Adaptor #1: "Matrox Parhelia"
    number of ports: 1
    port base: 53
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 4
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is -128)
      "XV_SATURATION" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 0)
    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: 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)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)


-- 
PreZ
Systems Administrator
GOTH.NET

Goth Code '98:   tSKeba5qaSabsaaaGbaa75KAASWGuajmsvbieqcL4BaaLb3F4
                 nId5mefqmDjmmgm#haxthgzpj4GiysNkycSRGHabiabOkauNSW

GOTH.NET - http://www.goth.net
Free online resource for the gothic community.




More information about the mythtv-users mailing list