Welcome to your Remotion project!
Install Dependencies
npm i
Start Preview
npm run dev
Render video
npx remotion render
Upgrade Remotion
npx remotion upgrade
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>
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
.
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.
Get started with Remotion by reading the fundamentals page.
We provide help on our Discord server.
Found an issue with Remotion? File an issue here.
Note that for some entities a company license is needed. Read the terms here.