ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

You can also look at rosbag. It allows you to record any topic in the bag format. If you are publishing the video on a specific topic you can record that using command line via rosbag record <video/topic>

Moreover, depending on the writing speed of the disk, rosbag may discard the data it needs to write. In such cases, it is suggested to increase the buffer size using rosbag record -b <buffer number in MB> <video/topic>. You can check all the available command line arguments in rosbag command line.

Since it is a command line you always run this using a script and run in even in a remote system. Hope this helps!