diff --git a/facefusion/ffmpeg.py b/facefusion/ffmpeg.py index cf2f782d..b2971d20 100644 --- a/facefusion/ffmpeg.py +++ b/facefusion/ffmpeg.py @@ -66,7 +66,7 @@ def run_ffmpeg(commands : List[Command]) -> subprocess.Popen[bytes]: def open_ffmpeg(commands : List[Command]) -> subprocess.Popen[bytes]: commands = ffmpeg_builder.run(commands) - return subprocess.Popen(commands, stdin = subprocess.PIPE, stdout = subprocess.PIPE) + return subprocess.Popen(commands, stdin = subprocess.PIPE, stderr = subprocess.DEVNULL, stdout = subprocess.PIPE) def create_video_reader(video_path : str, frame_number : int, video_metadata : VideoReaderMetadata) -> subprocess.Popen[bytes]: