From 02a8173ed1f5fc39904b957e2e7cf4e5a8923fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Fri, 19 Jan 2024 13:27:40 +0100 Subject: [PATCH] fix(lib): reversed video quality --- manim_slides/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manim_slides/utils.py b/manim_slides/utils.py index d53714a..acb6e50 100644 --- a/manim_slides/utils.py +++ b/manim_slides/utils.py @@ -88,7 +88,7 @@ def reverse_video_file(src: Path, dest: Path) -> None: for _ in range(frames_count): frame = graph.pull() - frame.pict_type = 1 # Otherwise we get a warning saying it is changed + frame.pict_type = 5 # Otherwise we get a warning saying it is changed output.mux(output_stream.encode(frame)) for packet in output_stream.encode():