👷 Developed by Matheus Ramalho de Oliveira
🔨 Brazilian Software Engineer
🏡 Goiânia, Goiás, Brasil
✉️ kastorcode@gmail.com
👍 instagram.com/kastorcode
This code edits and consumes video on demand using Node.js streams and the FFmpeg library.
Backend
- Make a clone of this repository;
- Open the backend folder in a terminal;
- Run
yarn start
to start the server at port3000
.
Frontend
- Open the frontend folder in a terminal;
- Run
yarn
to install dependencies; - Run
yarn start
to start http server athttp://localhost:8080
.
Video
- Place a video in the
backend/videos
folder; - Rename the video to
input.mp4
; - Open the folder in a terminal;
- Run the
./prepare.sh
script to generate theoutput.mp4
video.
<kastor.code/>