Skip to content

daniellopez-2/template-tiktok

 
 

Repository files navigation

Remotion video

Animated Remotion Logo

Welcome to your Remotion project!

Commands

Install Dependencies

npm i

Start Preview

npm run dev

Render video

npm run build

Upgrade Remotion

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:

node sub.mjs

Only caption a specific video:

node sub.mjs <path-to-video-file>

Only caption a specific folder:

node 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.

About

Generate TikTok-style captions with Whisper.cpp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 58.3%
  • JavaScript 32.6%
  • Rich Text Format 9.1%