Jump to content

Command Crate ¿about?

Convert all FLAC files to CBR 320kbps MP3 with metadata (ffmpeg)

for f in *.flac; do ffmpeg -i "$f" -ab 320k -map_metadata 0 -id3v2_version 3 "${f%.flac}.mp3"; done

Iterates through all .flac files in the current directory, converts each to MP3 with a constant audio bitrate of 320kbps, preserves metadata, and sets the ID3v2 tag version to 3.

multimedia [kb:289]