{"id":18686054,"url":"https://github.com/mycrl/vcam","last_synced_at":"2025-10-06T09:18:54.008Z","repository":{"id":114087574,"uuid":"534142367","full_name":"mycrl/vcam","owner":"mycrl","description":"windows virtual camera.","archived":false,"fork":false,"pushed_at":"2022-09-08T10:05:41.000Z","size":98,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"release","last_synced_at":"2024-11-07T10:31:26.853Z","etag":null,"topics":["camera","virtual-camera","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mycrl.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}},"created_at":"2022-09-08T09:33:17.000Z","updated_at":"2024-06-18T23:04:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea349aaf-9a4c-4e36-aa2b-125f25dd17f6","html_url":"https://github.com/mycrl/vcam","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mycrl%2Fvcam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mycrl%2Fvcam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mycrl%2Fvcam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mycrl%2Fvcam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mycrl","download_url":"https://codeload.github.com/mycrl/vcam/tar.gz/refs/heads/release","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231573600,"owners_count":18394549,"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":["camera","virtual-camera","windows"],"created_at":"2024-11-07T10:25:43.953Z","updated_at":"2025-10-06T09:18:48.718Z","avatar_url":"https://github.com/mycrl.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windows virtual Camera\n\nVirtual camera plugin, divided into COM components and caller dll and provides Node.Js native modules.\n\n\n## Build\n\nfirst generate the visual studio project file through cmake:\n```bash\ncd virtual.camera\nmkdir build\ncd build\ncmake ..\n```\n\nopen the project file in the build directory to generate the dll.\n\n\n### Node.js Napi Module\n\nprerequisites, Node.Js 16.x version and Pyhton environment are required.  \n\n```bash\nnpm install\nnpm install -g node-gyp\nnode-gyp configure build\n```\n\n\n## Usage\n\nregister com component:\n\n```bash\ncd virtual.camera\n./install.bat\n```\n\noutput empty frame:\n\n```c\n#include \"client.h\"\n#include \"windows.h\"\n\nint main() \n{\n    NV12Layout layout = get_nv12_layout(1920, 1080);\n    uint8_t* frame_buf = (uint8_t*)malloc(sizeof(uint8) * layout.size);\n    if (frame_buf == NULL)\n    {\n        return -1;\n    }\n    \n    VCam* vcam = vcam_open();\n    if (vcam == NULL)\n    {\n        return -1;\n    }\n    \n    if (vcam_start(vcam, 1920, 1080) != 0)\n    {\n        return -1;\n    }\n    \n    for (;;)\n    {\n        Sleep(1000 / 30);\n        if (vcam_write_frame(vcam, frame_buf) != 0)\n        {\n            return -1;\n        }\n    }\n}\n```\n\n\n## License\n\n[GPL](./LICENSE)\nCopyright (c) 2020 Mr.Panda.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmycrl%2Fvcam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmycrl%2Fvcam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmycrl%2Fvcam/lists"}