Skip to content

Instantly share code, notes, and snippets.

@fiskhandlarn
Last active April 13, 2020 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fiskhandlarn/73aff2b544298de3c4791e5d53078d94 to your computer and use it in GitHub Desktop.
Save fiskhandlarn/73aff2b544298de3c4791e5d53078d94 to your computer and use it in GitHub Desktop.
#!/bin/bash
for f in "$@"
do
echo "Processing $f file..."
ffmpeg -i "$f" -codec:a libmp3lame -q:a 0 -map_metadata 0:s:0 -id3v2_version 3 -write_id3v1 1 "${f%.*}".mp3
#ffmpeg -i "$f" -codec:a libmp3lame -q:a 0 "${f%.*}".mp3
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment