0

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?

Soundar Raj
  • 133
  • 1
  • 1
  • 6

1 Answers1

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 :)

Community
  • 1
  • 1
Jiaaro
  • 74,485
  • 42
  • 169
  • 190