asmvik / asmvik/skhd

skhd asks for access to audio and video when using ffmpeg

Open
#308 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.1k
Forks
241
PR merge metrics
No merged PRs in 30d

Description

When recording with ffmpeg (`ffpeg -f avfoundation -i ":0" audio.wav), a pop-up shows with skhd requesting access to microphone (system audio). Same goes for camera when trying to record screen casts.

Why is this? I would expect that it would be my terminal emulator that should request access?
This is more of a curiosity, although it does alert me a little bit with security / privacy implications.

![Screenshot 2023-10-06 at 19 20 18](https://github.com/koekeishiya/skhd/assets/83029642/32590e70-0dda-467a-8394-6aa5b6bc9ae3)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported `ffmpeg -f avfoundation -i ":0" audio.wav` command on macOS and observe which process triggers the microphone or camera prompt. Trace the permission request from skhd and the terminal emulator, then document whether the behavior is expected and what change, if any, would be needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.