Skip to main content
SaintMulligan
Participant
January 23, 2021
Question

FFMPEG runs in Mac terminal, but not as NativeProcess in Air

  • January 23, 2021
  • 0 replies
  • 331 views

I can run the ffmpeg below in the Mac terminal and it records both screen and audio.  

ffmpeg -y -f avfoundation -r 15 -i 1:1 out.mp4

 If I issue the same command as an Air NativeProcess, it fails complaining that Configuration of video device failed, falling back to default. If I switch the input to 1: (no audio), it works. So while it complains of video, it seems to be audio denied. I successfully get permission and access to the mic with the same app. I can also run a variation of the command on Windows and ffmpeg works in the background capturing screen and mic. It seems a permission issue. Most anything I can do in terminal, I can do as a NativeProcess. Also tried to grant mic in Apple > Preferences > Security. No joy. Stumped. 

    This topic has been closed for replies.