{"id":25171326,"url":"https://github.com/basemax/javascriptwebcamdemo","last_synced_at":"2026-03-12T14:16:50.500Z","repository":{"id":151535413,"uuid":"313764894","full_name":"BaseMax/JavascriptWebcamDemo","owner":"BaseMax","description":"Get Webcam frames in javascript and Watch Webcam Stream in video tag.","archived":false,"fork":false,"pushed_at":"2021-05-16T21:37:01.000Z","size":43,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T11:57:29.635Z","etag":null,"topics":["javascript","js","webcam","webcam-capture","webcam-streaming","webcam-viewer","webcamjs"],"latest_commit_sha":null,"homepage":"https://basemax.github.io/JavascriptWebcamDemo/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-11-17T23:02:15.000Z","updated_at":"2024-02-17T00:11:23.000Z","dependencies_parsed_at":"2023-07-10T14:01:16.103Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/JavascriptWebcamDemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaseMax/JavascriptWebcamDemo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FJavascriptWebcamDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FJavascriptWebcamDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FJavascriptWebcamDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FJavascriptWebcamDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/JavascriptWebcamDemo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FJavascriptWebcamDemo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30428013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:00:25.264Z","status":"ssl_error","status_checked_at":"2026-03-12T13:59:52.690Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["javascript","js","webcam","webcam-capture","webcam-streaming","webcam-viewer","webcamjs"],"created_at":"2025-02-09T09:19:52.406Z","updated_at":"2026-03-12T14:16:50.492Z","avatar_url":"https://github.com/BaseMax.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Javascript Webcam Demo\n\nGet Webcam frames in **javascript** and Watch Webcam Stream in video tag.\n\n[Try it](https://basemax.github.io/JavascriptWebcamDemo/)\n\n[![Javascript Webcam Demo](demo.jpg)](https://basemax.github.io/JavascriptWebcamDemo/)\n\nSome of the code is taken from sources on the Internet. (stop function)\n\n### I not have a webcam, So how to test?\n\nUnfortunately, I do not have a webcam or microphone in my personal system.\nSo you might be wondering how I tested the script?\n\nGiven that my operating system is **Linux**. I activated the `v4l2loopback` module.\nAnd with the help of **ffmpeg** I simulated a virtual webcam.\n\n```\n$ sudo modprobe v4l2loopback\n$ ffmpeg -f x11grab -r 15 -s 512x512 -i :0.0+0,0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0\n$ v4l2-ctl --list-devices\n$ ffplay /dev/video0\n```\n\n---------\n\n# Max Base\n\nMy nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers.\n\n## Asrez Team\n\nA team includes some programmer, developer, designer, researcher(s) especially Max Base.\n\n[Asrez Team](https://www.asrez.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fjavascriptwebcamdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fjavascriptwebcamdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fjavascriptwebcamdemo/lists"}