I want to extract album art from a song and embed it back to the song after conversion, using Pydub. Is it possible can somebody help me with this?
Asked
Active
Viewed 757 times
1 Answers
1
At it's core, Pydub operates on raw audio data (samples). It provides constructors that decode non-raw audio files (via ffmpeg) for convenience, but unless you can do it using ffmpeg flags, I don't think so. (I wrote the vast majority of pydub, and I've never done it =P )
There is good news though! I think mutagen can help you :)
Take a look at this question
And if you wanted to do audio processing with pydub, just use audio_segment.export()
, and then use mutagen to set the album artwork :)