Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Sending VDR output to X11 window ?
On Fri, 5 Mar 2004 00:52:51 +0100
Stefan Lucke <stefan@lucke.in-berlin.de> wrote:
> On Donnerstag, 4. März 2004 10:37, DOm wrote:
>
> [ ..]
> >
> > Maybe the message regarding COLORKEY can be useful (remember that
> > with patch02 OSD worked).
> > The _window_ has wrong width but video is perfectly scaled, i mean
> > that there are black bands on left and right.
>
> Output window is now initialized in 16:9 mode.
> You may change that in softdevice.c, around line 216, if initializer
> looks like: videoOut = new cXvVideoOut (XV_FORMAT_NORMAL);
> you should be back at 4:3 mode.
>
OK that is solved :)
> In method Refresh() file video-xv.c change the #if 0, line 552 before
> XShmPutImage to #if 1 and deactivate XShmPutImage in method YUV around
> line 638. By that it still works for me (but wrong centered OSD) but
> responiveness is rather slow takes a few seconds.
>
>
That does not change things here... no OSD yet.
But i discovered a strange thing:
both with original patch04 and with the above modifications i _normally_
do not see OSD, but if i move the window or if the system is under heavy
load i am able to see the osd for _half a second_ or so, it seemed to
me as a "z-order overlay problem": like if video was *above* OSD and the
latter is visible only when the window is redrawn.
Does this depend by my videocard drivers (even if OSD worked
with patch02) ? I tried with 24bpp and 16bpp with same results.
I paste here xvinfo for more details (XFree86 Version 4.2.1.1):
X-Video Extension version 2.2
screen #0
Adaptor #0: "Savage Streams Engine"
number of ports: 1
port base: 52
operations supported: PutImage
supported visuals:
depth 16, visualID 0x22
depth 16, visualID 0x23
number of attributes: 5
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 0)
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 128)
"XV_SATURATION" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 128)
"XV_HUE" (range -180 to 180)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 1024 x 1024
Number of image formats: 6
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: 0x35315652 (RV15)
guid: 52563135-0000-0000-0000-000000000000
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 0
red, green, blue masks: 0x1f, 0x3e0, 0x7c00
id: 0x36315652 (RV16)
guid: 52563136-0000-0000-0000-000000000000
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 0
red, green, blue masks: 0x1f, 0x7e0, 0xf800
id: 0x31313259 (Y211)
guid: 59323131-0000-0010-8000-00aa00389b71
bits per pixel: 6
number of planes: 3
type: YUV (packed)
Thank you again,
Angelus.
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index