skhd asks for access to audio and video when using ffmpeg
- 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.

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