mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 02:35:22 +08:00
Made .mov and .mp4 codec arguments analogous
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user