Hello,
I am trying to directly record a video from an image topic using video_recorder from image_view. I am testing it with my laptop camera running
roslaunch usb_cam usb_cam-test.launch
When I launch the recording with
rosrun image_view video_recorder image:="/usb_cam/image_raw" _filename:="/home/user/video.avi"
I get the following error "Unable to convert rgb8 image to bgr8". I have also tryed using
rosrun image_view video_recorder image:="/usb_cam/image_raw" _filename:="/home/user/video.avi" _encoding:="rgb8"
but this produces "Unable to convert rgb8 image to rgb8".
The exact same happens for images published by the V-REP simulator (which is what I actually need to record in the end).
Any help would be very much appreciated. Thanks.
Riccardo
Originally posted by rick187 on ROS Answers with karma: 63 on 2016-03-03
Post score: 1
Original comments
Comment by ASeyfi on 2016-04-01:
I have the same problem. Did you find a solution?
Comment by rick187 on 2016-04-01:
No, I am afraid I didn't