diff options
-rwxr-xr-x | localvideowebencode | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/localvideowebencode b/localvideowebencode index 58a099a..4d24b89 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -279,7 +279,7 @@ q_avc=23 preset_avc=medium profile_vp8=0 profile_vp9=0 -profile_avc=baseline +profile_avc=main case "$compression" in normal) :;; dirty) @@ -324,12 +324,12 @@ if [ auto = "$gpu" ]; then case $(vainfo --display drm --device "$gpudevice" 2>/dev/null | grep -Po 'VAProfile\S+\s*:\s*VAEntrypointVLD') in *VAProfileVP8Version0_3*) no_gpu_decoder_vp8=;; *VAProfileVP9Profile0*) no_gpu_decoder_vp9=;; - *VAProfileH264ConstrainedBaseline*) no_gpu_decoder_avc=;; + *VAProfileH264Main*) no_gpu_decoder_avc=;; esac case $(vainfo --display drm --device "$gpudevice" 2>/dev/null | grep -Po 'VAProfile\S+\s*:\s*VAEntrypointEncSlice') in *VAProfileVP8Version0_3*) no_gpu_encoder_vp8=;; *VAProfileVP9Profile0*) no_gpu_encoder_vp9=;; - *VAProfileH264ConstrainedBaseline*) no_gpu_encoder_avc=;; + *VAProfileH264Main*) no_gpu_encoder_avc=;; esac if [ -n "$no_gpu_decoder_vp8$no_gpu_decoder_vp9$no_gpu_decoder_avc" ]; then case "$vainfo" in @@ -346,13 +346,11 @@ case "$gpu" in preset_vp8=medium preset_vp9=medium preset_avc= - profile_avc=578 qkey_avc=qp ;; vaapi) multipass= preset_avc= - profile_avc=578 qkey_avc=qp case "$compression" in dirty) |