A tool to convert ROS topics recored with mcap to MP4 file
- ffmpeg
docker build -t tiryoh/mcap-to-mp4 .
docker run --rm -it -v `pwd`:/works tiryoh/mcap-to-mp4 /bin/bash
To accommodate 4-channel images, channel order is added to the implementation in the citation repository.
usage: mcap-to-mp4
[-h]
[-t TOPIC]
[-o OUTPUT]
[-c {rgb,bgr,rgba,bgra}]
input
positional arguments:
input
input bag file path to read
options:
-h, --help
show this help message and exit
-t TOPIC, --topic TOPIC
topic name to convert. if not specified, the topic list will be shown
-o OUTPUT, --output OUTPUT
output file name
-c {rgb,bgr,rgba,bgra}, --channel_order {rgb,bgr,rgba,bgra}
channel order
MIT License
Copyright 2024 Daisuke Sato