Kap icon indicating copy to clipboard operation
Kap copied to clipboard

Kap 3.5.1 arm64 DMG still bundles x86 ffmpeg-static & gifsicle

Open psobolewskiPhD opened this issue 4 years ago • 2 comments

macOS version: ProductName: macOS ProductVersion: 12.0.1 BuildVersion: 21A559 Kap version: 3.5.1

Steps to reproduce

lipo -info /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_mdules/ffmpeg-static/ffmpeg lipo -info /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/gifsicle/vendor/gifsicle

Current behaviour

Non-fat file: /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/ffmpeg-static/ffmpeg is architecture: x86_64

Non-fat file: /Applications/Kap.app/Contents/Resources/app.asar.unpacked/node_modules/gifsicle/vendor/gifsicle is architecture: x86_64

Expected behaviour

Expect arm64 ffmpeg binary.

Workaround

Symlink homebrew binaries as described here: https://github.com/wulkano/Kap/issues/970#issuecomment-970097099

Edit: Ironically, brew install kap also bundles the x86 ffmpeg and gifsicle.

psobolewskiPhD avatar Dec 11 '21 11:12 psobolewskiPhD

Seems like this may help solve the issue? https://github.com/eugeneware/ffmpeg-static/issues/35#issuecomment-631003066 ...at least in case of ffmpeg-static.

psobolewskiPhD avatar Dec 12 '21 09:12 psobolewskiPhD

Bumping this, still the case for Kap 3.6.0

psobolewskiPhD avatar Oct 31 '22 14:10 psobolewskiPhD