A script that can convert Youtube Annotation into ASS(Sub Station Alpha V4) subtitles files
Project description
Annotations2Sub
一个可以把 Youtube 注释转换成 ASS 字幕文件的脚本
A script that can convert Youtube Annotation into ASS(Sub Station Alpha V4) subtitles files
usage: Annotations2Sub.py [-h] [-l] [-x 1920] [-y 1080] [-d] [-i invidious.domain] [-p] [-g] File or ID [File or ID ...]
A script that converts Youtube Annotations into .ASS subtitles
positional arguments:
File or ID The file to be converted
optional arguments:
-h, --help show this help message and exit
-l, --use-libass Fixes for libass
-x 100, --reset-resolution-x 100
Reset resolution X
-y 100, --reset-resolution-y 100
Reset resolution Y
-f, --font Specify font
-d, --download-for-invidious
Try downloading the annotations file from invidious
-i invidious.domain, --invidious-domain invidious.domain
Specify invidious domain
-p, --preview-video Preview video(need mpv)
-g, --generate-video Generate video (need FFmpeg)
Example:
wget https://github.com/USED255/Annotations2Sub/raw/master/Annotations2Sub.py
python3 .\Annotations2Sub.py -g e8kKeUuytqA
TODO
-
g-0i6MOh7n0
-
29-q7YnyUmY
-
去除 invidious
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.6.tar.gz
(24.0 kB
view hashes)
Built Distribution
Close
Hashes for Annotations2Sub-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 224cc62245ef2fe09417b0d6f8419a78c72f71fae3d02b37362aefe6686127be |
|
MD5 | 6926e55c1c6562ac132c3c04becb144e |
|
BLAKE2b-256 | becf05e7b5e30cb2b3e08edb7da06026466b6a64307670d86ea6015561c815d4 |