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.
- Host: GitHub
- URL: https://github.com/kastorcode/editing-videos-nodejs-ffmpeg
- Owner: kastorcode
- Created: 2024-03-27T22:34:01.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-27T22:39:44.000Z (over 1 year ago)
- Last Synced: 2025-01-26T02:18:43.267Z (9 months ago)
- Topics: backend, child-process, chunk, consumes, edits, ffmpeg, frontend, kastorcode, kastorcoder, mp4, nodejs, on-demand, pipe, pipeline, read-stream, script, spawn, stream, streams, video
- Language: JavaScript
- Homepage: https://instagram.com/kastorcode
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/>