> Attached is a modified "rootv.c" file - this should do the trick.  I tested
> it on my ATI AIW radeon and it works OK.  The window sizes and everything
> are all hard coded, but you can change this stuff to suit your needs and
> see how it works.  The encoding is also hard coded to the number that the
> ATI driver uses for NTSC composite - you can figure out which number this
> is for your brooktree board by using xvinfo.

Yup, checked that and chanded it accordingly.
I tested it with all Xv ports which i assumed to correspond to the video 
devices i have (which seems to be a wrong assumption because of the results i 
got).
Anyway - if i start the program it displays some image but it is half 
offscreen and half set to the side, as a completly misconfigured overlay and 
looks pretty close to the overlay (guessed upon the coloring as xv images 
have a slightly darker gamma than overly here).
The video is display for some seconds and then it locks up for some seconds 
and the process repeats. After launching the app the X server is no longer 
responsive and often can not be restarted cleanly at all.

In short - it does not work.
(BTW - i think you mixed up the order of some of the parameters of the 
XvPutVideo() call in that modified rootv.c).

Any more ideas? Eventually i can test it with a system with an Nvidia card to 
see if it works anything different...

> Not sure I completely understand you here, but any program can use the
> XvPutVideo() call.  There are various reasons why the author of xawtv chose

Just to go for sure - i guess the XvPutVideo call is not just an X-server 
integrated version of the overlay+clipping functionality like xawtv does?
I mean - it really uses graphics hardware for colorspace+stretching?

> XvShmPutImage instead - in my experience, this call is usually used to
> display frames one at a time in quick succession (such as in an MPEG-2
> decoder).

Exactly, and in the case of xawtv (and my kvdr) i use it to display 
consecutive grabbed frames which works but with the mentioned limitations.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to