VidSplit 0.1 reviewDownload
VidSplit is a Video Splitter for Video 4 Linux devices. Connect to a /dev/videoX device and split that into 2 channels using /dev/
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.
Input should be RGB24.
Missing many format conversions.
Goes into slow motion when 2 applications are running for a while. (BUG)
Set DEBUG level appropriately. Remove NEWVLOOP define if using older vloopback-0.83 version. Then:
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.
xawtv -c /dev/video2 -geometry 320x240 &
xawtv -c /dev/video4 -geometry 640x480
vic 18.104.22.168/3456 &
xawtv -c /dev/video4 &
VidSplit 0.1 keywords