Open gWOLF3 opened 5 years ago
I am trying to use the 'execute' command to trigger FFmpeg to record from the "HD Facetime Camera" on opens. I can run the command from my terminal, however, it fails when being ran from DND. Are there any recommandations to debug this?
The command i'm using:
/usr/local/bin/ffmpeg -f avfoundation -framerate 30 -i "0" -t 5 /Users/glenn.wolfe/.seclog/capture.mpg
works in terminal but fails when ran on open event.
dnd log:
2019-10-21 20:29:36 +0000: executing: /usr/local/bin/ffmpeg -f avfoundation -framerate 30 -i "0" -t 5 /Users/glenn.wolfe/.seclog/capture.mpg as glenn.wolfe 2019-10-21 20:29:36 +0000: failed to execute /usr/local/bin/ffmpeg -f avfoundation -framerate 30 -i "0" -t 5 /Users/glenn.wolfe/.seclog/capture.mpg
My permissions are also set correctly to allow DND to have camera access, so its hard to tell what is actually causing the command to fail.
I am trying to use the 'execute' command to trigger FFmpeg to record from the "HD Facetime Camera" on opens. I can run the command from my terminal, however, it fails when being ran from DND. Are there any recommandations to debug this?
The command i'm using:
works in terminal but fails when ran on open event.
dnd log:
My permissions are also set correctly to allow DND to have camera access, so its hard to tell what is actually causing the command to fail.