diff options
author | Akshen | 2019-05-14 18:34:12 +0530 |
---|---|---|
committer | GitHub | 2019-05-14 18:34:12 +0530 |
commit | 2d76231e9d5a400edfdfabba5b0307ec764f65f8 (patch) | |
tree | 60615ecd96cc91a291e4e2807bfed8e65024231f | |
parent | e55e61a84c7ed536fd65dbcc9658434562488ac6 (diff) | |
parent | 044c0578a02cb625d4f77e183deba4b7ed0f0428 (diff) | |
download | FOSSEE_animations-2d76231e9d5a400edfdfabba5b0307ec764f65f8.tar.gz FOSSEE_animations-2d76231e9d5a400edfdfabba5b0307ec764f65f8.tar.bz2 FOSSEE_animations-2d76231e9d5a400edfdfabba5b0307ec764f65f8.zip |
Merge pull request #13 from Akshen/develop
thumbnail frame changed
-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') |