From 83acd4a18ca5bef116678d15e2e752d420f53488 Mon Sep 17 00:00:00 2001 From: tienthanh1993 Date: Sun, 14 May 2023 02:35:44 +0700 Subject: [PATCH] Fix git processor --- lib/src/formats/motion.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/formats/motion.dart b/lib/src/formats/motion.dart index f54322d..02400de 100644 --- a/lib/src/formats/motion.dart +++ b/lib/src/formats/motion.dart @@ -96,6 +96,10 @@ class GifFormat extends MotionFormat { }) { return FFmpegRenderOperation([ "-y", + "-f", "rawvideo", // input format + "-pixel_format", "rgba", // input pixel format + "-s", "${width}x${height}", // input size + "-r", "$frameRate", // input frame rate "-i", inputPath, // retrieve captures transparency ? "-filter_complex??[0:v] setpts=N/($frameRate*TB),"