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.8.tar.gz
(24.2 kB
view hashes)
Built Distribution
Close
Hashes for Annotations2Sub-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39d84fc707f05bf9530ee7f1a597c242d0fbee1fa643cd56f91ed2b5dc4defcf |
|
MD5 | 53ca89e02ba2674a6fede5aa4f6e8bcc |
|
BLAKE2b-256 | 4b7b19b735a1c150367f1a1f1a612eeb6825e9cce3f3635565e0e6fb45e1104a |