{"id":15148654,"url":"https://github.com/openbsdguy/ffmpeg_openbsd","last_synced_at":"2025-10-24T05:30:28.781Z","repository":{"id":220226201,"uuid":"584687202","full_name":"OpenBSDGuy/ffmpeg_openbsd","owner":"OpenBSDGuy","description":"FFmpeg scripts for screen recording YouTube videos and YouTube live streaming on OpenBSD","archived":false,"fork":false,"pushed_at":"2025-01-05T08:52:52.000Z","size":9,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T22:51:38.105Z","etag":null,"topics":["ffmpeg","ffmpeg-livestreaming","ffmpeg-script","ffmpeg-youtube","openbsd","openbsd-scripts"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/OpenBSDGuy.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}},"created_at":"2023-01-03T08:57:07.000Z","updated_at":"2025-01-05T08:52:56.000Z","dependencies_parsed_at":"2024-01-31T23:58:34.744Z","dependency_job_id":null,"html_url":"https://github.com/OpenBSDGuy/ffmpeg_openbsd","commit_stats":null,"previous_names":["openbsdguy/ffmpeg_openbsd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenBSDGuy%2Fffmpeg_openbsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenBSDGuy%2Fffmpeg_openbsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenBSDGuy%2Fffmpeg_openbsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenBSDGuy%2Fffmpeg_openbsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenBSDGuy","download_url":"https://codeload.github.com/OpenBSDGuy/ffmpeg_openbsd/tar.gz/refs/heads/master","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","ffmpeg-livestreaming","ffmpeg-script","ffmpeg-youtube","openbsd","openbsd-scripts"],"created_at":"2024-09-26T13:21:29.669Z","updated_at":"2025-10-24T05:30:23.511Z","avatar_url":"https://github.com/OpenBSDGuy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FFmpeg OpenBSD\n\nFFmpeg scripts for screen recording YouTube videos and YouTube live streaming on OpenBSD.\n\n# Stream Key\n\nIf you intend to do live streaming, make sure to place your Stream Key under the `~/Document/.streamkey` file.\n\n# Enable microphone\n\nThe microphone is disabled by default on OpenBSD.\n\nTemporary enable:\n\n```bash\n$ doas sysctl kern.audio.record=1\n```\n\nPermanently:\n\n```bash\n# echo kern.audio.record=1 \u003e\u003e /etc/sysctl.conf\n```\n\n# Audio playback\n\nThe scripts are capable of recording/streaming audio playback as well. It is done by \nutilzing `mon0.` in sndio. You need to enable that or modify the scripts.\n\nEnabling `mon`:\n\n```bash\n$ doas rcctl set sndiod flags -v 80 -s default -m play,mon -s mon \u0026\u0026 doas rcctl restart sndiod\n```\n\nYou can specify the volume of playback with `-v` flag.\n\n# Microphone volume control\n\nIt is impossible to control microphone volume using FFmpeg. You need to set it with `sndio` or `cmixer`. I recommend the latter.\n\nInstall cmixer:\n\n```bash\n$ doas pkg_add cmixer\n```\n\nIf you open the program, it defaults to `snd/0`, your internal sound card.\n\nTo switch the sound card, you must export the `AUDIODEVICE` variable and then open the mixer.\n\nExample,\n\n```bash\n$ export AUDIODEVICE=snd/1 # pointing to the first external sound card\n$ cmixer\n$ unset AUDIODEVICE\n```\n\nPutting it all together, you can create an alias,\n\n```bash\n$ alias cmixer-microphone='export AUDIODEVICE=snd/1;cmixer;unset AUDIODEVICE'\n```\n\n# Hardware Acceleration for Intel GPUs (OpenBSD 7.6 and Later)\n\nIf you have an Intel GPU and want to utilize hardware acceleration, refer to the [Intel VA_API acceleration](intel_vaapi_acceleration.md) documentation.\n\n# Source\n\n- [OpenBSD FAQ 13 - Multimedia](https://www.openbsd.org/faq/faq13.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbsdguy%2Fffmpeg_openbsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenbsdguy%2Fffmpeg_openbsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbsdguy%2Fffmpeg_openbsd/lists"}