Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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