This commit is contained in:
chuckkay 2024-09-07 08:08:12 -04:00 committed by GitHub
parent ea992e4f92
commit 8be770a4b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,6 @@ import os
import subprocess import subprocess
import tempfile import tempfile
from typing import List, Optional from typing import List, Optional
from tqdm import tqdm # Import tqdm for progress bar
import filetype import filetype
import re import re
from facefusion import logger, process_manager, state_manager from facefusion import logger, process_manager, state_manager
@ -10,6 +9,7 @@ from facefusion.filesystem import remove_file
from facefusion.temp_helper import get_temp_file_path, get_temp_frames_pattern from facefusion.temp_helper import get_temp_file_path, get_temp_frames_pattern
from facefusion.typing import AudioBuffer, Fps, OutputVideoPreset from facefusion.typing import AudioBuffer, Fps, OutputVideoPreset
from facefusion.vision import count_video_frame_total, restrict_video_fps from facefusion.vision import count_video_frame_total, restrict_video_fps
from tqdm import tqdm # Import tqdm for progress bar
def run_ffmpeg(args: List[str]) -> subprocess.Popen[bytes]: def run_ffmpeg(args: List[str]) -> subprocess.Popen[bytes]: