From e8f04cc6394e6c5d977e314fcf5032d8815c90ca Mon Sep 17 00:00:00 2001 From: Kiran Sanjeevan Date: Thu, 19 Jul 2018 21:16:04 -0700 Subject: [PATCH] More gif --- net/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/utils.py b/net/utils.py index 3bfc296..1466bbb 100755 --- a/net/utils.py +++ b/net/utils.py @@ -234,7 +234,7 @@ def handle_empty_indexing(arr, idx): def generate_gif(filename): outname = filename.split('.')[-2] + '.gif' - VideoFileClip(filename).write_gif( + VideoFileClip(filename).speedx(2.5).resize(0.5).write_gif( outname,fps=20, program='ffmpeg', fuzz=3) print('\n')