[SDL] V4L and SDL...

Vladimir Davydov vladimir at iqmedia.com
Thu Sep 18 06:20:01 PDT 2003


Hello, everyone!

I develop TV-player based on SDL for Linux.
I need yours suggestions about organization reading and displayng TV in 
most optimal ways. At this time my player used about 20% on Athlon 
1700XP, and this is  very hi percents :( xawtv and kwintv  use 1% of 
cpu.

I need to display tv-picture in certain place of main window of player. 
I use additional RGB surface (SDL_CreateRGBSurface()), and read picture 
from tv-tuner  to this surface using mmap. After this I call 
SDL_BlitSurface() into main surface and call SDL_UpdateRect();

Software:
linux-2.4.22
XFree-4.3.0
SDL-1.2.5

My hardware:
CPU: AMD Athlon 1700XP
Video card: NVidia Gefors4 440MX
TV-Tuner: Avermedia TV (bttv)

Thanks, Vladimir






-- 
Vladimir Davydov
Software Developer
Minsk S/W Development Department
Mob: +375 296 64-94-41






More information about the SDL mailing list