audible_ogg
This commit is contained in:
parent
abbea15e7a
commit
0be00ff7fa
1 changed files with 18 additions and 0 deletions
18
audible_convert_to_ogg.sh
Executable file
18
audible_convert_to_ogg.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
read -p "Wie heißen die activation_bytes? : " code
|
||||
|
||||
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 -activation_bytes $code -i "$FILENAME" -vn -n -c:a libvorbis -b:a 192k "${FILENAME%.*}.ogg"
|
||||
shift
|
||||
cd -
|
||||
done
|
||||
|
||||
#convert.sh <Ordner>/*.flv
|
Loading…
Reference in a new issue