ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I have accepted the last answer because it is more complete, but the one from ASeyfi points in the right direction too. I don't know the rules in these cases.
Anyway I finally solved with this command:
rosrun image_view video_recorder image:="/usb_cam/image_raw" _filename:="/tmp/video.avi" _max_depth_range:="0" _fps:="30" _codec:="I420"
I can open the file in VLC and it works perfectly. The last option (the codec) can be removed and the video still plays fine (but it is compressed in this case).
Thank you all.
Riccardo