Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Made .mov and .mp4 codec arguments analogous

Grant Sanderson47d1f8d4464a
diff --git a/scene/scene.py b/scene/scene.py
index 09c6ffa1e..cc5c386a4 100644
--- a/scene/scene.py
+++ b/scene/scene.py
@@ -580,10 +580,12 @@ class Scene(Container):
if self.movie_file_extension == ".mov":
# This is if the background of the exported video
# should be transparent.
- command += ['-vcodec', 'png']
+ command += [
+ '-vcodec', 'png',
+ ]
else:
command += [
- '-c:v', 'libx264',
+ '-vcodec', 'libx264',
'-pix_fmt', 'yuv420p',
]
command += [temp_file_path]