Exporting compressed video
I followed the linked image and video data export tutorial: http://www.ros.org/wiki/rosbag/Tutorials/Exporting%20image%20and%20video%20data
However, I only save the compressed video to the bag file. From the following warning and error, I can see that I set an incorrect topic /gscam/image_raw/compressed
, however, /gscam/image_raw
only obviously would not work because only the compressed topic is published.
[ WARN] [1314815531.598786851]: [image_transport] It looks like you are trying to subscribe directly to a transport-specific image topic '/gscam/image_raw/compressed', in which case you will likely get a connection error. Try subscribing to the base topic '/gscam/image_raw' instead with parameter ~image_transport set to 'compressed' (on the command line, _image_transport:=compressed). See http://ros.org/wiki/image_transport for details.
[ERROR] [1314815532.042773170]: Client [/extract] wants topic /gscam/image_raw/compressed to have datatype/md5sum [sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743], but our version has [sensor_msgs/CompressedImage/8f7a12909da2c9d3332d540a0977563f]. Dropping connection
My question is, how can I specify to export the compressed video stream?
Many Thanks!