Skip to content

andreasnaoum/rosbag_to_mp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ROS Bag to MP3 Converter

Converts audio data from ROS bag files to MP3 format.

Overview

This Python script extracts audio data from ROS bag files, specifically from messages of type audio_common_msgs/AudioData, and saves them into MP3 files. The script is designed to be a helpful tool for working with ROS bag files containing audio data.

Features

  • Extracts audio data from specified ROS bag file and topic.
  • Converts the audio data to a valid MP3 file.
  • Simple and easy to use.

Requirements

  • Python 3
  • ROS (Robot Operating System)
  • rosbag Python package

Usage

python rosbag_to_mp3.py -source <bag_file_path> -topic <audio_topic_name> -output <output_mp3_file_path>

Contributing

Feel free to contribute to the project by opening issues or submitting pull requests.

License

This project is licensed under the MIT License.

About

Converts audio data from ROS bag files to MP3 format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages