mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 23:19:11 +00:00
added no progress bar warning for FFmpeg direct process scenarios
This commit is contained in:
parent
d66b7fa144
commit
e725712be9
@ -159,6 +159,7 @@ class Video2X:
|
|||||||
processing_settings[2]
|
processing_settings[2]
|
||||||
]
|
]
|
||||||
if getattr(standalone_processor, "process", None) is None:
|
if getattr(standalone_processor, "process", None) is None:
|
||||||
|
logger.warning("No progress bar available for this processor")
|
||||||
standalone_processor().process_video(
|
standalone_processor().process_video(
|
||||||
input_path,
|
input_path,
|
||||||
output_path,
|
output_path,
|
||||||
@ -174,6 +175,7 @@ class Video2X:
|
|||||||
processing_settings[1]
|
processing_settings[1]
|
||||||
]
|
]
|
||||||
if getattr(standalone_processor, "process", None) is None:
|
if getattr(standalone_processor, "process", None) is None:
|
||||||
|
logger.warning("No progress bar available for this processor")
|
||||||
standalone_processor().process_video(
|
standalone_processor().process_video(
|
||||||
input_path, output_path, frame_rate=frame_rate
|
input_path, output_path, frame_rate=frame_rate
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user