{"id":28707198,"url":"https://github.com/stathiw/bag2vid","last_synced_at":"2026-04-04T06:13:20.030Z","repository":{"id":247248666,"uuid":"805338930","full_name":"stathiw/bag2vid","owner":"stathiw","description":"A tool to extract videos from a rosbag","archived":false,"fork":false,"pushed_at":"2025-03-09T08:26:22.000Z","size":3098,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-05T10:49:24.506Z","etag":null,"topics":["gui","robotics","ros","ros-melodic","rosbag","tool","video","video-processing"],"latest_commit_sha":null,"homepage":"","language":"C++","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/stathiw.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-05-24T11:18:17.000Z","updated_at":"2025-03-09T08:26:25.000Z","dependencies_parsed_at":"2025-01-16T13:33:02.171Z","dependency_job_id":"b39dc4eb-b46b-43f5-849e-45937e749d5b","html_url":"https://github.com/stathiw/bag2vid","commit_stats":null,"previous_names":["stathiw/bag2vid"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stathiw/bag2vid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stathiw%2Fbag2vid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stathiw%2Fbag2vid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stathiw%2Fbag2vid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stathiw%2Fbag2vid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stathiw","download_url":"https://codeload.github.com/stathiw/bag2vid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stathiw%2Fbag2vid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29884773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gui","robotics","ros","ros-melodic","rosbag","tool","video","video-processing"],"created_at":"2025-06-14T16:10:37.886Z","updated_at":"2026-04-04T06:13:20.023Z","avatar_url":"https://github.com/stathiw.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bag2vid\nA GUI tool to extract videos from a rosbag. Supports ROS 2 Jazzy with MCAP bag formats.\n\n\u003e **Looking for the ROS 1 (Melodic) version?** See the [`ros/melodic`](https://github.com/stathiw/bag2vid/tree/ros1/melodic) branch.\n\n\n\n## Install\n1. Clone the repository\n```\ngit clone git@github.com:stathiw/bag2vid.git\n```\n2. Add bag2vid command to bashrc\n```\ncd bag2vid/scripts\n./install.sh\n```\n3. Modify the environment variables in the bashrc to correctly reference your rosbag source folder and bag2vid image tag.\n\n## Build\n\n### Docker\n\n1. Set rosbag src folder\n```\nexport BAG2VID_SRC=/path/to/rosbag_src\n```\n2. Build or pull the docker image\n```\ncd bag2vid\ndocker compose build\n```\nor\n```\ndocker pull stathiw/bag2vid:latest\n```\n## Run\nAfter completing the install and either building or pulling the docker image, the application can be run using either\n```\nbag2vid\n```\nor\n```\ncd bag2vid\ndocker compose up\n```\n\n#### How to use\nUse the **_Load Bag_** button to select a rosbag to extract videos from.\n\nSelect the camera topic to extract from the dropdown.  Upon loading a rosbag, all camera topics will be found.\n\nPress the **_Extract Video_** button and enter a file name and location to save the extracted video.\n\nDrag the start (green) and end (red) time selection markers to select the times between which to extract a video.\n\nPress the **_Capture Screenshot_** button to save the current frame as a png.\n\n![bag2vid](docs/images/bag2vid.png)\n\n## ⚖️ License \u0026 Terms of Use\n\nThis project is licensed under a **Copyleft + Non-Commercial Redistribution** model.\n\n### 🟢 You CAN:\n* **Use it for work:** Use this tool internally at your company for free.\n* **Modify it:** Change the code to fit your needs (as long as those changes stay open-source).\n* **Share it:** Give the code to others, provided you keep my name on it and use this same license.\n\n### 🔴 You CANNOT:\n* **Sell it:** You cannot charge people to download this software.\n* **SaaS it:** You cannot build a website that charges people to use this software's features.\n* **Close the Source:** You cannot take this code and put it into a \"closed\" proprietary product.\n\n### 💰 Want to sell this?\nIf you want to integrate this into a paid product or service, you need a **Commercial Waiver**. This will involve a royalty agreement or a licensing fee. \n\nReach out at: **stathi.weir@gmail.com**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstathiw%2Fbag2vid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstathiw%2Fbag2vid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstathiw%2Fbag2vid/lists"}