remotion-dev / template-tiktok

Generate TikTok-style captions with Whisper.cpp
https://remotion.dev/templates/tiktok
92 stars 20 forks source link
captions remotion tiktok whisper

Remotion video

Animated Remotion Logo

Welcome to your Remotion project! ## Commands **Install Dependencies** ```console npm i ``` **Start Preview** ```console npm start ``` **Render video** ```console npm run build ``` **Upgrade Remotion** ```console npm run upgrade ``` ## Captioning Replace the `sample-video.mp4` with your video file. Caption all the videos in you `public` by running the following command: ```console node sub.mjs ``` Only caption a specific video: ```console node sub.mjs ``` Only caption a specific folder: ```console node sub.mjs ``` ## Configure Whisper.cpp Captioning will download Whisper.cpp and the 1.5GB big `medium.en` model. To configure which model is being used, you can configure the variables in `whisper-config.mjs`. ### Non-English languages To support non-English languages, you need to change the `WHISPER_MODEL` variable in `whisper-config.mjs` to a model that does not have a `.en` sufix. ## Docs Get started with Remotion by reading the [fundamentals page](https://www.remotion.dev/docs/the-fundamentals). ## Help We provide help on our [Discord server](https://remotion.dev/discord). ## Issues Found an issue with Remotion? [File an issue here](https://github.com/remotion-dev/remotion/issues/new). ## License Note that for some entities a company license is needed. [Read the terms here](https://github.com/remotion-dev/remotion/blob/main/LICENSE.md).