Skip to content

Instantly share code, notes, and snippets.

@trickart
Created November 7, 2016 07:54
Show Gist options
  • Save trickart/2ecd5d401acbd2ea05491b5a91ff5590 to your computer and use it in GitHub Desktop.
Save trickart/2ecd5d401acbd2ea05491b5a91ff5590 to your computer and use it in GitHub Desktop.
small script for convert music file to mp3 using ffmpeg
#!/bin/bash
echo $1
echo ${1%.*}
ffmpeg -i "$1" -map_metadata 0 -acodec libmp3lame -f mp3 "${1%.*}".mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment