{"id":45974133,"url":"https://github.com/priyanshuchawda/screen-recorder","last_synced_at":"2026-05-24T13:01:56.920Z","repository":{"id":341141279,"uuid":"1165503034","full_name":"priyanshuchawda/screen-recorder","owner":"priyanshuchawda","description":"Native Windows screen recorder in C++20 using Windows Graphics Capture, Media Foundation, and WASAPI with robust MP4 finalize/recovery handling.","archived":false,"fork":false,"pushed_at":"2026-03-17T15:42:57.000Z","size":859,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-18T05:32:36.615Z","etag":null,"topics":["audio-capture","cmake","cpp","cpp20","d3d11","desktop-application","directx","github-actions","h264","intel-quick-sync","media-foundation","mp4","native-windows","screen-capture","screen-recorder","video-recording","wasapi","win32","windows","windows-graphics-capture"],"latest_commit_sha":null,"homepage":"https://github.com/priyanshuchawda/screen-recorder","language":"C++","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/priyanshuchawda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2026-02-24T08:31:52.000Z","updated_at":"2026-03-17T15:42:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/priyanshuchawda/screen-recorder","commit_stats":null,"previous_names":["priyanshuchawda/screen-recorder"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/priyanshuchawda/screen-recorder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyanshuchawda%2Fscreen-recorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyanshuchawda%2Fscreen-recorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyanshuchawda%2Fscreen-recorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyanshuchawda%2Fscreen-recorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/priyanshuchawda","download_url":"https://codeload.github.com/priyanshuchawda/screen-recorder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyanshuchawda%2Fscreen-recorder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"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":["audio-capture","cmake","cpp","cpp20","d3d11","desktop-application","directx","github-actions","h264","intel-quick-sync","media-foundation","mp4","native-windows","screen-capture","screen-recorder","video-recording","wasapi","win32","windows","windows-graphics-capture"],"created_at":"2026-02-28T16:01:28.917Z","updated_at":"2026-05-24T13:01:56.910Z","avatar_url":"https://github.com/priyanshuchawda.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ScreenRecorder\n\nLightweight native Windows screen recorder built with C++20, Win32, Windows Graphics Capture, Media Foundation, and WASAPI.\n\n![Windows](https://img.shields.io/badge/Windows-10%2F11-0078D6?logo=windows\u0026logoColor=white)\n![C++20](https://img.shields.io/badge/C%2B%2B-20-00599C?logo=cplusplus\u0026logoColor=white)\n![License](https://img.shields.io/badge/License-MIT-green)\n![Status](https://img.shields.io/badge/Status-Active%20Development-green)\n![Tests](https://img.shields.io/badge/Tests-131%20passing-brightgreen)\n\n## Features\n\n- Full-screen capture via Windows Graphics Capture (WGC)\n- H.264 video + AAC audio muxed to MP4 using Media Foundation\n- **System Audio Capture**: Record desktop/YouTube audio via WASAPI Loopback\n- **Microphone Noise Gate**: RMS-based gating to eliminate background hiss\n- **Camera Overlay**: Efficient default preview with an HQ 720p-capable profile\n- **Anti-Ducking**: Opt-out from Windows auto-lowering volume during capture\n- **High Quality Mode**: Optional 1080p-capable hardware profile with higher bitrate recording (8/10 Mbps) on AC or battery\n- Pause/resume with monotonic timestamp rebasing\n- Mute/unmute with silence injection\n- Recovery flow for orphaned `.partial.mp4` files\n- Low-disk auto-stop and output directory management\n- Hardware-first H.264 encoder selection with graceful software fallback\n\n## Build Requirements\n\n- Windows 10/11 (x64)\n- Visual Studio Build Tools / VS 2022 with C++ workload\n- Windows SDK 10.0.26100+\n- CMake 3.20+\n\n## Build \u0026 Run\n\n```powershell\n# Configure\ncmake -B build -G \"Visual Studio 18 2026\" -A x64\n\n# Build (Debug)\ncmake --build build --config Debug\n\n# Run tests\nctest --test-dir build -C Debug --output-on-failure\n\n# Run app\n.\\build\\Debug\\ScreenRecorder.exe\n```\n\n## Package (ZIP)\n\n```powershell\n# Configure once (if not already configured)\ncmake -B build -G \"Visual Studio 18 2026\" -A x64\n\n# Build release binary\ncmake --build build --config Release\n\n# Create distributable zip\ncpack --config build\\CPackConfig.cmake -C Release\n```\n\nGenerated artifact:\n\n- `ScreenRecorder-0.3.5-windows-x64.zip`\n\n## Release\n\nUse GitHub CLI to publish a tagged release with the package:\n\n```powershell\ngit tag v0.3.5\ngit push origin v0.3.5\ngh release create v0.3.5 ScreenRecorder-0.3.5-windows-x64.zip --title \"v0.3.5\" --notes \"Release v0.3.5: version bump, high-quality mode battery overrides, camera mirroring fixes, and hardware profile tuning.\"\n```\n\n## Project Layout\n\n```text\nsrc/\n  app/ controller/ capture/ audio/ encoder/ storage/ sync/ utils/\ntests/\n  unit/ integration/\n```\n\n## CI\n\nGitHub Actions workflow: `.github/workflows/windows-ci.yml`\n\n## Notes\n\n- Use Visual Studio generator for reliable Windows builds.\n- If finalize fails, output remains `.partial.mp4` and is not renamed to `.mp4`.\n\n## License\n\nMIT License. See `LICENSE`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriyanshuchawda%2Fscreen-recorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpriyanshuchawda%2Fscreen-recorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriyanshuchawda%2Fscreen-recorder/lists"}