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.31.tar.gz
(23.2 kB
view hashes)
Built Distribution
Close
Hashes for Annotations2Sub-0.1.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d181b43ad1e47dd85d2753eff02fed9ae265ff134ec32415a8423361201b6609 |
|
MD5 | c535578f4e540ca04918f3d116ececfe |
|
BLAKE2b-256 | 3bc472ef7f53c38e5657f39c50a98e248c611f9f5eb121f915315c434dc6df51 |