Last active
October 30, 2018 09:56
-
-
Save LeonardoCardoso/49cfb92576bbe18a859d9a18287aa9f4 to your computer and use it in GitHub Desktop.
Increate bitrate by ffmpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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