{"id":29022744,"url":"https://github.com/tiryoh/mcap-to-mp4","last_synced_at":"2025-06-26T03:03:36.516Z","repository":{"id":226579059,"uuid":"763145312","full_name":"Tiryoh/mcap-to-mp4","owner":"Tiryoh","description":"A tool to convert ROS topics recored with mcap to MP4 file","archived":false,"fork":false,"pushed_at":"2025-06-09T04:47:59.000Z","size":364,"stargazers_count":3,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-09T10:59:24.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/mcap-to-mp4/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tiryoh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-25T17:16:35.000Z","updated_at":"2025-04-08T02:30:05.000Z","dependencies_parsed_at":"2024-03-08T11:27:18.362Z","dependency_job_id":"7bfa9517-5835-4f26-afa7-3c0e1b9af781","html_url":"https://github.com/Tiryoh/mcap-to-mp4","commit_stats":null,"previous_names":["tiryoh/mcap-to-mp4"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Tiryoh/mcap-to-mp4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tiryoh%2Fmcap-to-mp4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tiryoh%2Fmcap-to-mp4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tiryoh%2Fmcap-to-mp4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tiryoh%2Fmcap-to-mp4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tiryoh","download_url":"https://codeload.github.com/Tiryoh/mcap-to-mp4/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tiryoh%2Fmcap-to-mp4/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261990285,"owners_count":23241186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-26T03:03:35.885Z","updated_at":"2025-06-26T03:03:36.508Z","avatar_url":"https://github.com/Tiryoh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mcap-to-mp4\r\n\r\nA tool to convert ROS topics recored with [mcap](https://mcap.dev/) to MP4 file\r\n\r\n## Requirements\r\n\r\n* Python3\r\n    * mcap\r\n    * mcap-ros2-support\r\n    * poetry\r\n    * pillow\r\n    * numpy\r\n    * imageio\r\n* ffmpeg\r\n\r\n## QuickStart\r\n\r\n### pip\r\n\r\n```sh\r\n# Install\r\npip install mcap-to-mp4\r\n# Run\r\nmcap-to-mp4 $path_to_the_mcap_file -t $topic_name -o $outputfilename\r\n```\r\n\r\n\r\n### Docker\r\n\r\n```sh\r\n# Build\r\ngit clone https://github.com/Tiryoh/mcap-to-mp4.git\r\ndocker build -t tiryoh/mcap-to-mp4 .\r\n# Run\r\ndocker run --rm -it -v \"${PWD}:/works\" tiryoh/mcap-to-mp4 $path_to_the_mcap_file -t $topic_name -o $outputfilename\r\n```\r\n## Usage\r\n\r\n### pip\r\n\r\nInstall the package from PyPI\r\n\r\n```sh\r\npip install mcap-to-mp4\r\n```\r\n\r\nInstall the pacakge from source (optional)\r\n\r\n```sh\r\n# optional\r\ngit clone https://github.com/Tiryoh/mcap-to-mp4.git\r\npip install -e .\r\n```\r\n\r\nDownload sample mcap rosbag2 file\r\n\r\n```sh\r\nwget \"https://drive.usercontent.google.com/download?id=1TxKxq-SN_9ryiFxH6kQG07Gy90_bpnWW\u0026confirm=xxx\" -O \"realsense_rosbag2.zip\"\r\nunzip realsense_rosbag2.zip\r\n```\r\n\r\nRun\r\n\r\n```sh\r\nmcap-to-mp4 ./rosbag2_2024_02_18-23_35_48/rosbag2_2024_02_18-23_35_48_0.mcap -t /camera/color/image_raw -o output.mp4\r\n```\r\n\r\n### Docker\r\n\r\nInstall the package\r\n\r\n```sh\r\ngit clone https://github.com/Tiryoh/mcap-to-mp4.git\r\ndocker build -t tiryoh/mcap-to-mp4 .\r\n```\r\n\r\nDownload sample mcap rosbag2 file\r\n\r\n```sh\r\nwget \"https://drive.usercontent.google.com/download?id=1TxKxq-SN_9ryiFxH6kQG07Gy90_bpnWW\u0026confirm=xxx\" -O \"realsense_rosbag2.zip\"\r\nunzip realsense_rosbag2.zip\r\n```\r\n\r\nRun\r\n\r\n```sh\r\ndocker run --rm -it -v \"${PWD}:/works\" tiryoh/mcap-to-mp4 ./rosbag2_2024_02_18-23_35_48/rosbag2_2024_02_18-23_35_48_0.mcap -t /camera/color/image_raw -o output.mp4\r\n```\r\n\r\n\r\n## License\r\n\r\nCopyright 2024 Daisuke Sato\r\n\r\nThis repository is licensed under the MIT license, see [LICENSE](./LICENSE).  \r\nUnless attributed otherwise, everything in this repository is under the MIT license.\r\n\r\n## Related Projects\r\n\r\n* https://github.com/roboto-ai/robologs-ros-actions\r\n* https://github.com/mlaiacker/rosbag2video\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiryoh%2Fmcap-to-mp4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiryoh%2Fmcap-to-mp4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiryoh%2Fmcap-to-mp4/lists"}