From 2073809dac0eef103db221b1314624d1eff33c17 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 13 Jun 2020 22:13:05 +0200 Subject: [PATCH] Remove vdpau if unusable --- custom/functions/ffmpeg-gif | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/functions/ffmpeg-gif b/custom/functions/ffmpeg-gif index 5f2bc5d..8a0f09b 100644 --- a/custom/functions/ffmpeg-gif +++ b/custom/functions/ffmpeg-gif @@ -1 +1 @@ -ffmpeg -hwaccel vdpau -ss $2 -to $3 -i $1 -r 60 -pix_fmt bgr8 -vf "mpdecimate,normalize,scale=480:-1:flags=spline,split[s0][s1];[s0]palettegen=stats_mode=diff[p];[s1][p]paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" -loop 0 $4 +ffmpeg -ss $2 -to $3 -i $1 -r 60 -pix_fmt bgr8 -vf "mpdecimate,normalize,scale=480:-1:flags=spline,split[s0][s1];[s0]palettegen=stats_mode=diff[p];[s1][p]paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" -loop 0 $4