Describe Request:
I'm trying to record test videos using either ffmpeg or appium mac2 driver (as far as I know, it uses ffmpeg behind the scenes anyway)
Examples:
deviceId == 0 is screen capture in CircleCI VM.
In python code is simple:
appium_driver.start_recording_screen(deviceId=0)
Or using raw ffmpeg:
ffmpeg -f avfoundation -i "0" -t 10 output.mp4
But I can't give permissions somehow. Once I start video recording, there is a popup:
And an error:
[ffmpeg] objc[23088]: class `NSKVONotifying_AVCaptureScreenInput' not linked into application
What I've tried:
basically main are ffmpeg and .machine-agent, others are just out of desperation 🙂
- macos/add-permission:
bundle-id: /Applications/Utilities/Terminal.app
permission-type: kTCCServiceScreenCapture
- macos/add-permission:
bundle-id: /private/tmp/.machine-agent
permission-type: kTCCServiceScreenCapture
- macos/add-permission:
bundle-id: /usr/local/bin/ffmpeg
permission-type: kTCCServiceScreenCapture
- macos/add-permission:
bundle-id: /opt/homebrew/bin/appium
permission-type: kTCCServiceScreenCapture
Supporting Documentation Links:
Describe Request:
I'm trying to record test videos using either ffmpeg or appium mac2 driver (as far as I know, it uses ffmpeg behind the scenes anyway)
Examples:
deviceId == 0is screen capture in CircleCI VM.In python code is simple:
Or using raw ffmpeg:
But I can't give permissions somehow. Once I start video recording, there is a popup:
And an error:
What I've tried:
basically main are ffmpeg and .machine-agent, others are just out of desperation 🙂
Supporting Documentation Links: