Avoid black thumbnails with fade-in videos

This commit is contained in:
jdn06
2015-02-09 12:47:45 +01:00
parent d0f23ff634
commit 65fccf2c4f

View File

@@ -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: