Skip to content

Instantly share code, notes, and snippets.

@Gkiokan
Last active October 4, 2023 15:33
Show Gist options
  • Save Gkiokan/aa17e69a4ede712a1afabb4373b98d70 to your computer and use it in GitHub Desktop.
Save Gkiokan/aa17e69a4ede712a1afabb4373b98d70 to your computer and use it in GitHub Desktop.
*.aac to *.mp3
# Transform all *.aac files to mp3 with ffmpeg
for file in *.aac; do ffmpeg -i "$file" -codec:v copy -codec:a libmp3lame -q:a 4 "${file%.aac}.mp3"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment