AnkiWeb
- Rating
- 19 (π 10 Β· π 9)
- Updated
- 2024-06-09
- Anki versions
- 2.1.66~
- Description language
- en
AnkiWeb addon 964531817
Generates Anki decks with audio and pictures from YouTube subtitles, supporting languages, subtitle optimization, card limits, and picture dimensions.
Open on AnkiWeb GitHub Ask about alternatives
abandoned
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.60 | 2.1.66+ | 2024-06-09 |
Loadingβ¦
Converts videos or audio with subtitles into Anki flashcards split by scenes or phrases, with mobile export, review hotkeys, and condensed audio.
Generates a full Anki deck with audio, screenshots, and subtitles from a YouTube link, with options for language, note fields, card limits, and image dimensions.
Supports a language-mining workflow by linking Anki cards into clusters, with tutorials for subtitles, audio synchronization, and card creation.
Offers tutorial videos for configuring an Anki mining system, covering addons, subtitles, audio synchronization, card creation, and grammar clusters.
Stores YouTube videos in a personal sentence database, adds matched audio, sentences, screenshots to Anki cards, and creates Subs2SRS decks from videos or playlists.
Provides silent video tutorials with text instructions as visual guides for setting up mining workflows involving Anki, browser add-ons, subtitles, audio, and cards.
An Anki addon that generates a full-fledged deck with audio and pictures from a YouTube link using subtitles with the click of a button. This eliminates the need for having to download a video, or the accompanying subtitles, re-timing them, and dealing with TSV files to import. For those of you familiar with Subs2SRS, consider this to be the YouTube version.
This addon offers several features:
Tools > Addons, click Get addon and use the code 964531817If you are a Linux or Mac user, make sure to install ffmpeg using your package manager.
TL;DR: In order to get the best learning experience, work with the YouTube's videos that have high-quality manually generated subtitles (e.g., TED talks). Enable option "Optimize subtitles" to get sentence-based Anki cards: one card per sentence.
The YouTube to Anki (Y2A) extension uses subtitle ranges to cut the corresponding audio fragments out of the downloaded video. If the subtitles are well-crafted by the creators of a YouTube video, the resulting Anki cards will 90%+ perfectly match the audio from the MP3 files generated by the extension.
YouTube's videos can have automatically and manually generated subtitles.
When a video has manually generated subtitles, it is likely to have:
For the manually generated subtitles, the Y2A extension provides an optimization which merges the subtitle texts so that the full sentences are formed, one sentence per one Anki card. The optimization relies on the punctuation found in the subtitles, e.g. ".", ",", "?" in order to decide when a sentence should end. The option is enabled with the "Optimize subtitles" flag.
Examples of good YouTube videos that can be used for testing this extension:
When a video has automatically generated subtitles, it is most often that the extension cannot produce good Anki cards: the subtitle text will have neither capitalized letters nor punctuation, and therefore the Anki cards will not be sentence-based.
Before moving on, be sure you have python and poetry setup.
git clone https://github.com/kamui-fin/yt-to-anki.git
cd yt-to-anki
poetry install
poetry run pre-commit install
ffmpeg with ffmpeg.exe insidepoetry run invoke package-dev
dist/ inside of your Anki data's addons21/ folderln -s ./dist ~/.local/share/Anki2/addons21/yt-to-anki
dev command for simultaneously running anki with the updated bundlepoetry run invoke dev
All contributions are gladly welcomed! Feel free to open an issue or create a pull request if you have any new changes/ideas in mind.