Comments (4)
I encountered same problem. Using a mac and trying to deploy a lambda function. It would be nice if you can implement some installation flags like
npm install --arch=x64 --platform=linux @ffmpeg-installer/ffmpeg
.
That way we can specify the actually binary we want to install.
from node-ffmpeg-installer.
Not sure if there is an easy solution, the whole point of the project is to install a binary for the current platform, so if you are building images on one platform to then run on another it will not work. And it's not using any options or anything, rather using the environment to pull in the correct dependency.
There's a similar, older project (don't recall the name) that inspired this project, that pulled in all the binaries. I made this one because I didn't want to have 5 extra binaries. Could be one solution.
Otherwise, set up some simple way to build in a virtual environment? VirtualBox or something would work if you don't have Jenkins available. I don't think the NPM env variables can be overridden, otherwise that would also work.
It's just not the use case for the project, sadly. But if you come up with some good workaround I'll be happy to add it to the README or add pull requests.
from node-ffmpeg-installer.
I suggest you not do that.
from node-ffmpeg-installer.
@kribblo I was struggling with this problem for a while, and just opened a PR adding my simple workaround to the README. Please let me know if I can add any more contextual information!
from node-ffmpeg-installer.
Related Issues (20)
- Fontconfig error when using drawtext filter
- NPM multi OS compatibilty issue HOT 2
- Error: certificate has expired HOT 1
- Apple Silicon build HOT 4
- ERROR in ./node_modules/@ffmpeg-installer/ffmpeg/index.js HOT 2
- Remove binaries from git HOT 1
- Deprecate in favor of ffmpeg-static? HOT 8
- Unsupported platform/architecture: darwin-arm64 HOT 3
- stream ends after loading one segment HOT 1
- how install @ffmpeg-installer/ffmpeg totally HOT 2
- macOS arm64 (darwin-arm64 for M1 and M2) missing --enable-libwebp HOT 1
- Cannot install package for linux-64 while using Windows HOT 1
- Issue using package when deploying to Azure HOT 1
- Unsupported platform/architecture: android-arm
- linux-64x version not working with some mp4, mov file HOT 1
- ffmpeg removes audio from video instead of add audio to the video
- Does not work in Node Docker container
- couldnt install package in replit HOT 1
- ARM64 architecture support (could not find ffmpeg executable) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ffmpeg-installer.