YaoFANGUK / video-subtitle-extractor

视频硬字幕提取,生成srt文件。无需申请第三方API,本地实现文本识别。基于深度学习的视频字幕提取框架,包含字幕区域检测、字幕内容提取。A GUI tool for extracting hard-coded subtitle (hardsub) from videos and generating srt files.
Apache License 2.0
6k stars 663 forks source link

CPU/GPU均无法提取字幕 #98

Open hcaihao opened 2 years ago

hcaihao commented 2 years ago

成功打开视频:D:/vse/xxx.mp4 字幕区域:(306,342,96,544) Running Verify Fluid Program ... Your Paddle Fluid works well on SINGLE GPU or CPU. Your Paddle Fluid works well on MUTIPLE GPU or CPU. Your Paddle Fluid is installed successfully! Let's start deep Learning with Paddle Fluid now 识别字幕语言:ch_tra 识别模式:fast 帧数:213672.0,帧率:29.969056295775626 【处理中】开启提取视频关键帧... 【结束】提取视频关键帧完毕... 【处理中】开始提取字幕信息,此步骤可能花费较长时间,请耐心等待... 【结束】完成字幕提取,生成原始字幕文件... 【处理中】开始生成字幕文件 字幕文件生成位置: D:/vse/xxx.srt 【结束】字幕文件生成成功

几秒钟就结束了,srt是空的。

YaoFANGUK commented 2 years ago

你都没选字幕区域

hcaihao commented 2 years ago

你都没选字幕区域

字幕区域:(306,342,96,544) 这个不是吗,默认的区域

YaoFANGUK commented 2 years ago

视频能发我吗 我排查下

hcaihao commented 2 years ago

视频能发我吗 我排查下

好的,来个邮箱~

YaoFANGUK commented 2 years ago

flavioy#live.com