MJPEG Capture

edited January 2017 in Library Questions

Hi, I'm hoping to capture feeds from 4 usb webcams that output in MJPEG format. I haven't bought them yet hence I can't just try it out myself.

I saw this open issue on the processing video github https://github.com/processing/processing-video/issues/46 - The person says they can't access the MJPEG version of the stream even though it's listed in the available cameras. There's very little detail though, has anyone else managed to stream MJPEG at 30+fps from a webcam using capture()?

Alternatively, is anyone is using the capturemjpeg library with processing 3.x on mac https://bitbucket.org/nolith/capturemjpeg/wiki/Home - It doesn't seem to have been updated in a while but I saw it recommended on here in a post from 2015 - https://forum.processing.org/two/discussion/11247/apache-commons-io

If it's not possible to stream MJPEG easily in processing would I be better off trying to find webcams that output a h.264 stream? Or maybe use gstreamer to capture the video, re stream it via localhost and pick it up with IPCapture. Just looking for some input before I make a worthless purchase!!


Sign In or Register to comment.