diff --git a/packages/biliass/README.md b/packages/biliass/README.md index e0ba04b23..cce8d25da 100644 --- a/packages/biliass/README.md +++ b/packages/biliass/README.md @@ -10,11 +10,7 @@ CodSpeed Badge

-biliass,只是 Danmaku2ASS 的 bilili 与 yutto 适配版 - -原版: - -仅支持 bilibili 弹幕,支持 XML 弹幕和 Protobuf 弹幕 +biliass,高性能且易于使用的 bilibili 弹幕转换工具(XML/Protobuf 格式转 ASS),基于 [Danmaku2ASS](https://github.com/m13253/danmaku2ass),使用 rust 重写 ## Install @@ -37,32 +33,32 @@ from biliass import convert_to_ass # xml convert_to_ass( xml_text_or_bytes, - width, - height, + 1920, + 1080, input_format="xml", display_region_ratio=1.0, font_face="sans-serif", - font_size=width / 40, + font_size=25, text_opacity=0.8, duration_marquee=15.0, duration_still=10.0, - comment_filter=None, + block_options=None, reduce_comments=False, ) # protobuf convert_to_ass( protobuf_bytes, # only bytes - width, - height, + 1920, + 1080, input_format="protobuf", display_region_ratio=1.0, font_face="sans-serif", - font_size=width / 40, + font_size=25, text_opacity=0.8, duration_marquee=15.0, duration_still=10.0, - comment_filter=None, + block_options=None, reduce_comments=False, ) ``` diff --git a/packages/biliass/pyproject.toml b/packages/biliass/pyproject.toml index 679c8f9c2..a41459a74 100644 --- a/packages/biliass/pyproject.toml +++ b/packages/biliass/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "biliass" -description = "将 B 站弹幕转换为 ASS 弹幕" +description = "💬 将 B 站 XML/protobuf 弹幕转换为 ASS 弹幕" readme = "README.md" requires-python = ">=3.9" authors = [