Download and convert Youtube Annotation
Project description
Annotations2Sub
下载和转换 Youtube 注释
Download and convert Youtube Annotation
因为字幕滤镜行为和怪癖的不断变动, 以及Web技术和字幕技术上的巨大差异, 本项目无法正确还原注释的行为
Because of the constant changes in subtitle filter behavior and quirks, as well as the huge differences in web technology and subtitle technology, this project was unable to correctly restore the behavior of annotations.
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 ...]
Download and convert Youtube Annotation
positional arguments:
File or videoId File path or video ID of multiple files to be convert
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 to download the Annotations file from Internet Archive
-D, --download-annotation-only
Download Annotation only
-p, --preview-video Preview video, requires mpv(https://mpv.io/)
-g, --generate-video Generate video, requires FFmpeg(https://ffmpeg.org/)
-i invidious-instances.domain, --invidious-instances invidious-instances.domain
Specify invidious instances (https://redirect.invidious.io/)
-n, --no-overwrite-files
Do not overwrite files
-N, --no-keep-intermediate-files
Do not keep intermediate files
-O directory, --output-directory directory
Specify the output directory for the converted file
-o File, --output File
Save to this file, if "-" then output to standard output
-v, --version Show version
-V, --verbose Show more messages
转换注释文件
Convert Annotation
Annotations2Sub 29-q7YnyUmY.xml
下载并转换注释文件
Download and convert Annotation
Annotations2Sub -d 29-q7YnyUmY
生成视频
Generate video
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.7.0.tar.gz
(40.6 kB
view hashes)
Built Distribution
Close
Hashes for Annotations2Sub-2.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cabf731b87202acae27389daa6f8b45af5b23d1dda0f77c297dbc1bd9e518b35 |
|
MD5 | b4e45ce54106fcf739d50ec4c11daec2 |
|
BLAKE2b-256 | 776242486b8c8b830b99b680286814f922e31f23d92b38b7cfd54b2579b73dd8 |