https://github.com/remotion-dev/template-tiktok
Generate TikTok-style captions with Whisper.cpp
https://github.com/remotion-dev/template-tiktok
captions remotion tiktok whisper
Last synced: 10 months ago
JSON representation
Generate TikTok-style captions with Whisper.cpp
- Host: GitHub
- URL: https://github.com/remotion-dev/template-tiktok
- Owner: remotion-dev
- Created: 2024-02-17T12:25:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-24T09:52:15.000Z (11 months ago)
- Last Synced: 2025-08-10T01:21:34.465Z (10 months ago)
- Topics: captions, remotion, tiktok, whisper
- Language: TypeScript
- Homepage: https://remotion.dev/templates/tiktok
- Size: 43.9 MB
- Stars: 171
- Watchers: 7
- Forks: 46
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Whisper-Apps - template-tiktok - dev/template-tiktok?style=flat-square) - TikTok-style captioning with Remotion (By Use Case / Subtitles & Captioning)
README
# Remotion video
Welcome to your Remotion project!
## Commands
**Install Dependencies**
```console
npm i
```
**Start Preview**
```console
npm run dev
```
**Render video**
```console
npx remotion render
```
**Upgrade Remotion**
```console
npx remotion 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).