《重构 ASS to SRT 字幕转换工具》的评论 /p/asstosrt/ 已停止更新和维护。该页面为2018年3月创建的存档,其内容可能已过于陈旧、与现状不符,仅作为历史存档用作参考。 Wed, 17 Jan 2018 14:47:13 +0000 hourly 1 https://wordpress.org/?v=4.9.4 作者:机兽咆哮 /p/asstosrt/#comment-7991 Fri, 22 Dec 2017 15:19:28 +0000 https://sorz.org/?p=347827#comment-7991 为什么我pip install chardet会报错
Exception:
Traceback (most recent call last):
File “f:\python27\lib\site-packages\pip\basecommand.py”, line 215, in main
status = self.run(options, args)
File “f:\python27\lib\site-packages\pip\commands\install.py”, line 324, in ru

requirement_set.prepare_files(finder)
File “f:\python27\lib\site-packages\pip\req\req_set.py”, line 380, in prepare
files
ignore_dependencies=self.ignore_dependencies))
File “f:\python27\lib\site-packages\pip\req\req_set.py”, line 620, in _prepar
_file
session=self.session, hashes=hashes)
File “f:\python27\lib\site-packages\pip\download.py”, line 821, in unpack_url
hashes=hashes
File “f:\python27\lib\site-packages\pip\download.py”, line 659, in unpack_htt
_url
hashes)
File “f:\python27\lib\site-packages\pip\download.py”, line 880, in _download_
ttp_url
file_path = os.path.join(temp_dir, filename)
File “f:\python27\lib\ntpath.py”, line 85, in join
result_path = result_path + p_path
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xbb in position 7: ordinal
not in range(128)

]]>
作者:Null /p/asstosrt/#comment-820 Mon, 24 Mar 2014 10:46:31 +0000 https://sorz.org/?p=347827#comment-820 我最终编译出来了,但是转换的时候崩溃了.. orz
http://ge.tt/5aiZf2T1/v/0?c
http://code.google.com/p/opencc/downloads/detail?name=opencc-0.4.2-win32.zip

]]>
作者:mail /p/asstosrt/#comment-819 Mon, 24 Mar 2014 03:23:22 +0000 https://sorz.org/?p=347827#comment-819 win版本下的pyopencc无法编译,一大堆错误

]]>
作者:mail /p/asstosrt/#comment-818 Mon, 24 Mar 2014 02:02:13 +0000 https://sorz.org/?p=347827#comment-818 opencc只支持utf-8,如果要用opencc还得先转编码

]]>
作者:Null /p/asstosrt/#comment-810 Fri, 21 Mar 2014 12:27:33 +0000 https://sorz.org/?p=347827#comment-810 好了支持了,用的 pyopencc。
asstosrt -c zht2zhs.ini xx.ssa 这样。
呃.. 不过我不清楚在 Windows 下怎么编译它..

(直接用 OpenCC 转 SRT 文件应该也没有问题

]]>
作者:Null /p/asstosrt/#comment-807 Fri, 21 Mar 2014 07:34:42 +0000 https://sorz.org/?p=347827#comment-807 抱歉 langconv 的链接贴错了,已更正。
我去看一下 OpenCC

]]>
作者:mail /p/asstosrt/#comment-805 Fri, 21 Mar 2014 00:07:44 +0000 https://sorz.org/?p=347827#comment-805 开源简繁转换有opencc ,已经有python绑定,能否集成一下

]]>
作者:mail /p/asstosrt/#comment-804 Thu, 20 Mar 2014 23:46:45 +0000 https://sorz.org/?p=347827#comment-804 请问langconv如何使用,我放在C:\Python27\Lib\site-packages下,并建立了pth文件,却不能转换简繁
AC)>asstosrt -t “zh-hans” “Mrs.Junkie 1.ssa”
Found 1 file(s), converting…
(01/01) is converting… Traceback (most recent call last):
File “C:\Python27\Scripts\asstosrt-script.py”, line 9, in
load_entry_point(‘asstosrt==0.1.2’, ‘console_scripts’, ‘asstosrt’)()
File “build\bdist.win-amd64\egg\_shell_helper.py”, line 186, in main
File “build\bdist.win-amd64\egg\_shell_helper.py”, line 145, in _convert_files

File “build\bdist.win-amd64\egg\asstosrt.py”, line 115, in convert
AttributeError: ‘module’ object has no attribute ‘Converter’

]]>
作者:lux /p/asstosrt/#comment-769 Mon, 10 Mar 2014 03:19:48 +0000 https://sorz.org/?p=347827#comment-769 好方便,一堆字幕一条命令搞定。

]]>