Streampunk / beamcoder

Node.js native bindings to FFmpeg.
GNU General Public License v3.0
392 stars 76 forks source link

fix: building for macos on m1 #86

Closed mint-dewit closed 2 years ago

mint-dewit commented 2 years ago

This PR adds the arm64 arch to the install_ffmpeg.js file as well as some instructions as to where to find the homebrew installed ffmpeg in the binding.gyp file.

As a side note: on M1 systems homebrew will install the arm64 version of ffmpeg therefore it is required to also use an arm64 version of nodejs. NodeJS 16 and later will install as arm64 by default.