bzr branch
http://gegoxaren.bato24.eu/bzr/useful/trunk-1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#!/usr/bin/env bash ##### # FILE NAME: mp32opus.sh # # Convert Audiobooks (mp3) to Opus with cover-art preserved. # # FIXME: # This probobly needs a bit of an overhaul... Now it is just a dumb script # without any commandline arguments. # ##### for i in *.mp3; do name=`echo "$i" | cut -d'.' -f1` echo "$name" ffmpeg -i "$i" -f flac - | opusenc - "${name}.opus" done |