mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Made .mov and .mp4 codec arguments analogous
This commit is contained in:
parent
f76a34c273
commit
47d1f8d446
1 changed files with 4 additions and 2 deletions
|
@ -580,10 +580,12 @@ class Scene(Container):
|
||||||
if self.movie_file_extension == ".mov":
|
if self.movie_file_extension == ".mov":
|
||||||
# This is if the background of the exported video
|
# This is if the background of the exported video
|
||||||
# should be transparent.
|
# should be transparent.
|
||||||
command += ['-vcodec', 'png']
|
command += [
|
||||||
|
'-vcodec', 'png',
|
||||||
|
]
|
||||||
else:
|
else:
|
||||||
command += [
|
command += [
|
||||||
'-c:v', 'libx264',
|
'-vcodec', 'libx264',
|
||||||
'-pix_fmt', 'yuv420p',
|
'-pix_fmt', 'yuv420p',
|
||||||
]
|
]
|
||||||
command += [temp_file_path]
|
command += [temp_file_path]
|
||||||
|
|
Loading…
Add table
Reference in a new issue