SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files
VIDSPLIT

  • Take single /dev/videox input and enable it on 2 vloopback /dev/videox pipes.
  • Provide resizing and format conversion for RGB24 input.

Covered by GNU GPL version 2. See included file COPYING.

No guarantees at all!

Required

Vloopback -

To Compile:

Set DEBUG level appropriately. Remove NEWVLOOP define if using older vloopback-0.83 version. Then:

make

To run:

(example)
insmod /<vloopback dir>/vloopback.o pipes=2 ./vidsplit /dev/video0 /dev/video1 /dev/video3 320x240

It does not daemonize at this time, so you should use a second xterm to start up test applications. Some of the startups I use are in the included file 'do'. The widthXheight is attempted to be set on the raw device. Can be used to remove interlace on bttv's above 320x240. Will not use above raw device widthXheight for input size.

To test:

xawtv -c /dev/video2 -geometry 320x240 & xawtv -c /dev/video4 -geometry 640x480

or

vic 224.2.2.2/3456 &
xawtv -c /dev/video4 &

Limitations

  • Slow
  • Only works where input (real) device can mmap
  • Appears to go into slow motion when 2 outputs are in use for a while
Authors

Constructed by: James B. MacLean <macleajb@ednet.ns.ca>

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

Thanks to Jeroen Vreeken <pe1rxq@amsat.org> for much of the code used to start this as well as Jean-frederic Clere's code for rgb24->yuv conversion code of yuv.c.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.