title: How to install ffmpeg and an app together on a Mac?
body: <p>I have an <a href="http://electron.atom.io/" rel="nofollow noreferrer">electron app</a> built and packaged for macOS in a <code>.app</code> file. The app requires <a href="https://ffmpeg.org/" rel="nofollow noreferrer">ffmpeg</a> to be installed on the end-user's computer to be used. </p>
  
  <p>Currently, I've had to manually install ffmpeg on each end-user's computer to run the app.</p>
  
  <p>I want to distribute the app online with an easy installer for both ffmpeg and the app. I've seen <code>.dmg</code> files which allows you to drag the <code>.app</code> into the applications folder easily, but the ffmpeg dependency is still absent in the installation process.</p>
  
  <p>How can I install ffmpeg and the app together on a mac?</p>
  
  <p>Perhaps including the ffmpeg build in the <code>.app</code> content is a solution as well.
  This may not be possible though because <a href="https://stackoverflow.com/questions/32290967/electron-how-to-use-ffmpeg-within-an-electron-app">a relevant question</a> mentions there are only abstractions of the ffmpeg CLI instead of something that can directly use ffmpeg.</p>