Hallo together,

I found 2 threads regarding the to high cpu load using Xv but no solution - 
pardon if i simply did'nt search enough.

My problem is, that i try to use the Xv-extension to display 25Hz or 50Hz 
(PAL, NTSC resp.) video from v4l-devices. You can find my project & code under
http://www.s.netic.de/gfiala/
The problem comes with including the XSync() call, which i need to force 
display of field1,2 at a "certain" time. That is used to do a kind of TV like 
"interlaced" output which gives much better results for interlaced movies 
without actually needing to fiddle with deinterlacing code...
Anyway, even at 25Hz the CPU load is simply higher than mplayer doing 
software decoding + Xv at the same time! That seems not logical to me.

Is there some example how to correctly use the Xv extension for displaying 
videos? For me it seems there is no visible difference in using XvPutImage 
with/without XvPutVideo (and set frequency). Also i did'nt found any 
information on what value frequency should be set.

Why do i need to feed the XServer with images anyway - could'nt itself look 
for new images directly in the mmap'ed /dev/video?

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

Reply via email to