Skip to content

Commit f563c8f

Browse files
authored
Disable STDIN interaction for ffmpeg concat. (#1010)
Prevent FFMPEG from interacting with STDIN (when running the concat command) and therefore prevent the command from freezing if `manim` is run from another python script.
1 parent 8f4506d commit f563c8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manim/scene/scene_file_writer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ def combine_movie_files(self):
445445
file_list,
446446
"-loglevel",
447447
config["ffmpeg_loglevel"].lower(),
448+
"-nostdin",
448449
]
449450

450451
if config["write_to_movie"] and not config["save_as_gif"]:

0 commit comments

Comments
 (0)