Transcode all your music library from one format to another while keeping the same folder structure.
-
Have
ffmpeg
in your PATH.- On Linux: Install the
ffmpeg
package via your package manager. You may need to installqt6base
orqt5base
if not already installed. - On Windows: Download and install the essential build from FFmpeg's official site. To have it in your PATH, either set the env. variables or copy
ffmpeg.exe
toC:\Windows\System32
.
- On Linux: Install the
-
Install PyQt6 with
pip install pyqt6
.
NOTE: As ffmpeg doesn't support embedding images in opus songs from flac songs (at least), opusenc is used as a replacement to ffmpeg for opus transcoding, so make it sure it is in the PATH if you want to transcode to opus. (On Windows, like ffmpeg, place the exe in System32. On Arch, it's the opus-tools
package.
- AAC
- FLAC
- MP3
- VORBIS
- WAV
- Just launch the main file without any arguments and a Qt window will appear.
- Select all your settings in preferences and hit Start.
- Launch the program with arguments like this :
python main.py --source-codec flac --target-codec opus --source-folder "/path/to/source" --destination-folder "/path/to/destination" --copy-others
Cover not preserved when transcoding from flac to opussolved in commit 804c8afMetadata not preserved when transcoding from opus to mp3 (or more codecs)solved in commit 365afee- Cover resolution lowered when transcoding to Vorbis/.ogg
- No metadata preserved when transcoding to aac, not critical
- Delete unnecessary arguments in ffmpeg commands used
- ✅ Option to copy files that are not the main targets
- ❌ Option to set bitrate
- ❌ Handle if there are errors from ffmpeg
- Add more formats
- Fork this for videos also ?