Welcome to your Remotion project!
Install Dependencies
npm iStart Preview
npm run devRender video
npx remotion renderUpgrade Remotion
npx remotion upgradeReplace the sample-video.mp4 with your video file.
Caption all the videos in you public by running the following command:
node sub.mjsOnly 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.