summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-02-09 16:58:39 +0100
committerJonas Smedegaard <dr@jones.dk>2021-02-09 16:58:39 +0100
commit0b77990c28752c959e6e9ef68887b516e923e932 (patch)
treee177ece201494a660842fda96bae06e63e816abe
parent18bbb8009da78f6a293e75a019a9cab51880eda3 (diff)
tidy: use new ffmpeg syntax -q:a (not deprecated -aq)
-rwxr-xr-xlocalvideowebencode2
1 files changed, 1 insertions, 1 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 6c5cf0c..d7ee157 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -691,7 +691,7 @@ _melt_avc="vcodec=$encoder_avc${preset_avc:+ vpreset=$preset_avc}${profile_avc:+
_ffmpeg_avc="-c:v $encoder_avc${preset_avc:+ -preset $preset_avc}${profile_avc:+ -profile:v $profile_avc}${x264tune:+ -tune $x264tune}$_ffmpeg_bitrate_avc${q_avc:+ -$qkey_avc $q_avc}$_ffmpeg_misc_avc"
_melt_pcm="$_melt_downmix acodec=pcm_s16le"
_melt_vorbis="$_melt_downmix acodec=libvorbis aq=$quality_vorbis"
-_ffmpeg_vorbis="$_ffmpeg_downmix -c:a libvorbis -aq $quality_vorbis"
+_ffmpeg_vorbis="$_ffmpeg_downmix -c:a libvorbis -q:a $quality_vorbis"
_oggenc_vorbis="$_oggenc_downmix -q $quality_vorbis"
_melt_opus="$_melt_downmix acodec=libopus ab=$((channels*bitrate_opus))k${opusapp:+ application=$opusapp}"
_ffmpeg_opus="$_ffmpeg_downmix -c:a libopus -b:a $((channels*bitrate_opus))k${opusapp:+ -application $opusapp}"