Metadata-Version: 2.1
Name: artefacts-utils-rosbag-gpl
Version: 0.1.6
Author-email: TN <tomo@artefacts.com>
Project-URL: Homepage, https://github.com/art-e-fact/artefacts_utils_rosbag_gpl
Project-URL: Bug Tracker, https://github.com/art-e-fact/artefacts_utils_rosbag_gpl/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: opencv-python
Requires-Dist: numpy<2,>=1.26.0
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: pyre-check; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: pytest-env; extra == "dev"
Requires-Dist: pytest-mock; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: setuptools-scm; extra == "dev"
Requires-Dist: twine; extra == "dev"

# Artefacts-Utils Rosbag GPL package

Designed to be used with `artefacts-utils` this package contains code available under the GPL license.

## Standalone Usage

```
from artefacts_utils_rosbag_gpl.ros2bag2video import rosbag_to_mp4

rosbag_to_mp4(rosbag_filepath, topic_name, output_filepath, fps=20)
```

Will create an mp4 video from the images in a given camera topic from a provided rosbag (mcap or db3). The `rosbag_file_path` can be the path to the rosbag file itself, or the parent folder (containing the rosbag, and `metadata.yaml`)


With special thanks to @mlaiacker 's [ros2bag2video](https://github.com/mlaiacker/rosbag2video) which has been adapted here for ros2 video recordings.
