summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshen2019-05-14 18:34:12 +0530
committerGitHub2019-05-14 18:34:12 +0530
commit2d76231e9d5a400edfdfabba5b0307ec764f65f8 (patch)
tree60615ecd96cc91a291e4e2807bfed8e65024231f
parente55e61a84c7ed536fd65dbcc9658434562488ac6 (diff)
parent044c0578a02cb625d4f77e183deba4b7ed0f0428 (diff)
downloadFOSSEE_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.py2
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')