{"id":17250648,"url":"https://github.com/statusfailed/xrec","last_synced_at":"2025-03-26T06:42:57.786Z","repository":{"id":145120488,"uuid":"575966459","full_name":"statusfailed/xrec","owner":"statusfailed","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-03T11:55:11.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T08:18:52.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/statusfailed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-08T17:44:58.000Z","updated_at":"2022-12-08T18:41:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0d36349-50d2-4e18-993f-a48572058100","html_url":"https://github.com/statusfailed/xrec","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/statusfailed%2Fxrec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fxrec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fxrec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fxrec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statusfailed","download_url":"https://codeload.github.com/statusfailed/xrec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245605709,"owners_count":20643030,"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-10-15T06:49:14.650Z","updated_at":"2025-03-26T06:42:57.767Z","avatar_url":"https://github.com/statusfailed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔴XREC\n\nA collection of kludges for recording screen/windows on X11.\n\n- `xrec.py`: launch a command, wait for it to spawn a new window, then try to\n  record it with ffmpeg\n- `record-window.sh`: record a specified window by clicking it\n- `get-window-id.sh`: Get a window's ID by clicking it with the mouse\n- `set-window-size.sh`: Set\n\n`record-screen.sh` shows how to record the whole screen, but it hardcodes the\nscreen size so you probably don't want to use it.\n\n# xrec.py\n\nExample usage:\n\n    xrec.py ./my-program.sh\n\nWaits 0.5s for my-program to create a window, then records it with ffmpeg\n\n# Recording open windows\n\nIf you want to record a window which is already open by selecting it with the\nmouse, use one of the following:\n\n**Record a webp (no audio)**:\n\n    ./record-window.sh\n\n**Record a webm (audio recorded from microphone)**:\n\n    ./record-audio-window.sh\n\n# Modifying open windows\n\nSometimes, you want your resulting video to be a specific resolution.\nThese utils help you set a window's size to exactly the resolution you want.\n\n**Get a window's ID interactively**:\n\n    ./get-window-id.sh\n\n**Set a window's size to 800x600 interactively**:\n\n    ./set-window-size $(./get-window-id.sh) 800 600\n\n# Dependencies\n\n- wmctrl\n- xwininfo\n- awk\n- ffmpeg\n- python\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatusfailed%2Fxrec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatusfailed%2Fxrec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatusfailed%2Fxrec/lists"}