ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to stream video to multiple computers?

asked 2018-06-20 21:59:35 -0500

adhipatiunus gravatar image

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.

edit retag flag offensive close merge delete



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

gvdhoorn gravatar image gvdhoorn  ( 2018-06-21 01:33:24 -0500 )edit

ROS FAQ on Networking is the place where you can start

Mikhail K. gravatar image Mikhail K.  ( 2018-06-21 01:59:03 -0500 )edit

Try uvc_camera also .

chrissunny94 gravatar image chrissunny94  ( 2018-06-21 02:21:29 -0500 )edit

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

adhipatiunus gravatar image adhipatiunus  ( 2018-06-24 08:41:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-21 02:09:38 -0500

pavel92 gravatar image

updated 2018-06-21 03:17:18 -0500

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.

edit flag offensive delete link more


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.

Humpelstilzchen gravatar image Humpelstilzchen  ( 2018-06-21 02:41:58 -0500 )edit

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

pavel92 gravatar image pavel92  ( 2018-06-21 03:19:35 -0500 )edit

Question Tools

1 follower


Asked: 2018-06-20 21:59:35 -0500

Seen: 279 times

Last updated: Jun 21 '18