]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
change: flactovorbis with long options
authorBastian Dehn <hhaalo@arcor.de>
Tue, 23 Jul 2019 09:37:53 +0000 (11:37 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 23 Jul 2019 09:37:53 +0000 (11:37 +0200)
flactovorbis

index 02d418c399cf0714c4d721e05ebf6f5675ed9174..ac6b374429f1dc3686ab27ef835d115a8f8b8694 100755 (executable)
@@ -6,7 +6,7 @@ ReadFlacToOggTags()
        local readonly OUTPUFILE="$2"
 
        metaflac --export-tags-to=- $INPUTFILE \
-               | vorbiscomment -c - -w $OUTPUTFILE
+               | vorbiscomment --commentfile - --write $OUTPUTFILE
 }
 
 EncodingFlacToOgg()
@@ -16,7 +16,8 @@ EncodingFlacToOgg()
 
        # stream flac into the ogg vorbis
        nice --adjustment=10 flac --silent --stdout --decode "$INPUTFILE" \
-               | nice --adjustment=15 oggenc -Q -q 6 -o "$OUTPUTFILE" -
+               | nice --adjustment=15 oggenc --quiet --quality 6 \
+               --output "$OUTPUTFILE" -
 }
 
 main()