2014-04-26

http://www.lavrsen.dk/foswiki/bin/vi...LoopbackDevice
http://www.lavrsen.dk/foswiki/bin/vi...LoopbackDevice

Quote:

You can use this driver for looking at motion in realtime. The video4linux driver is written by the same author that first created Motion. You can find the source and a brief description at the video4linux loopback device web page.

The video4linux device is a Kernel module which installs itself as a video pipe. It has an input and an output. The module simply takes anything that comes on its input and send it out at the output. The purpose of this is to create a standard video4linux type video device that other programs can then use. You may now ask: "What do I need that for?".

Only one program can access a video device at a time. When motion is using a camera - no other program can access the same camera. But motion is made to be able to feed a video signal to the video loopback device. This way an additional program such as Camstream, Xawtv, a video stream server etc can watch the signal from a camera that motion uses already.

Would like to also watch in real time the same video camera, which is used by the motion program. That would be possible with V4L2 loopback device.

Is vloopback device supported in Fedora, or could it be easily added?

At least, didn't find anything with "yum search" or with "locate vloopback"

Edit:

Little off topic:

When trying to build vloopback, I get this:

Quote:

"projects/v4l2loopback/vloopback/vloopback.c:220:28: fatal error: linux/videodev.h: No such file or directory

#include <linux/videodev.h>

"

So I need obviously some devel-packages installed.

How to know what devel package has linux/videodev.h ? I would guess kernel-devel, but there is no such package. Also yum does not give hints what devel package would have linux/videodev.h:

# yum provides */linux/videodev.h

(Would tell only kradio4-debuginfo has that file.)

Show more