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.13.tar.gz
(25.1 kB
view hashes)
Built Distribution
Close
Hashes for Annotations2Sub-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56a6d39151c5ec5a6f9da9b0d42152a4bd7679131614641f5998aefd63cb4aee |
|
MD5 | 7f259906e957ce6412828333f8adeda9 |
|
BLAKE2b-256 | 12439b6343fb49045de2acfa8d3c7df891049cf9552e234d5abafe1f85f37fac |