opus
This commit is contained in:
parent
78904bd59a
commit
65ad0accd7
1 changed files with 16 additions and 0 deletions
16
convert_to_opus.sh
Executable file
16
convert_to_opus.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
while (( "$#" ))
|
||||
do
|
||||
|
||||
cd "${1%/*}" # gehe ins Verzeichnis
|
||||
|
||||
FILENAME=${1##*/} # Dateiname ist alles ab dem letzten '/'
|
||||
echo "$FILENAME"
|
||||
# guck dir die Ausgabe erstmal an - wenn alles passt kannst Du das "echo" weglassen
|
||||
ffmpeg -i "$FILENAME" -vn -n -c:a libopus -b:a 160k "${FILENAME%.*}.opus"
|
||||
shift
|
||||
cd -
|
||||
done
|
||||
|
||||
#convert.sh <Ordner>/*.flac
|
Loading…
Reference in a new issue