-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove ass effects end with '}' #2
Conversation
有些 ass 特效不能清除干净,他们都是以 ‘}’ 字符结尾。详见http://cl.ly/image/0t0C1y381r1f
这些特效都是以 |
确实欠考虑,不过很少正常字幕以 "}" 结尾。— On Sun, Jul 27, 2014 at 10:54 PM, Shell Chen notifications@github.com
|
我下载的人人影视 ass 字幕,它的某些特效是以 |
Google 到一个文档 http://moodub.free.fr/video/ass-specs.doc
写个正则把 |
以 |
最好是能按规范来处理吧,能够尽可能适应不同的字幕。 |
感谢! |
我自己后来把判断条件改成了 line.endswith('{/p0}'},这样错误率会少很多。其实要感谢开发者,帮我省了很多看视频使用字幕的麻烦(VLC 对 ass 字幕支持的很不好)。— On Tue, Jul 29, 2014 at 11:55 PM, Shell Chen notifications@github.com
|
有些 ass 特效不能清除干净,他们都是以 ‘}’ 字符结尾。详见http://cl.ly/image/0t0C1y381r1f