Skip to main content

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.

https://github.com/PINTO0309/rosdepth2mp4

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rosdepth2mp4-1.0.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

rosdepth2mp4-1.0.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page