ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Transmit a ROS Video topic via video stream

asked 2011-12-01 21:23:51 -0600

Poseidonius gravatar image

updated 2011-12-03 21:20:34 -0600

tfoote gravatar image

Hi everyone,

I receive a Video stream from my Android device using gcam, process the ros video stream with ar_toolkit and opencv amen want to stream it back.

How can I transfer a ros video topic to a Video stream? Gscam works in one direction only.

Thanks, enjoy the weekend


Ok, more detailed: I plan to do the following chain:

   1                      2           3            4         5                 6  
Android  -- video --> gstreamer ---> ROS   ---> ROS     ---> ? -- video ---> Android
device      stream     server        gscam      ar_pose           stream    

Steps 1 to 4 works fine. I integrate some texts and augmented stuff in the video, but I have no idea how to transfer a ROS video msg into a video stream.

Any suggestions? Best wishes


edit retag flag offensive close merge delete


Where are you attempting to publish this video stream back to?
DimitriProsser gravatar image DimitriProsser  ( 2011-12-02 02:55:47 -0600 )edit
How are you streaming from android? I assume its an ip cam app and if so could you post your GSCAM config line from your launch file so I could see how you got the image into gscam..
Atom gravatar image Atom  ( 2012-01-23 20:42:23 -0600 )edit

I wonder how difficult would it be to make gscam also work as a video sink.

Yogi gravatar image Yogi  ( 2012-02-13 09:40:45 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2011-12-04 00:20:14 -0600

Kevin gravatar image

Isn't Android Java only or can you use Python/C++ too? If so, try looking at the simple subscriber/publisher code (python/c++).

edit flag offensive delete link more

answered 2012-06-26 21:52:25 -0600

Johannes gravatar image

Hi, is there already a solution for this problem. I want to stream a video to vlc player (rtsp or rtp) but there seems no package that does the other direction of gscam.

Thx Johannes

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2011-12-01 21:23:51 -0600

Seen: 2,228 times

Last updated: Jun 26 '12