Ask Your Question
0

Streaming theora

asked 2012-05-27 23:16:50 -0500

doxsi gravatar image

updated 2012-05-28 00:48:59 -0500

Hi all, I am streaming video captured by web cam. I use the usb_cam node to capture and compress video using theora codec and the image_view node to play the stream. In order to transport data from a computer to another remote one via wireless, I use the ros_rt_wmp node (our node that implements a multihop protocol).

It works, but with some "strange aspects". Video data reaches the remote node, and with remap to the image_view node , but I am able to see the video ONLY if this image_view node is already opened in the receiver computer and on the SENDER computer. If not, data reaches destination computer but aren't played by the image_view.

Any idea about that?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-05-28 09:52:15 -0500

ahendrix gravatar image

updated 2012-06-01 00:09:54 -0500

Image transport uses a different topic for each image compression; are you sure you're forwarding the correct topics? You may also want to forward the camera_info topic.

Take a look at http://ros.org/wiki/image_transport for more information.

EDIT 1:

Does the remote(forwarded) image_view continue to work after you close the local image_view? If so, then the local image_view is doing some sort of setup that the remote image_view isn't able to do, probably because something isn't forwarded properly.

You may want to look at which services your camera node advertises, and try forwarding those.

edit flag offensive delete link more
0

answered 2012-05-29 23:50:05 -0500

doxsi gravatar image

updated 2012-05-29 23:51:06 -0500

The trasmision works. I am able to send and receive video compressed topic. The stranger aspect is that, although the topic is received (verified by echo). I can visualize it only if the image view is opened on the sender and receiver side and before the capture starting.

Any idea about that?

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

Stats

Asked: 2012-05-27 23:16:50 -0500

Seen: 490 times

Last updated: Jun 01 '12