How to extract video from bag file?
Hello
I followed the tutorial [http://www.ros.org/wiki/rosbag/Tutorials/Exporting%20image%20and%20video%20data] about extracting video from bag file. I create a launch file like this
<launch>
<node pkg="rosbag" type="rosbag" name="rosbag" args="play -d 2 $(find image_view)/Data/test1.bag"/>
<node name="extract" pkg="image_view" type="extract_images" respawn="false" output="screen" cwd="node">
<remap from="image" to="/camera/image_raw"/>
</node>
</launch>
But than got the following error
ERROR: cannot launch node of type [rosbag/rosbag]: can't locate node [rosbag] in package [rosbag
]
Im using ROS Fuerte and Ubuntu 10.4. Any help??
This is my bag file info
version: 2.0 duration: 1:32s (92s) start: Apr 01 2011 14:17:41.82 (1301627861.82) end: Apr 01 2011 14:19:14.15 (1301627954.15)
size: 260.5 MB
messages: 6530
compression: none [284/284 chunks]
types: sensor_msgs/Image [060021388200f6f0f447d0fcd9c64743]
sensor_msgs/Imu [6a62c6daae103f4ff57a132d6f95cec2]
sensor_msgs/LaserScan [90c7ef2dc6895d81024acba2ac42f369]
topics: /camera/image_raw 1135 msgs : sensor_msgs/Image
/imu/data 1802 msgs : sensor_msgs/Imu
/scan 3593 msgs : sensor_msgs/LaserScan
Thanks
How best to extract video depends on what you want to do with it. Please edit your question to provide that information. (Your time-stamp question was asked and answered separately).