defvol / Paparazzo.js

A high performance web proxy for serving MJPG streams to the masses.
197 stars 38 forks source link

paparazzo.js and /dev/video #27

Closed StarsoftAnalysis closed 10 years ago

StarsoftAnalysis commented 10 years ago

paparazzo.js seems to be just what I'm looking for, except that I haven't got an IP camera, just a simple webcam that shows up as /dev/video.

Is paparazzo.js inherently designed for IP-cameras, or could it be hacked to get the stream either directly from /dev/video or from, for example, a local mjpeg stream created by motion (http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome) ?

cheers

Chris

StarsoftAnalysis commented 10 years ago

Answering my own question (sorry), I eventually realised that 'motion' captures /dev/video and streams it via its own web server to localhost:8081 -- effectively turning it into an IP camera, with which paparazzo.js works perfectly.

defvol commented 10 years ago

good to see that it worked!

would you mind adding your use case in the wiki? https://github.com/rodowi/Paparazzo.js/wiki/List-of-tested-cameras

would be great to have a description of the manufacturer and a sample of the MJPG stream (for testing purposes)

StarsoftAnalysis commented 10 years ago

On 08/04/14 00:29, Rod Wilhelmy wrote:

good to see that it worked!

would you mind adding your use case in the wiki? https://github.com/rodowi/Paparazzo.js/wiki/List-of-tested-cameras

would be great to have a description of the manufacturer and a sample of the MJPG stream (for testing purposes)

Done.

I've also opened a new issue https://github.com/rodowi/Paparazzo.js/issues/33 about allowing Paparazzo to cope with a break in the stream from the server.

regards

Chris