[olug] semi-OT: webcam for linux with local device
Will Langford
unfies at gmail.com
Tue Aug 19 19:18:29 UTC 2008
The webcam at the moment is kind of up in the air. The current target is
probably a V4L composite capture card. That might change to some kind of IP
camera system if needed, etc. Basically, I have a wireless camera that
talks to a receiver that spits out composite ntsc. At the moment, I'd be
fine with a logitech quickcam or some other cheap webcam to work for testing
the relay/server-stream abilities.
And the goal is to get this as close to 10fps as possible :).
-Will
On Tue, Aug 19, 2008 at 2:08 PM, John Hobbs <john at velvetcache.org> wrote:
> What kind of webcam? I have some base code for a gspca device I was
> playing with you might be able to use if it comes to that. Are these
> serving out to HTTP or something home-brew?
>
> If it's home brew I could see:
>
> HOME: Get frame
> HOME: Encode/Compress
> HOME: UDP to server
> SERV: Forward frame to clients
> CLIENT: Decompress
> CLIENT: Display frame
>
> You could go pull instead of push on the clients too I suppose, time
> stamp your frames so the client knows if anything fresh is there.
>
> - John Hobbs
>
> john at velvetcache.org
>
> On Tue, Aug 19, 2008 at 1:55 PM, Will Langford <unfies at gmail.com> wrote:
> > Yeah, I was gonna wait for a reply before posting discovered bits about
> > camserv :).
> >
> > I've also been looking at possibly ffserver.
> >
> > If the V4L api docs aren't too bad... i can see it being plausible to
> render
> > into a 5-10fps mpeg/xvid, then have something take that and create a
> virtual
> > V4L device that decodes that stream.... although, being webcam based,
> needs
> > to be highly fault tolerant... hmmm
> >
> > Playing with camserv is prolly first choice :)
> >
> > -Will
> >
> >
> > On Tue, Aug 19, 2008 at 1:40 PM, John Hobbs <john at velvetcache.org>
> wrote:
> >
> >> Camserv [1,2] has a relay tool that might be what you are looking for.
> >> Or you could grab your gcc and grow your own, the V4L api docs are
> >> pretty good ;-)
> >>
> >> - John Hobbs
> >>
> >> john at velvetcache.org
> >>
> >> [1] http://cserv.sourceforge.net/
> >> [2] http://svn.navi.cx/misc/trunk/camserv/README
> >>
> >> On Tue, Aug 19, 2008 at 1:18 PM, Will Langford <unfies at gmail.com>
> wrote:
> >> > I'm... looking to stream a webcam from home to a linux dedicated
> server
> >> in a
> >> > datacenter. And I'm not looking for a once-a-second-jpg-update kind
> of
> >> > thing, either. I want to stream from home (no particular OS in mind)
> to
> >> my
> >> > server and have it replicate the stream to any number of clients.
> >> >
> >> > I've had like, zero luck finding anything related. Am I going to have
> to
> >> do
> >> > some evil hackery with netcat / hose-faucet or something to stream
> from a
> >> > device here over the net to the input of some other daemon on the
> server
> >> for
> >> > it to serve live stuff ?
> >> >
> >> > To do this correctly am I going to have to get an IP based cam /
> device
> >> and
> >> > some how transfer it to the dedicated server and have it cache it for
> >> > streaming to clients ?
> >> >
> >> > -Will
> >> > _______________________________________________
> >> > OLUG mailing list
> >> > OLUG at olug.org
> >> > https://lists.olug.org/mailman/listinfo/olug
> >> >
> >> _______________________________________________
> >> OLUG mailing list
> >> OLUG at olug.org
> >> https://lists.olug.org/mailman/listinfo/olug
> >>
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > https://lists.olug.org/mailman/listinfo/olug
> >
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>
More information about the OLUG
mailing list