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.
You can compile this by typing: gcc rootv.c -L/usr/X11R6/lib -lX11 -lXv -lXext > What wonders me, is that this program is there but xawtv uses XvShmPutStill() > in it's Xv displaying loop anyway. Are you the only one able to use the > PutVideo() call? 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 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). > Which version of the bttv driver do i need at least? > (Still using 2.4.0 kernel) 2.4.0 should be OK - I'm using the RedHat 7.3 stock kernel (2.4.18-3), but anything in the 2.4 tree should be ok. Hope that helps! Mark ----- Original Message ----- > it prints and then stays quite. No video visible. Tested with the first 3 > ports ( 1 and 2 are dvb cards, 3 is bttv) > > _______________________________________________ > Xpert mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xpert >
rootv.c
Description: Binary data
