From 65fccf2c4f6a1f962c320ff8e6c9cb72bf99d159 Mon Sep 17 00:00:00 2001 From: jdn06 Date: Mon, 9 Feb 2015 12:47:45 +0100 Subject: [PATCH] Avoid black thumbnails with fade-in videos --- sigal/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigal/video.py b/sigal/video.py index 83f1014..e19f7ec 100644 --- a/sigal/video.py +++ b/sigal/video.py @@ -131,7 +131,7 @@ def generate_thumbnail(source, outname, box, fit=True, options=None): # dump an image of the video cmd = ['ffmpeg', '-i', source, '-an', '-r', '1', - '-vframes', '1', '-y', tmpfile] + '-ss', '2', '-vframes', '1', '-y', tmpfile] logger.debug('Create thumbnail for video: %s', ' '.join(cmd)) try: