[go: nahoru, domu]

Skip to content

GUI-based program for batch converting audio files from one format to another.

License

Notifications You must be signed in to change notification settings

ryanboyd/Presto-Change-O

Repository files navigation

Magic! Presto Change-O

Do you have a folder (or a ton of folders) containing a music collection that you want to convert from one format to another? This program is for you. Put simply, Presto Change-O will create a copy of your music collection (including all other files, such as cover art, etc.), but with all of the audio transcoded to your preferred format (e.g., FLAC, WAV, MP3, Ogg, ALAC, AAC, etc.).

About

Presto Change-O is a GUI program for batch converting audio files from one format to another. This software is primarily intended for people with little-to-no programming knowledge, are not particularly savvy with computers, or just generally don't want to spend their time/energy learning how to use complicated transcoding tools. Made primarily in Python.

Currently supported formats include FLAC, ALAC, AIFF, APE, AAC, MP3, Ogg, WAV, raw PCM... and probably more.

Software Status

This program should always be thought of as a work in progress. If there are formats/settings that you would like to see added or changed, please contact the software's author.

Requirements

Currently, this project is focused primarily on the Windows operating system. If you are using Windows, you should be able to simply download the latest release and follow the instructions below to run the program like you would any other program.

That said, it should be fairly trivial to run this application on Mac or Linux as well: the building blocks of this application (Python, ffmpeg, and Qt) are all multi-platform and, thus, it should be possible to run this software on other systems as well, albeit not as directly. To run this as a standard Python application, you will want to ensure that you have the Qt framework installed, and you will want to swap out the pack-in version of ffmpeg with one that is built for your platform (e.g., Linux or Mac).

If demand is high enough, I will work on making "native" Mac and Linux builds available on the releases page.

How to Run

To run this software, simply download a copy of the compiled application from the latest release and extract it to your preferred location on your hard drive. Once you have extracted the release contents, you just need to run the file Presto-Change-O.exe.

How to Use

The software itself is intended to be quite straight-forward and assumes that you have some audio files that you would like to convert from one format to another. As such, you need to tell the application at least 4 things:

  1. The location of the files that you would like to transcode into another format
  2. The location where you would like your converted files to be saved
  3. The file format of the input files that you are transcoding
  4. The format that you would like to transcode your files into

Depending on what type of file you would like to get as output, you may be asked to choose some basic parameters for the transcoding process. For example, if you are converting some FLAC files to MP3 files, you will be given a selection of transcoding options for the quality of the MP3 files (for example, Variable Bitrate versus Constant Bitrate). In most cases, the default selection provided by the software is likely ideal for most people.

Magic!

Once you have set the appropriate options above, simply click the Convert Files! button and the software should handle the rest.

Adding Additional Formats

If you would like to add new formats and have a decent grasp of how ffmpeg works, you can add new format files to the audio_format_configs application folder. The format of these files is fairly straight-forward and self-explanatory, and you should be able to simply copy an existing file and modify it to your liking. However, if there is a format that you would like to have added to Presto Change-O as a default pack-in, please just let me know.

Troubleshooting

While the software runs, it saves an output log generated during the conversion process to a file named log-conversions.txt. If you are encountering problems (for example, files not converting correctly, or files not converting at all), this log should be the first place that you look. If you need to request help or post an issue, it will be helpful if you share your log file so that I can see what is going wrong.

A Note about Lossy versus Lossless Formats

For the user who is very unfamiliar with audio file formats, it is important to understand the distinction between formats that are perfect, one-to-one copies of the source material (i.e., lossless, such as FLAC files) versus files that remove some of the original audio data to make the files smaller (i.e., lossy, such as MP3 files). A complete discussion on the technical aspects and implications of lossless vs. lossy file formats is beyond the scope of this README, however, it is important to note that it is generally poor form to convert from lossy formats to lossless formats. There are some exceptions to this (for example, if you are working with a program or hardware that reqires a WAV file specifically, you may need to convert your MP3 to a lossless WAV file. However, outside of these rare circumstances, it is advised that you only convert to lossless formats from other lossless formats.

For curious readers, a fairly gentle introduction to the topic can be found here: https://www.headphonesty.com/2020/04/best-audio-file-formats-explained/

Disclaimer

Use this software at your own risk. Ryan Boyd disclaims all warranties, expressed or implied, including, without limitation, the warranties of merchant ability and of fitness for any purpose. Neither Ryan Boyd nor anyone else who has been involved in the creation, production or delivery of this software assumes any liability for damages, direct or consequential, which may result from your use of the software.

Acknowledgements

  • The actual brains that drive this application is ffmpeg, a super powerful multimedia tool made by people far smarter than me. If this software is helpful and you would like to give back, please consider donating to ffmpeg.
  • Red Warlock artwork courtesy of Wikimedia Commons
  • The UI of this application is driven by the Qt framework.