|
From: Daniel Caujolle-B. <lo...@cl...> - 2001-01-12 02:35:57
|
Hi,
Hetz Ben Hamo wrote:
>
> Scott Moser wrote:
>
> > Hetz,
> >
> > Thanks for replying to that mail. I've been quite impressed with Xvideo
> > in my limited experience of it. Maybe you've had more experience and can
> > answer a few questions:
>
> Ok,
>
> >
> > 1. Does Xvideo need any thing at all from the kernel? Is it dependent
> >
> > perhaps on having a frame buffer set up correctly?
>
> No. It doesn't depend on that - the X server however needs an exclusive
> direct access to the card. Thats why when you run X - it runs as a root
> - even if you're not a root user.
>
> Frame buffer is actually a totally differnt thing
>
> > 2. How can you tell if its working (other than by running xine and
> > seeing "using Xvideo") ? I've tried xdpyinfo, and it lists Xvideo, but does
> > that mean its working?
>
> That means the extension exists. You can take the simple test which you
> can find on libSDL in their configure script to detect whether you have
> Xv support or not.
You can also use "xvinfo", provided with XFree itself. It will
produce something like that:
X-Video Extension version 2.2
screen #0
Adaptor #0: "ATI Rage128 Video Overlay"
number of ports: 1
port base: 46
operations supported: PutVideo PutImage
supported visuals:
depth 16, visualID 0x23
depth 16, visualID 0x24
depth 16, visualID 0x25
depth 16, visualID 0x26
number of attributes: 8
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 100)
"XV_BRIGHTNESS" (range -64 to 63)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range 0 to 31)
client settable attribute
client gettable attribute (current value is 20)
"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_MUTE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_VOLUME" (range 1 to 127)
client settable attribute
client gettable attribute (current value is 255)
number of encodings: 12
encoding ID #1: "pal-composite"
size: 768 x 288
rate: 0.020000
encoding ID #2: "pal-tuner"
size: 768 x 288
rate: 0.020000
encoding ID #3: "pal-svideo"
size: 768 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: 768 x 288
rate: 0.020000
encoding ID #8: "secam-tuner"
size: 768 x 288
rate: 0.020000
encoding ID #9: "secam-svideo"
size: 768 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)
>
> >
> > 3. I've got Xv set up on my ATI Xpert card. I've got another system
> > with a Matrox Millinium II. Xvideo is supported by the MGA driver from
> > Xfree86 4.0.2 , but there is no documentation that I can find that says if
> > it works for Matrox cards other than the G200 and G400.
>
> All Matrox cards are using the same 2D driver - the MGA driver. Your
> Millenium card supports Xv quite well.
>
> Regarding the documentation - you'll need to ask the XFree guys about it :)
>
> > Sorry, random questions regarding my recent playing with Xvideo.
> > thanks for anyone with any input
>
> You're quite welcome :)
>
> Hetz Ben Hamo
> Hardware Research dept.
> Aduva Inc.
>
> PS: If this email got messy a bit - then I'm sorry - I'm testing the 0.7
> Mozilla :)
>
> _______________________________________________
> xine-user mailing list
> xin...@li...
> http://lists.sourceforge.net/lists/listinfo/xine-user
Cheers
--
73's de Daniel, F1RMB.
-=- Daniel Caujolle-Bert -=- lo...@cl... -=-
-=- f1...@f1... (AMPR NET) -=-
|