{"id":30783290,"url":"https://github.com/defini7/wccapi","last_synced_at":"2026-04-17T05:02:31.883Z","repository":{"id":293095145,"uuid":"982932529","full_name":"defini7/wccapi","owner":"defini7","description":"WCCAPI - WebCam Capturing API","archived":false,"fork":false,"pushed_at":"2025-09-04T16:20:06.000Z","size":194,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-04T18:25:20.948Z","etag":null,"topics":["cpp","macos","macosx","mfapi","webcam","webcam-capture","webcam-viewer","winapi","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/defini7.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-13T16:07:21.000Z","updated_at":"2025-09-04T16:20:56.000Z","dependencies_parsed_at":"2025-05-13T17:26:32.255Z","dependency_job_id":"05ffcef5-3722-486a-82d4-4c6837e470e4","html_url":"https://github.com/defini7/wccapi","commit_stats":null,"previous_names":["defini7/wwccapi"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/defini7/wccapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defini7%2Fwccapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defini7%2Fwccapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defini7%2Fwccapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defini7%2Fwccapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defini7","download_url":"https://codeload.github.com/defini7/wccapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defini7%2Fwccapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["cpp","macos","macosx","mfapi","webcam","webcam-capture","webcam-viewer","winapi","windows"],"created_at":"2025-09-05T10:11:33.307Z","updated_at":"2026-04-17T05:02:31.875Z","avatar_url":"https://github.com/defini7.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WCCAPI - WebCam Capturing API\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/demo_win32.png\"\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/demo_macos.png\"\u003e\u003c/p\u003e\n\n# Why?\nThe idea was to bring a trivial API for capturing video from a webcam.\n\n# Features\n- Supports multiple video formats: RGB32, RGB24, YUY2 -\u003c/br\u003e\nthat's actually only useful on Windows because of the way how **mfapi** works,\n- Capturing video at all available FPSs on your webcam (up to 30),\n- Choosing a custom resolution for frames,\n- Enumerating all webcams connected to your device.\n\n# Limitations\n- On Windows capturing is performed in a sync mode,\n- Only one device is supported at once,\n- Works only on Windows and macOS.\n\n# Future\n- Add Linux support.\n\n# Usage\n\n## Windows\n\n- Create an instance of the **wwcc::Capturer**\n- Call **wwcc::Capturer::Init** providing *device id*, *capture width*, *capture height* and *fps*\n- Allocate memory for your buffer of **uint32_t** (must be at least `(capture width) * (capture height) * sizeof(uint32_t)`)\n- Call **wwcc::Capturer::SetBuffer** providing your buffer\n- Call **wwcc::Capturer::DoCapture** to capture one frame (it stops current thread until done)\n\n## macOS\n\n- Create an instance of the **mwcc::CaptureParams**\n- Call **mwcc::Init** providing *device id*, *capture width*, *capture height* and *fps*\n- Allocate memory for your buffer of **uint32_t** (must be at least `(capture width) * (capture height) * sizeof(uint32_t)`)\n- Call **mwcc::SetBuffer** providing your buffer\n- Call **mwcc::DoCapture()** to capture one frame (it runs asynchronously)\n\n### Notice\nCompile it as an Objective-C++ code\n\n## General\n- Each pixel is stored within a **uint32_t** value in the *RGBA* format","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefini7%2Fwccapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefini7%2Fwccapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefini7%2Fwccapi/lists"}