Download and convert Youtube Annotation
Project description
Annotations2Sub
下载和转换 Youtube 注释
Download and convert Youtube Annotation
pip install Annotations2Sub
usage: Annotations2Sub.py [-h] [-l] [-x 100] [-y 100] [-f Arial ] [-o Folder] [-d]
[-i invidious.domain] [-p] [-g] [-s] [-n] [-k] [-u] [-v] [-V]
File or videoId [File or videoId ...]
A script that converts Youtube Annotations into ASS(Advanced SubStation Alpha) subtitles file
positional arguments:
File or videoId File path of multiple files to be converted, or multiple
Youtube videoId to be previewed, generated, Annotations file
downloaded from Internet Archive
optional arguments:
-h, --help Show this help message and exit
-l, --embrace-libass Embrace libass's quirks and features, and not specifying
This option will adapt to xy-vsfilter
-x 100, --transform-resolution-x 100
Transform resolution X
-y 100, --transform-resolution-y 100
Transform resolution Y
-f Arial, --font Arial
Specify font
-d, --download-for-archive
Try downloading the annotations file from Internet Archive
-p, --preview-video Preview video, need mpv(https://mpv.io/) and specify invidious instances
-g, --generate-video Generate video, need FFmpeg(https://ffmpeg.org/) and specify invidious instances
-i invidious-instances.domain, --invidious-instances invidious-instances.domain
Specify invidious instances (https://redirect.invidious.io/)
-s, --output-to-stdout
Output to stdout
-n, --no-overwrite-files
No file overwriting
-N, --no-keep-intermediate-files
No retention of intermediate files
-o Folder, --output-directory Folder
Specify the output path of the converted file,
not specifying this option will output the converted
file to the same directory as the converted file
-O File, --output File
Save to this file
-S, --skip-invalid-files
Skip invalid files
-u, --unstable Enabling Unstable function, can cause some problems
-v, --version Show version
-V, --verbose Show more messages
转换注释文件
Annotations2Sub 29-q7YnyUmY.xml
下载并转换注释文件
Annotations2Sub -d 29-q7YnyUmY
生成视频
Annotations2Sub -g 29-q7YnyUmY
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-2.0.0.tar.gz
(37.7 kB
view hashes)
Built Distribution
Close
Hashes for Annotations2Sub-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25c98880f338f7cdf3c5634d88221e821c00f9c3070a730f3e058f2c3459c9f5 |
|
MD5 | 04f3531fd38c951011acf32bc8b60ac7 |
|
BLAKE2b-256 | ea291baa77064672987faf50e4162c41395dcc021007004fbfa3b2cf12871904 |