mirror of
https://github.com/facefusion/facefusion.git
synced 2026-08-19 15:27:14 +02:00
Fix/extrating merging progress bar total (#868)
* Introduce predict_video_frame_total() to fix progress bar while extracting and merging * Introduce predict_video_frame_total() to fix progress bar while extracting and merging * Use floor over ceil
This commit is contained in:
+1
-1
@@ -451,7 +451,7 @@ def process_video(start_time : float) -> ErrorCode:
|
||||
return 1
|
||||
|
||||
logger.info(wording.get('merging_video').format(resolution = state_manager.get_item('output_video_resolution'), fps = state_manager.get_item('output_video_fps')), __name__)
|
||||
if merge_video(state_manager.get_item('target_path'), temp_video_fps, state_manager.get_item('output_video_resolution'), state_manager.get_item('output_video_fps')):
|
||||
if merge_video(state_manager.get_item('target_path'), temp_video_fps, state_manager.get_item('output_video_resolution'), state_manager.get_item('output_video_fps'), trim_frame_start, trim_frame_end):
|
||||
logger.debug(wording.get('merging_video_succeed'), __name__)
|
||||
else:
|
||||
if is_process_stopping():
|
||||
|
||||
Reference in New Issue
Block a user