# How to convert .bag to video?

Hi to everyone,

I have a .bag file and I am trying to convert it into a video. I tried to follow this tutorial http://wiki.ros.org/rosbag/Tutorials/... , but I did not understand very well.

Could someone help me?

I precise that I am a very newbie in using ROS and I am working with ROS kinetic.

edit retag close merge delete

Thanks for the answer. Let's start from the beginning; from the launch file that I have created, how can I change the directory of the file? For example if I write $(find home)/test.bag it does not find the file. Next, it is possible to set the number of images to export? ( 2018-03-15 05:40:33 -0500 )edit In the example the$(find) command is being used to locate the image_view package folder. If you have the direct path to your file you don't need to use find, you can just write the direct path.