ZachBenz / RingForIndigo

Ring plugin for Indigo Home Automation Server from Indigo Domotics
GNU Lesser General Public License v3.0
0 stars 1 forks source link

Under macOS Catalina, mp4 to GIF blocked by default #49

Open ZachBenz opened 4 years ago

ZachBenz commented 4 years ago

Ring Error Error converting downloaded video to animated GIF

The problem is that ffmpeg is not a signed binary that macOS trusts. The user has to go into System Preferences->Security and choose to "Open Anyway", which isn't obvious. And, it seems to take a couple tries, to include reloading the plugin at least once.

ZachBenz commented 4 years ago

Every time you upgrade the Indigo plugin, have to go through this song and dance again (and especially on an unattended server, a user might not notice a prompt).

  1. After upgrading plugin, and immediately after trying to download a video with conversion to animated GIF enabled, need to go to System Preferences->Security & Privacy, where a message like this will appear: Screen Shot 2020-01-13 at 6 10 04 PM

  2. Click "Open Anyway" and authenticate if prompted

  3. Indigo will prompt you because you are opening the plugin again... click "Cancel": Screen Shot 2020-01-13 at 6 13 02 PM

  4. In Indigo, go to Plugins->Ring->Reload

  5. Initiate a Ring video download with conversion to animated GIF enabled, and you should be prompted: Screen Shot 2020-01-13 at 6 16 01 PM

  6. Click "Open"

Only after that whole dance will conversion to GIF work...

ZachBenz commented 4 years ago

Possible to use a version of ffmpeg that is signed? Or sign the Indigo plugin somehow?

I've seen this same problem with other Indigo plugins that rely on external executables.

ZachBenz commented 4 years ago

FindFriendsMini is an example of another Indigo plugin that faces this challenge.