A simple tool to record ROS2 Depth topics to MP4.
Project description
rosdepth2mp4
A simple tool to record ROS2 Depth topics to MP4.
pip install rosdepth2mp4
usage: rosdepth2mp4 [-h]
[-i DEPTH_TOPIC_NAME]
[-o OUTPUT_MP4_FILE_NAME]
[-de {16UC1,32FC1}]
[-ct {COLORMAP_JET,COLORMAP_HSV,COLORMAP_HOT,RAW}]
[-fs FRAME_SIZE FRAME_SIZE]
[-vf VIDEO_WRITER_FPS]
options:
-h, --help
show this help message and exit
-i DEPTH_TOPIC_NAME, --depth_topic_name DEPTH_TOPIC_NAME
Depth topic name.
e.g.
Realsense D435i: /camera/aligned_depth_to_color/image_raw
ZED2i: /zed2i/zed_node/depth/depth_registered
-o OUTPUT_MP4_FILE_NAME, --output_mp4_file_name OUTPUT_MP4_FILE_NAME
Output MP4 file name.
e.g. output.mp4
-de {16UC1,32FC1}, --depth_encoding_type {16UC1,32FC1}
Depth encoding type.
e.g. Realsense D435i: 16UC1, ZED2i: 32FC1
-ct {COLORMAP_JET,COLORMAP_HSV,COLORMAP_HOT,RAW}, \
--mp4_colormap_type {COLORMAP_JET,COLORMAP_HSV,COLORMAP_HOT,RAW}
COLORMAP type.
-fs FRAME_SIZE FRAME_SIZE, --frame_size FRAME_SIZE FRAME_SIZE
Frame size.
e.g.
--frame-size {Width} {Height}
-vf VIDEO_WRITER_FPS, --video_writer_fps VIDEO_WRITER_FPS
Video writer FPS.
-
ZED2i - RAW mode
https://github.com/PINTO0309/rosdepth2mp4/assets/33194443/223291e2-2899-47fe-bd71-800cda8dd073
-
ZED2i - JET mode
https://github.com/PINTO0309/rosdepth2mp4/assets/33194443/82b235d3-b298-48d5-b30a-f2536fd2fcff
-
Realsense D435 - RAW mode
https://github.com/PINTO0309/rosdepth2mp4/assets/33194443/861576fd-aa63-4a16-afff-7a0473eff50d
-
Realsense D435 - JET mode
https://github.com/PINTO0309/rosdepth2mp4/assets/33194443/7bedd611-822c-4971-85c3-84fb9cdf33b5
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rosdepth2mp4-1.0.0.tar.gz
.
File metadata
- Download URL: rosdepth2mp4-1.0.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d32a5acdf49a4990ba5cb01adfbe25dba08c58e4502c46914c2bdd0f717a41d |
|
MD5 | 0d06d34f738e4187db02783969253cd8 |
|
BLAKE2b-256 | 1e6cea3d0429adb582f988ff90c933f1790a281e92ec2c6b228141fa327f37a8 |
File details
Details for the file rosdepth2mp4-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: rosdepth2mp4-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 198b947bb9604b2cd694fe6647f48fc584f903c6704b7e43ab61f07b0e869e4b |
|
MD5 | fd40f74b97d68dd42e622a1d5b03d174 |
|
BLAKE2b-256 | afcd7cfdc16404b08c3a01988252850f7eba2bdf644b8025c7c0a23769611d3f |