A community-maintained Python framework for creating mathematical animations.
Pass verbose to ffmpeg
azarzadavila07512aae8f1b
diff --git a/manim/scene/scene_file_writer.py b/manim/scene/scene_file_writer.pyindex aaea1d2f1..54f4246f2 100644--- a/manim/scene/scene_file_writer.py+++ b/manim/scene/scene_file_writer.py@@ -391,7 +391,7 @@ class SceneFileWriter(object):'-r', str(fps), # frames per second'-i', '-', # The imput comes from a pipe'-an', # Tells FFMPEG not to expect any audio- '-loglevel', 'error',+ '-loglevel', str(file_writer_config["verbose"]),]# TODO, the test for a transparent background should not be based on# the file extension.diff --git a/manim/utils/config_utils.py b/manim/utils/config_utils.pyindex 1bfe7c2dc..d6bb86a80 100644--- a/manim/utils/config_utils.py+++ b/manim/utils/config_utils.py@@ -320,7 +320,7 @@ def _parse_cli(arg_list, input=True):parser.add_argument("-v", "--verbose",type=int,- help="Verbosity level",+ help="Verbosity level. Passed on to ffmpeg, the lower the value the quieter the output",metavar="loglevel",choices=[-8, 0, 8, 16, 24, 32, 40, 48, 56])