diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-02-06 17:38:25 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-02-06 17:38:25 +0100 |
commit | 8aeeed62f5f1019dd0f1d6e63bfbdaefa8ea3fa7 (patch) | |
tree | e02a938688fbe719588eac4277f0e1bbb36dee09 /localvideowebencode | |
parent | 9f0c7e787c6954c2f9e7e2dc1ca9d3a45234c496 (diff) |
fix dual-pass vp/vp9 with vpxenc
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-x | localvideowebencode | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode index 669073b..f19b83e 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -570,9 +570,9 @@ for vformat in vp8 vp9 h264; do [ -z "$gpu" ] || eval "[ -n \"\$no_gpu_encoder_$vformat\" ] || encoder_$vformat=${vformat}_$gpu" # melt supports dual-pass only for h.264 - [ h264 = "$vformat" ] || [ -n "$vpxenc" ] || eval "[ -z \"$multipass\" ] || use_ffmpeg_$vformat=yes" + [ h264 = "$vformat" ] || [ -n "$use_vpxenc" ] || eval "[ -z \"$multipass\" ] || use_ffmpeg_$vformat=yes" # melt (before v6.26) does not support encode-only hardware acceleration - [ h264 = "$vformat" ] || [ -n "$vpxenc$gpu_vaapi" ] || eval "[ -z \"$multipass\" ] || use_ffmpeg_$vformat=yes" + [ h264 = "$vformat" ] || [ -n "$use_vpxenc$gpu_vaapi" ] || eval "[ -z \"$multipass\" ] || use_ffmpeg_$vformat=yes" done if [ -n "$use_ffmpeg_vp8$use_ffmpeg_vp9$use_vpxenc" ]; then [ -n "$use_oggenc" ] || use_ffmpeg_ogg=yes |