A script that can convert Youtube Annotation into ASS(Sub Station Alpha V4) subtitles files
Project description
Annotations2Sub
一个可以把 Youtube 注释转换成 ASS(Sub Station Alpha V4) 字幕文件的脚本
A script that can convert Youtube Annotation into ASS(Sub Station Alpha V4) subtitles files
pip install Annotations2Sub
usage: Annotations2Sub.py [-h] [-l] [-x 100] [-y 100] [-f Microsoft YaHei] [-d]
[-i invidious-instances.domain] [-p] [-g] [-u] [-v] [-V]
File or videoId [File or videoId ...]
A script that converts Youtube Annotations into ASS(Sub Station Alpha V4) subtitles file
positional arguments:
File or videoId Multiple files that need to be converted or
videoId's that need to be previewed or generated
for Youtube videos
optional arguments:
-h, --help show this help message and exit
-l, --use-libass fixes for libass
-x 100, --transform-resolution-x 100
transform resolution X
-y 100, --transform-resolution-y 100
transform resolution Y
-f Microsoft YaHei UI, --font Microsoft YaHei UI
specify font
-d, --download-for-archive
Try downloading the annotations file from Internet Archive
-i invidious-instances.domain, --invidious-domain invidious-instances.domain
Specify invidious instances
-p, --preview-video preview video, need mpv and specify invidious domain
-g, --generate-video generate video, need FFmpeg and specify invidious domain
-u, --unstable unstable function
-v, --version show version
-V, --verbose show a lot messages
Example:
Annotations2Sub.py -g HqSzHYxVKws
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Annotations2Sub-0.1.32.tar.gz
(23.2 kB
view hashes)
Built Distribution
Close
Hashes for Annotations2Sub-0.1.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc5cbffd21f253a60748a65d117e4c1c3dea3d2373d01959676c234ea247fdec |
|
MD5 | 62d55ce2433b2c8a0659445debfb9795 |
|
BLAKE2b-256 | 8f7cf447ff2ced2c2e886a57653cc7eea818f3324f2a9f283d7f668fc705786e |