From c79474a57c25f858e334e5e95b955ab00e742ba6 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Mon, 28 Oct 2019 14:40:46 -0700 Subject: [PATCH] Small changes to the ffmpeg args when writing video files --- manimlib/scene/scene_file_writer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manimlib/scene/scene_file_writer.py b/manimlib/scene/scene_file_writer.py index 46875e83..6dd68ef5 100644 --- a/manimlib/scene/scene_file_writer.py +++ b/manimlib/scene/scene_file_writer.py @@ -230,16 +230,16 @@ class SceneFileWriter(object): '-pix_fmt', 'rgba', '-r', str(fps), # frames per second '-i', '-', # The imput comes from a pipe - '-c:v', 'h264_nvenc', '-an', # Tells FFMPEG not to expect any audio '-loglevel', 'error', ] + # TODO, the test for a transparent background should not be based on + # the file extension. if self.movie_file_extension == ".mov": - # This is if the background of the exported video - # should be transparent. + # This is if the background of the exported + # video should be transparent. command += [ '-vcodec', 'qtrle', - # '-vcodec', 'png', ] else: command += [