Made .mov and .mp4 codec arguments analogous

This commit is contained in:
Grant Sanderson
2018-02-20 16:45:19 -08:00
parent f76a34c273
commit 47d1f8d446

View File

@ -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]