This project provides a simple command-line tool to convert MP3 files into OGG and FLAC formats. By default, the script expects to find MP3 files and will produce OGG and FLAC files as output.
Usage:
python3 converter.py -r /path/to/mp3/files
-i flac: Convert FLAC files to OGG and MP3.
-i ogg: Converts OGG files to FLAC and MP3.
Optional Output Flags:
-o flac: Out put files to be converted to FLAC.
-o ogg: Out put files to be converted to OGG.
Convert MP3 files to OGG and FLAC:
python3 converter.py -r /path/to/music/to/convert
Convert MP3 files to FLAC:
python3 converter.py -r /path/to/music/to/convert -o flac
Convert MP3 files to OGG:
python3 converter.py -r /path/to/music/to/convert -o ogg
Output: The converted files will be organized into directories based on their formats, such as MP3, OGG, and FLAC.
Example Output:
Music/ ├── MP3 │ ├── Clubland │ │ ├── 23 │ │ │ ├── CD 1 │ │ │ │ ├── flac │ │ │ │ │ ├── 1. Antenna - Fuse ODG.flac │ │ │ │ ├── mp3 │ │ │ │ │ ├── 1. Antenna - Fuse ODG.mp3 │ │ │ │ └── ogg │ │ │ │ ├── 1. Antenna - Fuse ODG.ogg
This tool was developed to facilitate the conversion of music files into multiple formats for compatibility with various devices. It offers flexibility in choosing the desired output formats for music collection backup.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
Copyright © 2024 Kai Windle