{"id":15148628,"url":"https://github.com/morgant/mavid","last_synced_at":"2025-10-24T05:30:17.719Z","repository":{"id":201048165,"uuid":"706769412","full_name":"morgant/mavid","owner":"morgant","description":"Lossless X11 screencast recording on OpenBSD using ffmepg \u0026 sndio","archived":false,"fork":false,"pushed_at":"2023-10-18T18:01:55.000Z","size":3,"stargazers_count":8,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-05T08:41:12.781Z","etag":null,"topics":["ffmpeg","lossless","openbsd","screencast","screencast-recording","sndio","x11"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/morgant.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}},"created_at":"2023-10-18T15:24:41.000Z","updated_at":"2024-10-29T18:34:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"9989ee5f-7586-4fa8-8e30-2fe96117b3f0","html_url":"https://github.com/morgant/mavid","commit_stats":null,"previous_names":["morgant/mavid"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morgant%2Fmavid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morgant%2Fmavid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morgant%2Fmavid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morgant%2Fmavid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morgant","download_url":"https://codeload.github.com/morgant/mavid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237915423,"owners_count":19386724,"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":["ffmpeg","lossless","openbsd","screencast","screencast-recording","sndio","x11"],"created_at":"2024-09-26T13:21:17.649Z","updated_at":"2025-10-24T05:30:17.379Z","avatar_url":"https://github.com/morgant.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mavid\n\n## OVERVIEW\n\n`mavid` (Make Video) is utility to record screencasts of your X11 desktop using ffmpeg, inspired by [`maim`](https://github.com/naelstrof/maim).\n\nBy default, it records lossless video \u0026 audio using the [libx264rgb](https://ffmpeg.org/ffmpeg-codecs.html#libx264_002c-libx264rgb) \u0026 [flac](https://ffmpeg.org/ffmpeg-codecs.html#flac-2) encoders, respectively, into a single [Matroska](https://www.matroska.org/) (`.mkv`) container file. The lossless MKV recording can then be transcoded into smaller, lossy formats in different container formats. This generally reduces CPU load while recording, which is helpful on slower processors, but produces significantly larger recording files.\n\n**NOTE:** It currently only supports [OpenBSD](https://www.openbsd.org/) due to its reliance on [sndio](https://sndio.org/) and especially OpenBSD's [`sndioctl`](http://man.openbsd.org/sndioctl).\n\n## PREREQUISITES\n\n* [OpenBSD](https://www.openbsd.org/)\n* [`sndio`](https://sndio.org/)\n* [`ffmpeg`](https://ffmpeg.org/)\n* [`slop`](https://github.com/naelstrof/slop)\n\n## USAGE\n\n1. Install the OpenBSSD `ffmpeg` and `slop` packages:\n\n```\npkg_add ffmpeg slop\n```\n\n2. Enable OpenBSD audio recording, if you haven't already:\n\n```\nsysctl kern.audio.record=1\n```\n\n2. Record your entire display:\n\n```\nmavid \u003cfile\u003e\n```\n\nAlternatively, you can select a portion of your display to record prior to starting recording by executing `mavid -s`:\n\n```\nmavid -s \u003cfile\u003e\n```\n\n3. Press `Ctrl-C` to cancel recording. (Pressing `q`, which normally also stops `ffmpeg` recording because of the way video \u0026 audio are being piped.)\n\n## Reference\n\n* [FFMPEG Capture/Desktop (Lossless Recording)](https://trac.ffmpeg.org/wiki/Capture/Desktop#LosslessRecording)\n* [`fauxstream`](https://github.com/rfht/fauxstream) (example of piping `x11grab` video \u0026 `sndio` audio into a single file with `ffmpeg`)\n* My old [x11record](https://github.com/morgant/x11record) utility\n\n## LICENSE\n\nReleased under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorgant%2Fmavid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorgant%2Fmavid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorgant%2Fmavid/lists"}