Download and convert Youtube Annotations
Project description
Annotations2Sub
下载和转换 Youtube 注释
Download and convert Youtube Annotations
因为字幕滤镜的行为和怪癖不断变动, 以及 Web 技术和字幕技术上的巨大差异, 本项目无法正确还原注释的行为
Because of the ever-changing behavior and quirks of subtitle filters, and the vast differences between web and subtitle technologies, 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 Annotations
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
-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-annotations-only
Download Annotations 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 Annotations
Annotations2Sub 29-q7YnyUmY.xml
下载并转换注释文件
Download and convert Annotations
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.21.0.tar.gz
(79.6 kB
view details)
Built Distribution
File details
Details for the file annotations2sub-2.21.0.tar.gz
.
File metadata
- Download URL: annotations2sub-2.21.0.tar.gz
- Upload date:
- Size: 79.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb1e51b2ddcf69acb83da38d1ef73be54a5ff79d2ddaa7814595a07eb512a338 |
|
MD5 | 03b0323a82d5c30b8bc3e11e53582c2c |
|
BLAKE2b-256 | 42449e1948b83e0290fe733e7a6d15b55572f2191fed188691c0fe4ca1170b28 |
File details
Details for the file Annotations2Sub-2.21.0-py3-none-any.whl
.
File metadata
- Download URL: Annotations2Sub-2.21.0-py3-none-any.whl
- Upload date:
- Size: 81.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bbc263bc8da5c9b3e6cebd45673abf6aac84882383c90414b3649a274d49a6f |
|
MD5 | ddf2ed01b20c8891a84d7990efc290b3 |
|
BLAKE2b-256 | d6269c18e6fab911eef67e296abeffff362e482534a2744fbe8ba4351fe9fe1f |