YaoFANGUK / video-subtitle-remover

基于AI的图片/视频硬字幕去除、文本水印去除,无损分辨率生成去字幕、去水印后的图片/视频文件。无需申请第三方API,本地实现。AI-based tool for removing hard-coded subtitles and text-like watermarks from videos or Pictures.
Apache License 2.0
3.24k stars 430 forks source link

python ./backend/main.py 输入视频路径后一直卡着不动是怎么回事 #57

Open ganziqian opened 2 months ago

ganziqian commented 2 months ago

(.venv) PS D:\ganziqian\pythonwork\demo\ video-subtitle-removerdemo> python ./backend/main.py D:\ganziqian\pythonwork\demo\ video-subtitle-removerdemo.venv\lib\site-packages\setuptools\sandbox.py:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources D:\ganziqian\pythonwork\demo\ video-subtitle-removerdemo.venv\lib\site-packages\pkg_resources__init__.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('google'). Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) Please input video or image file path: te.mp4 E0417 14:36:28.895889 10276 analysis_config.cc:110] Please use PaddlePaddle with GPU version. Subtitle Removing: 0%| | 0/240 [00:00<?, ?frame/s]u se sttn mode with no detection [Processing] start removing subtitles... [Info] No subtitle area has been set. Video will be processed in full screen. As a result, the final outcome might be suboptimal. Processing: 1 - 50 / Total: 240 Subtitle Removing: 21%|███████████████████████████████████▋ | 50/240 [18:06<01:34, 2.02frame/s]P rocessing: 51 - 100 / Total: 240 Subtitle Removing: 21%|███████████████████████████████████▋