From ebc26010911f3dd0aa8a70289bff9adf8adf2d9e Mon Sep 17 00:00:00 2001 From: simono41 Date: Tue, 12 May 2020 08:09:45 +0200 Subject: [PATCH] new_audio_formats --- youtube-dl.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/youtube-dl.sh b/youtube-dl.sh index bfe4509..ea4b683 100755 --- a/youtube-dl.sh +++ b/youtube-dl.sh @@ -14,10 +14,13 @@ format="$2" if [ "$format" == "opus" ] then - format="-f 251" + format="-f 251 -x --audio-quality 0 --audio-format opus" elif [ "$format" == "m4a" ] then - format="-f 140" + format="-f 140 -x --audio-quality 0 --audio-format m4a" +elif [ "$format" == "mp4" ] +then + format="-f 140 -x --audio-quality 0 --audio-format mp4" elif [ "$format" == "video" ] then format="-f 43"