{"id":13473524,"url":"https://github.com/babldev/camera-cli","last_synced_at":"2025-03-26T19:34:15.287Z","repository":{"id":52929588,"uuid":"334777712","full_name":"babldev/camera-cli","owner":"babldev","description":"Configure your webcam via the command line","archived":false,"fork":false,"pushed_at":"2022-07-07T14:44:27.000Z","size":503,"stargazers_count":17,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T06:32:39.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/babldev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-31T23:16:35.000Z","updated_at":"2024-06-13T19:54:52.000Z","dependencies_parsed_at":"2022-08-25T03:21:22.992Z","dependency_job_id":null,"html_url":"https://github.com/babldev/camera-cli","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/babldev%2Fcamera-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babldev%2Fcamera-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babldev%2Fcamera-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babldev%2Fcamera-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babldev","download_url":"https://codeload.github.com/babldev/camera-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245722842,"owners_count":20661834,"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":[],"created_at":"2024-07-31T16:01:04.428Z","updated_at":"2025-03-26T19:34:14.817Z","avatar_url":"https://github.com/babldev.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"**Note:** Tool is broken as of macOS Monterey\n\n# camera-cli\n\nTired of your webcam putting you out of focus after it forgets your preferred settings?\n\nTurn that blurry frown upside down with `./camera-cli`\n\n![Before and after](img/readme.png?raw=true \"Before and after\")\n\n`camera-cli` is a tiny executable for quickly configuring a webcam such as the [Logitech C920 HD Pro](https://www.logitech.com/en-us/products/webcams/c920-pro-hd-webcam.960-000764.html) to specific settings.\n\n## A forgetful camera\nThe [Logitech C920 (and perhaps many other webcams) reset settings every time they are unplugged](https://www.reddit.com/r/obs/comments/fflg5g/logitech_cam_keeps_resetting_video_settings_back//). For those who use a laptop / frequently disconnect a camera, this can be extremely annoying. The [Camera Settings app provided by Logitech](https://support.logi.com/hc/en-us/articles/360024849133--Downloads-HD-Pro-Webcam-C920) requires a bunch of steps to reapply preferred settings. I built this script as a faster alternative to the Logitech app.\n\nThe script currently:\n- Disables auto-focus\n- Sets focus to minimum value\n\nSee [LibUVC docs](https://ken.tossell.net/libuvc/doc/) for customizing your own configuration.\n\nLeverages [LibUVC](https://github.com/libuvc/libuvc) so likely works with [other webcams](https://en.wikipedia.org/wiki/List_of_USB_video_class_devices).\n\nThis small executable is hardly a CLI, but may become more customizable and easy to install in the future if there is demand.\n\n## How to use\nRequires [homebrew](https://brew.sh/)\n\nOn Mac: (Intel or Apple Silicon)\n```bash\nbrew install libuvc\nmake\n./camera-cli\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabldev%2Fcamera-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabldev%2Fcamera-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabldev%2Fcamera-cli/lists"}