diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-01-30 18:23:35 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-02-05 02:47:27 +0100 |
commit | 149436e810df9325809c77d9e16d860f7eb268f2 (patch) | |
tree | af7f4a090e65b3ebdaa5816fec2a6ce15653b55c /localvideowebencode | |
parent | fa9438abe3b5406bff8bfb06a09516345ef67c0d (diff) |
fix honor explicit quality factor (i.e. not from preset) for h264
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-x | localvideowebencode | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localvideowebencode b/localvideowebencode index f8024cb..450a3d5 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -529,7 +529,7 @@ _vpxenc_vp8="--codec=vp8${bitrate_vp8:+ $_vpxenc_bitrate_vp8} --end-usage=${no_q _melt_vp9="vcodec=$encoder_vp9${pre_vp9:+ vpreset=$pre_vp9}${preset_vp9:+ preset=$preset_vp9}${bitrate_vp9:+ $_melt_bitrate_vp9}${q_vp9:+ $qkey_vp9=$q_vp9}" _ffmpeg_vp9="-c:v $encoder_vp9${pre_vp9:+ -vpre $pre_vp9}${preset_vp9:+ -preset $preset_vp9}${bitrate_vp9:+ $_ffmpeg_bitrate_vp9}${q_vp9:+ ${no_bitrate_vp9:+-b:v 0 }-$qkey_vp9 $q_vp9}" _vpxenc_vp9="--codec=vp9${bitrate_vp9:+ $_vpxenc_bitrate_vp9} --end-usage=${no_q_vp9:+vbr}${q_vp9:+cq --cq-level=$q_vp9} $_vpxenc_misc_vp8" -_melt_h264="vcodec=$encoder_h264${preset_h264:+ vpreset=$preset_h264}${profile_h264:+ vprofile=$profile_h264}${x264tune:+ tune=$x264tune}${bitrate_h264:+ maxrate=${bitrate_h264} bufsize=$((bitrate_h264*2))} threads=0 movflags=+faststart $qkey_h264=$q_h264" +_melt_h264="vcodec=$encoder_h264${preset_h264:+ vpreset=$preset_h264}${profile_h264:+ vprofile=$profile_h264}${x264tune:+ tune=$x264tune}${bitrate_h264:+ maxrate=${bitrate_h264} bufsize=$((bitrate_h264*2))} threads=0 movflags=+faststart${q_h264:+ $qkey_h264=$q_h264}" _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" |