question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi, Thank you for this amazing library!

However, I just run sample app of this project, and found that if I follow the flow below, causes error. movie preview --> select filter(bilateral_blur/box_blur/brightness etc) --> touch save button

    Process: com.daasuu.gpuvideoandroid, PID: 12432
    java.lang.IllegalStateException: Could not get attrib or uniform location for center
        at com.daasuu.gpuv.egl.filter.GlFilter.getHandle(GlFilter.java:153)
        at com.daasuu.gpuv.egl.filter.GlBulgeDistortionFilter.onDraw(GlBulgeDistortionFilter.java:77)
        at com.daasuu.gpuv.egl.filter.GlFilter.draw(GlFilter.java:121)
        at com.daasuu.gpuv.player.GPUPlayerRenderer.onDrawFrame(GPUPlayerRenderer.java:162)
        at com.daasuu.gpuv.egl.GlFrameBufferObjectRenderer.onDrawFrame(GlFrameBufferObjectRenderer.java:58)
        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1571)
        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)

These are the error logs, and this is caused because below two methods returns -1

GLES20.glGetAttribLocation(program, name);
GLES20.glGetUniformLocation(program, name);

Do you have any idea that I can fix this issue?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Jobeeapkcommented, Jul 21, 2019

Hi. I have the same issue. How to edit this code when I use library as dependency? PS: Problem seems to be solved. I’m creating new GLFilter object for generate video. Previously I’m was using same filter which was used to add filter to preview.

0reactions
cuk2dn95commented, Jun 5, 2022

Hi. I have the same issue. How to edit this code when I use library as dependency? PS: Problem seems to be solved. I’m creating new GLFilter object for generate video. Previously I’m was using same filter which was used to add filter to preview.

Thanks you, you save my day

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problems of Saving Money - 5 saving problems and how to ...
1. Spending too much on rent. Rent is the biggest expense most people have to cover every month. · 2. No defined budget...
Read more >
The 'Problem' With Saving - Forbes
Low savings rates have typically been a sign of pending trouble in the years that follow. The savings rate dropped below 5 percent...
Read more >
3 Ways to Solve Your Saving Problems | The Motley Fool
While covering expenses can indeed be a challenge, the good news is almost every family can find ways to cut spending so they...
Read more >
Top 8 Money Problems Americans Are Facing - Acorns
The top two concerns are not having enough emergency savings and being able to cover everyday expenses. A good way to boost your...
Read more >
Why Can't I Save Money? 10 Possible Reasons Why
1. You don't have a budget ; 2. You can't save money because you have a lot of debt ; 3. You're living...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found