this post was submitted on 16 Dec 2025
39 points (93.3% liked)

Linux

10668 readers
346 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] data1701d@startrek.website 2 points 3 days ago

for file in *.WAV; do ffmpeg -i “$file” -i cover.png -disposition:v attached_art “$(basename “$file” .wav).flac”

(I’m doing this from memory, so I may have messed something up, but that’s the gist of it for taking a bunch of WAV files and turning them into FLACs with cover art. I also do a similar setup for combining the metadata of an MP3 and audio data of a WAV, since They Might Be Giants seems to have forgotten FLAC was invented.)