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

Is there a conversion tool for video to rosbag file?

asked 2011-03-08 13:31:22 -0500

Angelica gravatar image

We have some data stored as video (RGB images and audio). Has anyone created a tool to convert this into a ROS bag file, as two synchronized streams of images and sound? The application here is audio-visual integration.

If not, any code/functions/packages that'd be helpful to create such a tool?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-03-08 17:21:43 -0500

KoenBuys gravatar image

I'm not aware of such functionality at the moment, although it should be fairly easy to write with the Rosbag Code API and the OpenCV read/write functionality from video in the high gui. This needs to be converted to a rosimage using the cv_bridge. I'm also interested in writing a package that does this for video in both directions, so if you need help. There is an option of doing this with rosbag play/record and a second image_saver node, but as far as I know there's no integrated solution. For audio you could have a look at Morgan's audio_capture stack.

edit flag offensive delete link more


any news on this?

RodBelaFarin gravatar image RodBelaFarin  ( 2016-12-07 10:49:31 -0500 )edit

Question Tools


Asked: 2011-03-08 13:31:22 -0500

Seen: 2,011 times

Last updated: Mar 08 '11