0

Audio format converter

Hii . I want to make a python script that can convert an audio file .flac to .MP3. Which library I used to do it or any method ?

16th Oct 2024, 3:58 PM
Pankaj Sharma
Pankaj Sharma - avatar
2 odpowiedzi
+ 4
Most Python libraries that do these conversions require ffmpeg software to be installed on your computer. This application does the real work of converting files. The Python libraries are basically wrappers that let you pass filenames and arguments to ffmpeg. If you are looking for something where the actual file conversion is done purely in Python, I’m not familiar with any options. But if you are okay to use ffmpeg in your environment, here’s a site that goes over the process. https://yiling-huo.github.io/tutorials/2023/06/14/convert-audio.html
16th Oct 2024, 4:12 PM
Jerry Hobby
Jerry Hobby - avatar
+ 3
Have you tried to research this on your own yet?
16th Oct 2024, 4:12 PM
Lisa
Lisa - avatar