An open API service indexing awesome lists of open source software.

https://github.com/kastorcode/editing-videos-nodejs-ffmpeg

Backend and frontend that edits and consumes video on demand using Node.js streams and the FFmpeg library.
https://github.com/kastorcode/editing-videos-nodejs-ffmpeg

backend child-process chunk consumes edits ffmpeg frontend kastorcode kastorcoder mp4 nodejs on-demand pipe pipeline read-stream script spawn stream streams video

Last synced: 7 months ago
JSON representation

Backend and frontend that edits and consumes video on demand using Node.js streams and the FFmpeg library.

Awesome Lists containing this project

README

          

## 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](https://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/>