Template tiktok
Generate TikTok-style captions with Whisper.cpp
Replace the `sample-video.mp4` with your video file. Caption all the videos in you `public` by running the following command: The project is written primarily in TypeScript, first published in 2024. Key topics include: captions, remotion, tiktok, whisper.
Remotion video
<p align="center"> <a href="https://github.com/remotion-dev/logo"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/remotion-dev/logo/raw/main/animated-logo-banner-dark.apng"> <img alt="Animated Remotion Logo" src="https://github.com/remotion-dev/logo/raw/main/animated-logo-banner-light.gif"> </picture> </a> </p>Welcome to your Remotion project!
Commands
Install Dependencies
consolenpm i
Start Preview
consolenpm run dev
Render video
consolenpx remotion render
Upgrade Remotion
consolenpx remotion upgrade
Captioning
Replace the sample-video.mp4 with your video file.
Caption all the videos in you public by running the following command:
consolenode sub.mjs
Only caption a specific video:
consolenode sub.mjs <path-to-video-file>
Only caption a specific folder:
consolenode sub.mjs <path-to-folder>
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.
Help
We provide help on our Discord server.
Issues
Found an issue with Remotion? File an issue here.
License
Note that for some entities a company license is needed. Read the terms here.
Contributors
Showing top 3 contributors by commit count.
