I have a bunch of MP3 files that have their album art included within the file itself. I am now looking for a way to extract them to store them separably, at best from command line.
Is there a way to achieve this?
I have a bunch of MP3 files that have their album art included within the file itself. I am now looking for a way to extract them to store them separably, at best from command line.
Is there a way to achieve this?
I just found out that ffmpeg will do the trick!
ffmpeg -i file.mp3 -an -c:v copy file.jpg
You can use eyed3 which is a great utility for handling id3 tags. To extract all images from an mp3 file you can use:
eyeD3 --write-images=DIR mp3_file
This will write all embedded images from the mp3 file to the specified directory.
If you use the Windows version of VLC media player, you can find the album art for all files you played in
%appdata%\VLC\art\artistalbum
by default. One folder per artist, one subfolder for each album.
If you use Linux version of VLC media player, by default you can find the album art for all files you played in a directory similar to this one:
$HOME/.cache/vlc/art/artistalbum/Sergei Rachmaninoff/Paganini Rhapsody _ Piano Concerto no. 2
(one folder per artist, one subfolder for each album)
If you use Mac, it is in:
~/Library/Caches/org.videolan.vlc/art
With mp3tag you can do it perfectly. Extract the cover image from one mp3 and put it into another, so it will belong to the same album and that will reflect when you upload them go Google Music for example.