new_audio_formats

This commit is contained in:
simono41 2020-05-12 08:09:45 +02:00
parent a1425059cf
commit ebc2601091

View file

@ -14,10 +14,13 @@ format="$2"
if [ "$format" == "opus" ] if [ "$format" == "opus" ]
then then
format="-f 251" format="-f 251 -x --audio-quality 0 --audio-format opus"
elif [ "$format" == "m4a" ] elif [ "$format" == "m4a" ]
then 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" ] elif [ "$format" == "video" ]
then then
format="-f 43" format="-f 43"