From 47d1f8d4464a2862c74eab4d3e579c15f6bd19e8 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Tue, 20 Feb 2018 16:45:19 -0800 Subject: [PATCH] Made .mov and .mp4 codec arguments analogous --- scene/scene.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scene/scene.py b/scene/scene.py index 09c6ffa1..cc5c386a 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]