VidSplit 0.1 review

Download
by rbytes.net on

VidSplit is a Video Splitter for Video 4 Linux devices. Connect to a /dev/videoX device and split that into 2 channels using /dev/

License: GPL (GNU General Public License)
File size: 17K
Developer: James B. MacLean
0 stars award from rbytes.net

VidSplit is a Video Splitter for Video 4 Linux devices.

Connect to a /dev/videoX device and split that into 2 channels using /dev/videoX pipes created by by vloopback. This allows running two V4L applications from a single real V4L source. If you use the CVS version of 0.93, you will need to apply vloopback-0.93pre.diff.

To use with vic, you need to modify vic to allow single frame sources.

Here are some key features of "VidSplit":
Output (new /dev/videox devices) can be RGB24 and some YUV formats.
Output can be resized.
Many IOCTLs from applications are sent through to real raw input device. Allows running an application on one output and running v4lctl on the other to change channels.

Limitations:
Limitations
Input should be RGB24.
Slow.
Missing many format conversions.
Goes into slow motion when 2 applications are running for a while. (BUG)

Requirements:
Vloopback

To Compile:

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

make

To run:

(example)
insmod //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 &

VidSplit 0.1 keywords