Announce - VidSplit one /dev/video in = 2 /dev/video out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Folks,

Hoping to get something that would allow both vic and v4lctl to control a
single /dev/video source, I took code from the vloop examples and the QCE
project and made a usermode program called vidsplit that is downloadable
from:

http://www.ednet.ns.ca/~macleajb/vidsplit.html

No, unfortunately it is not even fast enough for video conferencing at
15fps. But for fun you can:

. run 2 xawtv's from one /dev/video source with different sizes
. run a modified vic and use v4lctl to change channels
. take an RGB24 source at one size and connect to it using RGB24 or
  YUV422(P) at another size and it will scale the image for you.
. run motion off one source and vic off the other.
. burn up all unused CPU cycles in your machine.

Even on an Athalon 1G this does not go very fast, but if all you have is a
USB video source :) it's probably ok.

Maybe this should be a module so that it does less memory copying?
Maybe I just have it coded very wrong :(?
Maybe Gerd already had all this in the newer bttv drivers :)?

I need an RGB24 -> YUV420P convertor so I can try it with FFSERVER.

Any way, it's something to play with if you are into that sort of thing
:-).

Take care,
JES
-- 
James B. MacLean        macleajb@xxxxxxxxxxx
Department of Education http://www.ednet.ns.ca/~macleajb
Nova Scotia, Canada
B3M 4B2






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux