-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: gl returned null (missing dependencies) #33
Comments
maybe you need |
No change after installing that package, still seeing the same error |
https://github.com/thewtex/docker-opengl/blob/master/Dockerfile it looks like a minimal install might be a little bit complicated |
Looks like any sort of docker install might be complicated! 😛 |
If you find a way to do it, then it would be nice if u put together a list of working instructions (or a link), then we can put it in the readme 👍 |
Merely installing
Using that command results in e.g. BTW I find it unfortunate that there are no sample assets. Makes it harder to play around with it. |
@Stefan-Hanke great find, that command prefix does the trick! I'll submit a PR with the dockerfile and instructions in the readme. If we could get those assets in this repo then the examples could just work (tm) out of the box... |
Good job! I don't want to include the sample assets in this repository because they are quite huge and I don't want everyone who downloads the repo to have to download hundreds of megabytes. But I'm thinking about putting them in a separate github repo and then having a download script from here. |
|
I did get further along with this Docker File...But now its failing when FFMPEG tries to write out to the temp dir-
|
@MDrooker your configuration works for me just fine |
Yea...Mine is still tossing errors on creating the asset. |
Using |
I am also struglling this issue in ubuntu 18 |
@Dinesh-Rawat You have to install all the linux dependencies. |
@srameshr Can you please redirect me to some helpful article? Finding no solution for this anywhere |
For MacOS that is all I did,
|
@srameshr Most of the packages you shared are not found for ubuntu 18. |
I tried to debug it a little bit and found: https://github.com/mifi/editly/blob/master/glTransitions.js#L9 is not returning anything. |
@Dinesh-Rawat I run on a mac and all you need is ffmpeg and ffprobe. For linux you need more dependencies. |
I'm trying to run on my mac, same issue
|
which node.js version are you running? and macos version. |
Node.js v12.13.0 |
same problem with newest node.js 12? |
yes..
|
which node version are you running now? |
12.13.0 |
that is not the newest version... |
I'm running node v15.2.0, throw an error: `node:internal/modules/cjs/loader:1161 Error: The module '/usr/local/lib/node_modules/editly/node_modules/canvas/build/Release/canvas.node' |
google can help you with this |
Got this working in Docker thanks to @maerics @chapmanjacobd @MDrooker, thanks all! See #96 (I'm 100% sure it can be improved after [or before?] merge 🎉 ) EDIT: just confirmed gl shaders work. |
Anyone solved this on Heroku? I tried running the following command on Heroku CLI and also tried to install xvfb but commands are not found.
Also, I this same issue occurs on any other ffmpeg library I tested so far. Only way to bypass this AFAIK on Heroku was to execute the original ffmpeg shell script on runtime using child_process.
|
@monurcevik try this version of ffmpeg built with the flags in the upstream docker container (it's managed by core ffmpeg team): Line 1 in 0bfed32
|
@patcon Thanks. However, I'm not using Docker at the moment. Do you know a workaround on Heroku without using Docker? Or is it mandatory? |
I'm not sure "mandatory" is the right word, but it was mandatory for me :) You might get better feedback by opening a new ticket, as Heroku support is perhaps a new thing with different requirements and context. As in, I have no idea whether you wrote your own buildpack or used existing ones, but it doesn't feel like this is the place to share that (11 ppl are getting notifications about each comment, after all) |
Hi! I'm trying to install on Ubuntu 18.04 and I receive the error:
can I solve without using docker? thanks!! |
ffmpeg is probably one of the more important version numbers to share :) |
In case dockerfiles aren't easy for ppl to read, this is the summary:
building ffmpeg with the same flags is probably where gotchas are. The pre-built ones in the package repos may or may not use all the same flags. |
Hi @patcon I updated the versions:
and throws the same error :( |
Sorry, not sure then! You might want to clarify (for future travellers) if you built with all the same flags from the dockerfile I linked, so ppl will know which approach you've exhausted |
@Stefan-Hanke solution works for me #33 (comment) If I run xvfb-run editly --json kenBurns.json5 the video is created. What's the downside of this technique? thanks! |
Ah yes, the |
Also receiving this issue on @Stefan-Hanke solution also worked for me but running from node is throwing the 'gl returned null (missing dependencies)' error |
macOS: BigSur 11.4
|
I'm also having this issue trying to dockerize an API that uses editly. The error is:
The Dockerfile is:
|
For me, these dockerfile RUN commands along with
|
I got the same issue when trying to run editly on an Ubuntu github action runner
Then running my node command with xvfb : Hope it helps 🙂 |
This is very important when I use ubuntu with desktop it works fine. It works with
|
This was my solution on AWS Lamba, Express, Docker |
@Stefan-Hanke What is the solution to the xvfb-run concurrency problem |
#100 solves the issue on Ubuntu but there has to be a better way to deal with this. Also I'm unable to make it work with pm2 ecosystem config - Unitech/pm2#5674 |
While attempting to run the "kenBurns" example in a Debian docker image (using a
node:14-stretch
base image) I get the following error:For reference, here's the Dockerfile I'm using:
The text was updated successfully, but these errors were encountered: