Skip to content

Instantly share code, notes, and snippets.

@LeonardoCardoso
Last active October 30, 2018 09:56
Show Gist options
  • Save LeonardoCardoso/49cfb92576bbe18a859d9a18287aa9f4 to your computer and use it in GitHub Desktop.
Save LeonardoCardoso/49cfb92576bbe18a859d9a18287aa9f4 to your computer and use it in GitHub Desktop.
Increate bitrate by ffmpeg
for f in *; do
if [[ -d $f ]]; then
cd $f
for i in **/*.mp3; do ffmpeg -i "$i" -codec:a libmp3lame -b:a 192k "0-$i" ; done
cd ../
else
for i in **/*.mp3; do ffmpeg -i "$i" -codec:a libmp3lame -b:a 192k "0-$i" ; done
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment