linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Create a /dev/video0 file and write directly into it images
@ 2009-09-16 17:08 Paulo Freitas
  2009-09-16 19:05 ` David Ellingsworth
  2009-10-02 12:46 ` Bill Davidsen
  0 siblings, 2 replies; 3+ messages in thread
From: Paulo Freitas @ 2009-09-16 17:08 UTC (permalink / raw)
  To: video4linux-list

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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Create a /dev/video0 file and write directly into it images
  2009-09-16 17:08 Create a /dev/video0 file and write directly into it images Paulo Freitas
@ 2009-09-16 19:05 ` David Ellingsworth
  2009-10-02 12:46 ` Bill Davidsen
  1 sibling, 0 replies; 3+ messages in thread
From: David Ellingsworth @ 2009-09-16 19:05 UTC (permalink / raw)
  To: Paulo Freitas; +Cc: video4linux-list, Linux Media Mailing List

On Wed, Sep 16, 2009 at 1:08 PM, Paulo Freitas <paulojlfreitas@sapo.pt> 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.

Regards,

David Ellingsworth

P.S. In the future, please post questions to the new mailing list:
linux-media@vger.kernel.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Create a /dev/video0 file and write directly into it images
  2009-09-16 17:08 Create a /dev/video0 file and write directly into it images Paulo Freitas
  2009-09-16 19:05 ` David Ellingsworth
@ 2009-10-02 12:46 ` Bill Davidsen
  1 sibling, 0 replies; 3+ messages in thread
From: Bill Davidsen @ 2009-10-02 12:46 UTC (permalink / raw)
  To: video4linux-list

Paulo Freitas 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.
> 
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).

-- 
Bill Davidsen <davidsen@tmr.com>
   "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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-02 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-16 17:08 Create a /dev/video0 file and write directly into it images Paulo Freitas
2009-09-16 19:05 ` David Ellingsworth
2009-10-02 12:46 ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).