Any ideas on how to configure server to use an IP-based camera?

78 views
Skip to first unread message

Gilbert

unread,
Sep 19, 2015, 1:25:40 PM9/19/15
to XYZBots Support for GRBLWeb and RepRapWeb
I'm running the latest version (May 2015) of GRBLWeb and was wondering if anyone has any experience with the streaming options so that one is able to use and IP-camera instead of a webcam. Any thoughts or suggestions are welcome. Thanks.

Andrew Hodel

unread,
Sep 19, 2015, 3:07:15 PM9/19/15
to Gilbert, XYZBots Support for GRBLWeb and RepRapWeb
You can use VLC and do pretty much anything, the documentation is all over the place.

ffmpeg is good too, and if it's already MJPEG... the "protocol" is pretty simple with Wireshark and "Follow TCP Stream".  With a MJPEG stream you could directly embed it with the html <img> tag or use JS to cause a refresh and stop hangups, hell one can do anything.

You could also use v4l2loopback and write to a /dev/videoN device with any number of video transcoders (vlc, ffmpeg) to use the mjpg streamer that grblweb is using.

If that's all nonsense to you, you could just open another tab with the IP cam's stream.


Andrew

On Sat, Sep 19, 2015 at 12:25 PM, Gilbert <gilbert...@gmail.com> wrote:
I'm running the latest version (May 2015) of GRBLWeb and was wondering if anyone has any experience with the streaming options so that one is able to use and IP-camera instead of a webcam. Any thoughts or suggestions are welcome. Thanks.

--
You received this message because you are subscribed to the Google Groups "XYZBots Support for GRBLWeb and RepRapWeb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xyzbots-suppo...@googlegroups.com.
To post to this group, send email to xyzbots...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xyzbots-support/a8f6102f-7146-48a4-a06b-f5d1c0364b53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gilbert

unread,
Sep 29, 2015, 5:59:45 PM9/29/15
to XYZBots Support for GRBLWeb and RepRapWeb, gilbert...@gmail.com
Thanks Andrew, in the mean time I was able to get my hands on a webcam. I'll report back if I decide to try the webcam route. Thank you.

jpa...@xitit.com

unread,
Oct 27, 2016, 2:00:09 AM10/27/16
to XYZBots Support for GRBLWeb and RepRapWeb
I had the same question.
But was thinking of having the frame point to the webcam resource.  The work is done by the webcam's server, no need to reinvent the wheel...
Reply all
Reply to author
Forward
0 new messages