summaryrefslogtreecommitdiff
path: root/fossee_manim
diff options
context:
space:
mode:
authorAkshen2019-05-14 18:31:56 +0530
committerAkshen2019-05-14 18:31:56 +0530
commit044c0578a02cb625d4f77e183deba4b7ed0f0428 (patch)
tree60615ecd96cc91a291e4e2807bfed8e65024231f /fossee_manim
parent56f6cd0ef216cdc47e9651398f6aac438d9e9054 (diff)
downloadFOSSEE_animations-044c0578a02cb625d4f77e183deba4b7ed0f0428.tar.gz
FOSSEE_animations-044c0578a02cb625d4f77e183deba4b7ed0f0428.tar.bz2
FOSSEE_animations-044c0578a02cb625d4f77e183deba4b7ed0f0428.zip
thumbnail frame changed
Diffstat (limited to 'fossee_manim')
-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')