[mythtv] brightness contrast etc.

Brent Hills bhills at openshores.com
Fri Mar 21 16:18:52 EST 2003


I assume I get video4linux as an Adapter because I load the v4l X
extension?  Note both the tuner settings and ATI video card settings
below.

With mythtv running, settings won't change for the video4linux adapter
if I use xvattr.  When mythtv is not running the "current value"
settings reported are all normal numbers not the huge negative.

Maybe it has no relation.  Myth obviously is sticking to the V4L api
directly and doesn't use the xv related calls to control the device. 
I'll take this off the list unless I can define a problem more
definitively.  It just bothered me that the values reported when mythtv
was running were nonsense for the "video4linux" adapter.  When mythtv is
not running the values are sane.  My complete xvinfo output is dumped
below as a curiosity.

Thanks for your time,
Brent Hills.

-bash-2.05b# xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "video4linux"
    number of ports: 1
    port base: 59
    operations supported: PutVideo
    supported visuals:
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
      depth 16, visualID 0x26
    number of attributes: 8
      "XV_ENCODING" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_VOLUME" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_MUTE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is -1073744280)
      "XV_FREQ" (range 0 to 16000)
              client settable attribute
              client gettable attribute (current value is -1073744280)
    number of encodings: 21
      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: "palnc-television"
        size: 640 x 576
        rate: 0.020000
      encoding ID #4: "palm-television"
        size: 640 x 576
        rate: 0.020000
      encoding ID #5: "paln-television"
        size: 768 x 576
        rate: 0.020000
      encoding ID #6: "ntscjp-television"
        size: 640 x 480
        rate: 0.016683
      encoding ID #7: "pal-composite1"
        size: 768 x 576
        rate: 0.020000
      encoding ID #8: "ntsc-composite1"
        size: 640 x 480
        rate: 0.016683
      encoding ID #9: "secam-composite1"
        size: 768 x 576
        rate: 0.020000
      encoding ID #10: "palnc-composite1"
        size: 640 x 576
        rate: 0.020000
      encoding ID #11: "palm-composite1"
        size: 640 x 576
        rate: 0.020000
      encoding ID #12: "paln-composite1"
        size: 768 x 576
        rate: 0.020000
      encoding ID #13: "ntscjp-composite1"
        size: 640 x 480
        rate: 0.016683
      encoding ID #14: "pal-svideo"
        size: 768 x 576
        rate: 0.020000
      encoding ID #15: "ntsc-svideo"
        size: 640 x 480
        rate: 0.016683
      encoding ID #16: "secam-svideo"
        size: 768 x 576
        rate: 0.020000
      encoding ID #17: "palnc-svideo"
        size: 640 x 576
        rate: 0.020000
      encoding ID #18: "palm-svideo"
        size: 640 x 576
        rate: 0.020000
      encoding ID #19: "paln-svideo"
        size: 768 x 576
        rate: 0.020000
      encoding ID #20: "ntscjp-svideo"
        size: 640 x 480
        rate: 0.016683
  Adaptor #1: "ATI Radeon Video Adapter"
    number of ports: 1
    port base: 60
    operations supported: PutVideo PutImage
    supported visuals:
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
      depth 16, visualID 0x26
      depth 16, visualID 0x27
      depth 16, visualID 0x28
      depth 16, visualID 0x29
      depth 16, visualID 0x2a
    number of attributes: 14
      "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 768)
      "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 4)
      "XV_FREQ" (range 0 to -1)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_VOLUME" (range 1 to 127)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_MUTE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_BRIGHTNESS" (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_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_OVERLAY_GAMMA" (range 0 to 7)
              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: 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)
-bash-2.05b#




More information about the mythtv-dev mailing list