弹幕文件偏移过大,不予压制
This commit is contained in:
parent
3914aac24b
commit
7ea66cbe8b
@ -16,6 +16,7 @@ def do_workflow(video_file, danmaku_base_file, *danmaku_files):
|
||||
bias = diff_danmaku_files(danmaku_base_file, danmaku_file)
|
||||
if bias < -600:
|
||||
print("弹幕文件", danmaku_file, "反向偏移超过10分钟")
|
||||
continue
|
||||
result.append(danmaku_to_subtitle(danmaku_file, bias))
|
||||
except DanmakuException:
|
||||
print("弹幕文件", danmaku_file, "异常")
|
||||
|
Loading…
x
Reference in New Issue
Block a user