[Feature Request] Add an option to embed the user avatar as the cover art of the audio file
mikelei8291 opened this issue · 1 comments
mikelei8291 commented
Is your feature request related to a problem? Please describe.
I'd like to have an option to embed the user avatar as the cover art of the audio file.
The option can be -e
/--embed-cover
.
Describe the solution you'd like
Embedding the cover art to the m4a file can be done through the Python library mutagen, and can be implemented with just a few lines of code (example).
Describe alternatives you've considered
Embedding the cover art with ffmpeg is not possible, because this operation is not supported for the m4a container.
Source:
- tested myself
- https://stackoverflow.com/questions/17798709/ffmpeg-how-to-embed-cover-art-image-to-m4a#comment120448202_61015965
- https://trac.ffmpeg.org/ticket/2798#comment:11
Additional context
I'm planning to work on this feature and would open a PR if you would accept this feature request.
Ryu1845 commented
Sure, feel free to open a PR and I'll review it.