Robotics StackExchange | Archived questions

How to stream video to multiple computers?

I'm working to create a package that allows multiple computers to stream their webcam to other computers while receiving others' stream as well.

Any idea how to implement this on ROS? Help is surely appreciated.

Asked by adhipatiunus on 2018-06-20 21:59:35 UTC

Comments

Use regular pub-sub? Distributing data across multiple hosts is what is was created for, I would think.

Asked by gvdhoorn on 2018-06-21 01:33:24 UTC

ROS FAQ on Networking is the place where you can start

Asked by Mikhail K. on 2018-06-21 01:59:03 UTC

Try uvc_camera also .

Asked by chrissunny94 on 2018-06-21 02:21:29 UTC

so rn i'm waiting for my second webcam to arrive and i'm planning to do the regular pub sub...

Asked by adhipatiunus on 2018-06-24 08:41:25 UTC

Answers

Look into gstreamer in combination with OpenCV. Gstreamer allows various encoding options too (H264 compression for example) . Here is an video example of someone doing this with ROS. I hope that this helps.

Asked by pavel92 on 2018-06-21 02:09:38 UTC

Comments

Is there supposed to be a link to a video in your answer? - I don't see one. There exists gscam as gstreamer-ros adapter btw.

Asked by Humpelstilzchen on 2018-06-21 02:41:58 UTC

Thanks for pointing that out. The link is there now.

Asked by pavel92 on 2018-06-21 03:19:35 UTC