Issue extracting images from bagfile
I recorded a bagfile which contains rgb and depth images:
path: kinectrgbdepthnew.bag
version: 2.0
duration: 6.7s
start: Jun 23 2016 14:55:41.10 (1466686541.10)
end: Jun 23 2016 14:55:47.85 (1466686547.85)
size: 395.9 MB
messages: 386
compression: none [386/386 chunks]
types: sensor_msgs/Image [060021388200f6f0f447d0fcd9c64743]
topics: /camera/depth/image 193 msgs : sensor_msgs/Image
/camera/rgb/image_raw 193 msgs : sensor_msgs/Image
But when I try to extract the rgb images
<launch>
<node pkg="rosbag" type="play" name="rosbag" args="$(find imagesequencekinect)/kinectrgbnew.bag"/>
<node name="extract" pkg="image_view" type="extract_images" respawn="false" output="screen" cwd="ROS_HOME">
<remap from="image" to="/camera/rgb/image_raw"/>
</node>
</launch>
I don't get all the images, it stops for this example at frame0062.jpg and if I keep openni2 running it starts saving images in live from frame0063..
[ INFO] [1466686708.317537964]: Saved image frame0062.jpg
[rosbag-1] process has finished cleanly
log file: /home/jros/.ros/log/977b5f76-3941-11e6-8b71-5c260a35b6aa/rosbag-1*.log
[ INFO] [1466686708.452904753]: Saved image frame0063.jpg
I don't know why it doesn't save all the frames and why it starting color stream automatically