In order to install project, please install Node current LTS version.
Remotion also maintain a great installation doc that could help you too.
Inside the repo
pnpm install
In windows create a props with local file json, it's much easier 😊
pnpm remotion render Devoxx2023 out/Devoxx2023.mp4 --props=filejson/test.json
This project can be run using Docker. 🐳 You can either reuse an image or build your own image:
To generate your video, please use this command:
docker run -v $(pwd)/out:/usr/src/app/out -it zenika/shortvid pnpm remotion render remotion/index.tsx TalkBranded out/TalkBranded.mp4 [YOUR PARAMETERS]
Tips: You can copy paste your parameters directly from (shortvid.io)[https://shortvid.io/]
To build a image, you need to build the image:
docker image build -t shortvid/run .
Then, you can run it and you will get your video in the out
folder:
docker container run -v $(pwd)/out:/usr/src/app/out -it shortvid/run
The command used to create the shortvid is declared in the Dockerfile at line #13.
Please change it in order to your template with shortvid.io and create your video:
CMD pnpm remotion render remotion/index.tsx [YOUR PARAMETERS]
pnpm dev
A Next App will start on port 3000
, showing our preview website.
pnpm start
Remotion will start on port 3000
pnpm serve
An ExpressJS server will start locally on port