Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.21 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.21 KB

Editing Videos with Node.js and FFmpeg

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


Screenshot


Installation and execution

Backend

  1. Make a clone of this repository;
  2. Open the backend folder in a terminal;
  3. Run yarn start to start the server at port 3000.

Frontend

  1. Open the frontend folder in a terminal;
  2. Run yarn to install dependencies;
  3. Run yarn start to start http server at http://localhost:8080.

Video

  1. Place a video in the backend/videos folder;
  2. Rename the video to input.mp4;
  3. Open the folder in a terminal;
  4. Run the ./prepare.sh script to generate the output.mp4 video.

<kastor.code/>