diff options
Diffstat (limited to 'fossee_manim')
-rw-r--r-- | fossee_manim/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fossee_manim/models.py b/fossee_manim/models.py index dbd089b..7dbfe29 100644 --- a/fossee_manim/models.py +++ b/fossee_manim/models.py @@ -204,7 +204,7 @@ class AnimationStats(models.Model): tempfile.mkdtemp(), "{0}.jpg".format(self.animation.title) ) file_name = "{0}.jpg".format(self.animation.title) - subprocess.call(['ffmpeg', '-i', video_path, '-ss', '00:00:09.000', + subprocess.call(['ffmpeg', '-i', video_path, '-ss', '00:00:02.000', '-vframes', '1', img_output]) if path.exists(img_output): que_file = open(img_output, 'rb') |