Update gr2

change ecoder setting
This commit is contained in:
fenix-soft 2022-02-15 14:22:45 +01:00 committed by GitHub
parent 4ce91fd8c8
commit 28b743685a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

6
gr2
View File

@ -4,7 +4,7 @@
####################################################################################
# script che recupera l'ultimo podcast del gr2
#
#V:2.0 alpha_debug_mode 18 DICEMBRE 2021
#V:2.1 alpha_debug_mode 15 FEBBRAIO 2022
#
# dipendenze: curl,jq,cat,wget
#
@ -71,6 +71,6 @@ wget -d -c -U "$ag" "$Lpodcast" -O gr2_"$Data"_"$Ora".mp3
# encode audio data... small file
#ffmpeg -i gr2_"$Data"_"$Ora".mp3 -vn -acodec aac -ab 80k gr2_"$Data"_"$Ora".m4a
ffmpeg -i gr2_"$Data"_"$Ora".mp3 -acodec libopus -b:a 64k gr2_"$Data"_"$Ora".opus
#ffmpeg -i gr2_"$Data"_"$Ora".mp3 -vn -acodec aac -ab 70k -ac 1 gr2_"$Data"_"$Ora".m4a
ffmpeg -i gr2_"$Data"_"$Ora".mp3 -acodec libopus -b:a 48k -ac 1 gr2_"$Data"_"$Ora".opus
rm gr2_"$Data"_"$Ora".mp3