Create a /dev/video0 file and write directly into it images
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.
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 11 lines · Paulo Freitas
Hi everyone,
I have an Ethernet Camera, from Prosilica, and I need to somehow emulate this camera in a
/dev/video0file. My idea is, mount a driver file using 'makedev', pick up images from the camera and write them into the/dev/video0file. You know how V4L can be used to write images in/dev/videofiles? 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.
Regards,
David Ellingsworth
P.S. In the future, please post questions to the new mailing list:
[email protected]
Quoted 9 lines · Paulo Freitas
Hi everyone,
I have an Ethernet Camera, from Prosilica, and I need to somehow emulate this camera in a
/dev/video0file. My idea is, mount a driver file using 'makedev', pick up images from the camera and write them into the/dev/video0file. You know how V4L can be used to write images in/dev/videofiles? I don't know if it is needed to use makedev probably not. Any suggestion is welcome.
I'm not sure I see what the end use is here, watching or recording, but you might be able to use existing software which can generate streaming video and then use tools which can accept that over a network (could just be loopback if that fits your use).
Signature · 8 lines
Bill Davidsen <[email protected]> "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot -- video4linux-list mailing list Unsubscribe mailto:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list