This is a little python script which converts any file whose format is accepted by ffmpeg (also mp4, mov...) into a desired format, keeping metadatas, editing bitrate, audio channels, and you also can normalize files' volume.
Forgive me for any mistakes ( or just point me to the right way ) :>
This is a python script that allow you to:
- Convert any file whose format is allowed by ffmpeg into a desired one(must be supported by ffmpeg).
- Normalize your library's decibels (Customizable).
- A few more options c:
- Python 2.7 or higher (not tested with 3 or higher, it may need some edits).
- ffmpeg installed on your machine more here.
- mp3gain installed, only if you want to normalize your library, more here
- Brain.
- Clone this repository anywhere on your computer.
- Run 'python converter.py -h' to see all the available options.
- Example: 'python converter.py -i Music -o Converted Music -f mp3 This will convert every file into the folder 'Music' into mp3, keeping directory trees, images, metadatas etc...
- Found a file supported by ffmpeg but the converter ignores it? Open converter.py and look for the 'convertable' list (convertable = ['wma',....]) insert here you extension.
- Use threads to convert you files quicker.
- Use 2 channels(as default), to get stereo output and not mono.
- Don't use too high bitrates, i think 192 or 256 it's enough for a good compromise of quality and size.
You can find me on: