From: Bastian Dehn Date: Sun, 30 Aug 2026 09:01:41 +0000 (+0200) Subject: add quality var vorbis X-Git-Tag: v1.0.0^2~20 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=08a3bdb6d848353d1119c75a3c6de4cf7d253b7f;p=albentohandy.git add quality var vorbis --- diff --git a/libs/vorbis.sh b/libs/vorbis.sh index b10cd8b..20b540c 100644 --- a/libs/vorbis.sh +++ b/libs/vorbis.sh @@ -38,9 +38,10 @@ encoding_flac_to_ogg() { local input="$1" local output="$2" + QUALITY=${QUALITY:="6"} nice --adjustment=10 flac --totally-silent --stdout --decode \ "$input" \ - | nice --adjustment=15 oggenc --quiet --quality 6 \ + | nice --adjustment=15 oggenc --quiet --quality "$QUALITY" \ --output "$output" - }