{"id":28323484,"url":"https://github.com/tahaipek/nodcam","last_synced_at":"2025-06-24T00:31:04.607Z","repository":{"id":49064990,"uuid":"69589400","full_name":"tahaipek/Nodcam","owner":"tahaipek","description":"Access and stream web camera in nodejs using ffmpeg, websockets and HTML5.","archived":false,"fork":false,"pushed_at":"2019-03-08T20:17:36.000Z","size":138,"stargazers_count":76,"open_issues_count":2,"forks_count":27,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-09T12:07:42.129Z","etag":null,"topics":["ffmpeg","html5","nodejs","stream-web-camera","streaming","webcam","websockets"],"latest_commit_sha":null,"homepage":null,"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/tahaipek.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}},"created_at":"2016-09-29T17:08:20.000Z","updated_at":"2024-08-18T20:35:07.000Z","dependencies_parsed_at":"2022-09-10T18:13:02.402Z","dependency_job_id":null,"html_url":"https://github.com/tahaipek/Nodcam","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tahaipek/Nodcam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahaipek%2FNodcam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahaipek%2FNodcam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahaipek%2FNodcam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahaipek%2FNodcam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tahaipek","download_url":"https://codeload.github.com/tahaipek/Nodcam/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahaipek%2FNodcam/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261582543,"owners_count":23180609,"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","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":["ffmpeg","html5","nodejs","stream-web-camera","streaming","webcam","websockets"],"created_at":"2025-05-25T16:14:18.658Z","updated_at":"2025-06-24T00:31:04.601Z","avatar_url":"https://github.com/tahaipek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nodcam\nAccess and stream web camera in **nodejs** using **ffmpeg**, **websockets** and **HTML5**.\n\n### **Usage:**\n\n```npm\n$ git clone https://github.com/tahaipek/Nodcam.git\n\n$ cd Nodcam\n\n$ npm install\n\n$ npm run express-server\n(Web server - node index.js)\n\t\n$ npm run streaming-server\n(Web Sockets - node stream.js \u003csecretKey\u003e)\n\t\n$ npm run ffmpeg\n(Streaming camera ffmpeg command =\u003e \nffmpeg -f dshow -i video=\"\u003ccameraDeviceName\u003e\":audio=\"\u003caudioDeviceName\u003e\" \u003coutputName\u003e.mp4 -f mpeg1video http://localhost:\u003cwebSocketsStreamingPort\u003e/\u003csecretKey\u003e/\u003cwidth\u003e/height)\nif you don't want to record, remove 'output' keyword.\n```\n\n\n### **Third Party Libraries:**\n  * **ExpressJs** http://expressjs.com/\n  * **Ws** https://www.npmjs.com/package/ws\n  *  **JsMpg** *(MPEG1 Video Decoder in JavaScript)* https://libraries.io/bower/jsmpg \n\n### **Requirements**\n  * **NodeJs** https://nodejs.org/\n  * **ffmpeg** https://www.ffmpeg.org/\n\n\nThis application has been tested Windows 10. \n\n![preview.png](https://raw.githubusercontent.com/tahaipek/Nodcam/master/preview.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftahaipek%2Fnodcam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftahaipek%2Fnodcam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftahaipek%2Fnodcam/lists"}