Ask Your Question
4

Is there a conversion tool for video to rosbag file?

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

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
3

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

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

Comments

any news on this?

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

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: 2011-03-08 13:31:22 -0600

Seen: 1,904 times

Last updated: Mar 08 '11