Skip to main content

Convert Youtube Annotations to subtitles.

Project description

Annotations2Sub

Convert Youtube Annotations to subtitles.

License GPLv3 Test codecov Version Python version


Before you begin, please make sure you have Python, the YouTube annotations XML file, a video player, the corresponding video file, and any necessary background knowledge ready.

Installation:

pip install Annotations2Sub

Convert Annotations:

Annotations2Sub XXXXXXXXXXX.xml

Then use a video player to play the video with the output subtitle file.


YouTube Annotations was a feature launched by YouTube in 2008 that allowed video creators to add text, links, and interactive elements to their videos in order to enhance the viewing experience. YouTube removed this feature in 2019.

ASS (Advanced SubStation Alpha) is a common external subtitle format. Compared to other subtitle formats, it can set fonts, colors, positions, and even add images and effects to enhance your viewing experience.

This tool can help you convert YouTube annotations into ASS subtitle files, which you can then play or add to your videos. If you do not need this feature, it is recommended to use AnnotationsRestored.

Acknowledgments: omarroth, Nirbheek Chauhan, Zhenye Wei, Invidious, Isaac, Eva, Internet Archive, Gemini 1.5 Pro, Rain Shimotsuki, KeksusGSPB, XNX.ROmania.

Project details


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.24.0.tar.gz (81.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

annotations2sub-2.24.0-py3-none-any.whl (84.9 kB view details)

Uploaded Python 3

File details

Details for the file annotations2sub-2.24.0.tar.gz.

File metadata

  • Download URL: annotations2sub-2.24.0.tar.gz
  • Upload date:
  • Size: 81.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for annotations2sub-2.24.0.tar.gz
Algorithm Hash digest
SHA256 6f670cfe0cddc9c20324eba598955c311382ba8a28887ee0ca72bbb1cba36512
MD5 6e79aca541217c8fb0b8aae71cdd0177
BLAKE2b-256 48896511e6d3c89120aa71282e34789a40ce90af3d0d814513823bf405df2717

See more details on using hashes here.

Provenance

The following attestation bundles were made for annotations2sub-2.24.0.tar.gz:

Publisher: python-publish.yml on USED255/Annotations2Sub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file annotations2sub-2.24.0-py3-none-any.whl.

File metadata

File hashes

Hashes for annotations2sub-2.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e02951201d039b98d5fec5f30e877ad93392ad55a6e9dc9f8dd823521de4214f
MD5 a9ae98e3973fa084d3e16bdf4331d4ad
BLAKE2b-256 03604e10531b3e5b224b983e8310fdca95f554b84376958bed835ba29044c5bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for annotations2sub-2.24.0-py3-none-any.whl:

Publisher: python-publish.yml on USED255/Annotations2Sub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page