Web lists-archives.com

Re: Create a /dev/video0 file and write directly into it images

On Wed, Sep 16, 2009 at 1:08 PM, Paulo Freitas <paulojlfreitas@xxxxxxx> wrote:
> Hi everyone,
> I have an Ethernet Camera, from Prosilica, and I need to somehow emulate
> this camera in a /dev/video0 file. My idea is, mount a driver file using
> 'makedev', pick up images from the camera and write them into
> the /dev/video0 file. You know how V4L can be used to write images
> in /dev/video files? I don't know if it is needed to use makedev
> probably not. Any suggestion is welcome.
> Thank you for your help.
> Best regards, Paulo Freitas.

Sounds to me like you need a loop back video driver which is capable
of being fed data from a user space application. I don't know if this
patch was ever applied http://patchwork.kernel.org/patch/24370/ but it
seems like something you might be able to use to achieve what you want
to do.


David Ellingsworth

P.S. In the future, please post questions to the new mailing list:

video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe