{"id":18990721,"url":"https://github.com/snovvcrash/sharpdxwebcam","last_synced_at":"2025-04-22T11:27:21.535Z","repository":{"id":180597608,"uuid":"665360553","full_name":"snovvcrash/SharpDXWebcam","owner":"snovvcrash","description":"Utilizing DirectX and DShowNET assemblies to record video from a host's webcam","archived":false,"fork":false,"pushed_at":"2023-07-19T21:09:00.000Z","size":279,"stargazers_count":86,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-13T22:42:57.217Z","etag":null,"topics":["webcam","webcam-capture"],"latest_commit_sha":null,"homepage":"https://github.com/xorrior/RandomPS-Scripts/blob/master/Get-DXWebcamVideo.ps1","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snovvcrash.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":"2023-07-12T03:26:24.000Z","updated_at":"2025-02-07T11:14:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"065f2eb3-7731-41ea-b0e9-d1c7e4707466","html_url":"https://github.com/snovvcrash/SharpDXWebcam","commit_stats":null,"previous_names":["snovvcrash/sharpdxwebcam"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snovvcrash%2FSharpDXWebcam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snovvcrash%2FSharpDXWebcam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snovvcrash%2FSharpDXWebcam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snovvcrash%2FSharpDXWebcam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snovvcrash","download_url":"https://codeload.github.com/snovvcrash/SharpDXWebcam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250230736,"owners_count":21396348,"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":["webcam","webcam-capture"],"created_at":"2024-11-08T17:11:04.400Z","updated_at":"2025-04-22T11:27:21.510Z","avatar_url":"https://github.com/snovvcrash.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"SharpDXWebcam\n=============\n\nThis project is a C# port of [Get-DXWebcamVideo.ps1](https://github.com/xorrior/RandomPS-Scripts/blob/master/Get-DXWebcamVideo.ps1) PowerShell script (by [@xorrior](https://twitter.com/xorrior) and [@sixdub](https://twitter.com/sixdub)) which utilizes the DirectX and DShowNET assemblies to record video from the host's webcam.\n\nAll credit for the DirectX.Capture and DShowNET libraries goes to the original authors:\n\n- **DirectX.Capture** - [@Brian-Low](https://www.codeproject.com/script/Membership/View.aspx?mid=89875) - [DirectX.Capture Class Library](https://www.codeproject.com/Articles/3566/DirectX-Capture-Class-Library)\n- **DShowNET** - [DirectShowNet library](https://directshownet.sourceforge.net/)\n\n\u003e This project is intended for security specialists operating under a contract; all information provided in it is for educational purposes only. The authors cannot be held liable for any damages caused by improper usage of any of the related projects and/or appropriate security tooling. Distribution of malware, disruption of systems, and violation of secrecy of correspondence are prosecuted by law.\n\n## Help\n\n```console\nC:\\SharpDXWebcam\u003e SharpDXWebcam.exe --help\n\n   ______                 ___  _  ___      __    __\n  / __/ /  ___ ________  / _ \\| |/_/ | /| / /__ / /  _______ ___ _\n _\\ \\/ _ \\/ _ `/ __/ _ \\/ // /\u003e  \u003c | |/ |/ / -_) _ \\/ __/ _ `/  ' \\\n/___/_//_/\\_,_/_/ / .__/____/_/|_| |__/|__/\\__/_.__/\\__/\\_,_/_/_/_/\n                 /_/\n\n  -r, --RecordTime                (Default: 5) Amount of time to record in seconds. It takes 1-2 seconds for the video\n                                  to open. Defaults to 5.\n  -p, --Path                      File path to save the recorded output. Defaults to the current user's APPDATA\n                                  directory. The output format is AVI.\n  -v, --VideoInputIndex           (Default: 0) The index of the video input device to use. Default = 0 (first device).\n  -a, --AudioInputIndex           (Default: 0) The index of the audio input device to use. Default = 0 (first device).\n  -c, --VideoCompressorPattern    The pattern to use to find the name of the preferred video compressor.\n  -d, --AudioCompressorPattern    The pattern to use to find the name of the preferred audio compressor.\n  -f, --FrameRate                 (Default: 7) The frame rate to use when capturing video. Default = 7.\n  --help                          Display this help screen.\n```\n\n## Demo\n\n![demo.png](/assets/demo.png)\n\n## Credits\n\n- Brian Low ([@Brian-Low](https://www.codeproject.com/script/Membership/View.aspx?mid=89875))\n- Chris Ross ([@xorrior](https://twitter.com/xorrior))\n- Justin Warner ([@sixdub](https://twitter.com/sixdub))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnovvcrash%2Fsharpdxwebcam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnovvcrash%2Fsharpdxwebcam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnovvcrash%2Fsharpdxwebcam/lists"}