Skip to content

Software

rosbag2_to_video

By Fictionlab, from github.com/fictionlab/rosbag2_to_video (opens in a new tab)

  • Middleware
  • Tool
  • Apache-2.0

A ROS 2 command line tool that converts image topics recorded in rosbag2 bags into video files. It can be installed from apt or built from source in a colcon workspace.

Facts

GitHub stars
2read on 29 Nov 2026
Last update
5 May 2026Newest commit on ros2
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Beginner

Checked on GitHub on 29 Nov 2026.

Licenses

Code
Apache-2.0 (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 8ea82de (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Converts recorded image topics from a rosbag2 bag into video files.
  • Available as a ros2 bag subcommand (ros2 bag to_video) or as a standalone ros2 run executable.
  • Installable as a binary package for ROS 2 via apt, or built from source with colcon.
  • Lists its options through the --help flag.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
Apache-2.0. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Maintained, last commit on 5 May 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 8ea82de

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by Fictionlab, at commit 8ea82de, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

rosbag2_to_video command line tool

Installation
Binaries
sudo apt install ros-${ROS_DISTRO}-rosbag2-to-video
From source

It can be added to your colcon workspace and be installed as usual.

# create workspace
mkdir -p new_ws/src
cd new_ws/src
# clone repo
git clone https://github.com/fictionlab/rosbag2_to_video
cd ..
# install dependencies
rosdep update
rosdep install --from-paths src --ignore-src -y
# build workspace
colcon build
Usage

The tool has two entrypoints:

ros2 bag to_video

or

ros2 run rosbag2_to_video rosbag2_to_video

Use --help to see options.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.