Anime OAV (Anime or any other video) is a Chrome extension that automatically translate, transcribes, and generates overlaying subtitles for videos.
- Audio transcribing
- Text translation
- Render subtitles onto videos
- Multiple text translation engines: Azure Cognitive Translator, Google Cloud Translation
Set Deepgram and translator engine credentials in src/config.ts
.
The translator engine can be changed in src/background.ts
like below:
const translator =
TranslatorFactory.createTranslator(Translators.AZURE);
...
const translator =
TranslatorFactory.createTranslator(Translators.GOOGLE);
Clone the repo:
https://github.com/gregorygaines/anime-aov-translator.git
Start extension dev server:
npm run start
Load extension into browser by
- Open the Extension Management page by navigating to chrome://extensions.
- Enable Developer Mode by clicking the toggle switch next to Developer mode.
- Click the LOAD UNPACKED button and select the extension directory
dist
.
The project is in early infancy and the features above may not work properly. For now, Crunchyroll is the only site that works properly.
Navigate to a Crunchyroll video, then click the extension and change the status to 'Enabled'. Subtitles should start appearing, if not, refresh the page and try the process again.
Closing the tab should or reloading the extension stop the transcribing.