{"id":21766434,"url":"https://github.com/kastorcode/editing-videos-nodejs-ffmpeg","last_synced_at":"2025-10-12T17:21:04.371Z","repository":{"id":230116482,"uuid":"778533204","full_name":"kastorcode/editing-videos-nodejs-ffmpeg","owner":"kastorcode","description":"Backend and frontend that edits and consumes video on demand using Node.js streams and the FFmpeg library.","archived":false,"fork":false,"pushed_at":"2024-03-27T22:39:44.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T05:27:31.679Z","etag":null,"topics":["backend","child-process","chunk","consumes","edits","ffmpeg","frontend","kastorcode","kastorcoder","mp4","nodejs","on-demand","pipe","pipeline","read-stream","script","spawn","stream","streams","video"],"latest_commit_sha":null,"homepage":"https://instagram.com/kastorcode","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kastorcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-27T22:34:01.000Z","updated_at":"2024-03-27T22:53:03.000Z","dependencies_parsed_at":"2024-03-27T23:45:01.235Z","dependency_job_id":null,"html_url":"https://github.com/kastorcode/editing-videos-nodejs-ffmpeg","commit_stats":null,"previous_names":["kastorcode/editing-videos-nodejs-ffmpeg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kastorcode/editing-videos-nodejs-ffmpeg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kastorcode%2Fediting-videos-nodejs-ffmpeg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kastorcode%2Fediting-videos-nodejs-ffmpeg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kastorcode%2Fediting-videos-nodejs-ffmpeg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kastorcode%2Fediting-videos-nodejs-ffmpeg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kastorcode","download_url":"https://codeload.github.com/kastorcode/editing-videos-nodejs-ffmpeg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kastorcode%2Fediting-videos-nodejs-ffmpeg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012186,"owners_count":26085079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","child-process","chunk","consumes","edits","ffmpeg","frontend","kastorcode","kastorcoder","mp4","nodejs","on-demand","pipe","pipeline","read-stream","script","spawn","stream","streams","video"],"created_at":"2024-11-26T13:17:28.547Z","updated_at":"2025-10-12T17:21:04.335Z","avatar_url":"https://github.com/kastorcode.png","language":"JavaScript","readme":"## Editing Videos with Node.js and FFmpeg\n\n\u003e 👷 Developed by Matheus Ramalho de Oliveira  \n🔨 Brazilian Software Engineer  \n🏡 Goiânia, Goiás, Brasil  \n✉️ kastorcode@gmail.com  \n👍 [instagram.com/kastorcode](https://instagram.com/kastorcode)\n\n---\n\n\u003cp align=\"center\"\u003e\n  This code edits and consumes video on demand using \u003ca href=\"https://nodejs.org\" target=\"_blank\"\u003eNode.js\u003c/a\u003e \u003ca href=\"https://nodejs.org/api/stream.html\" target=\"_blank\"\u003estreams\u003c/a\u003e and the \u003ca href=\"https://ffmpeg.org\" target=\"_blank\"\u003eFFmpeg\u003c/a\u003e library.\n\u003c/p\u003e\n\n---\n\n### Screenshot\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"screenshots/0.png\" width=\"540\" /\u003e\n\u003c/p\u003e\n\n---\n\n### Installation and execution\n\nBackend\n\n1. Make a clone of this repository;\n2. Open the backend folder in a terminal;\n3. Run `yarn start` to start the server at port `3000`.\n\nFrontend\n\n1. Open the frontend folder in a terminal;\n2. Run `yarn` to install dependencies;\n3. Run `yarn start` to start http server at `http://localhost:8080`.\n\nVideo\n\n1. Place a video in the `backend/videos` folder;\n2. Rename the video to `input.mp4`;\n3. Open the folder in a terminal;\n4. Run the `./prepare.sh` script to generate the `output.mp4` video.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cbig\u003e\u003cb\u003e\u0026lt;kastor.code/\u0026gt;\u003c/b\u003e\u003c/big\u003e\n\u003c/p\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkastorcode%2Fediting-videos-nodejs-ffmpeg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkastorcode%2Fediting-videos-nodejs-ffmpeg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkastorcode%2Fediting-videos-nodejs-ffmpeg/lists"}