Comments (10)
Fixed.
from exoplayerfilter.
I have the same issue.
from exoplayerfilter.
I am facing the same issue. Did you find any solution?
from exoplayerfilter.
No sorry
from exoplayerfilter.
Seems like something changed in the newer exoplayer library versions. If you use 2.10.5, it actually works (that's the version that the library is using). I assume it has to do with exo player being accessed from the open gl thread instead of the main thread but I'm not sure.
from exoplayerfilter.
I have the same issue.
from exoplayerfilter.
implementation 'com.google.android.exoplayer:exoplayer-core:2.13.2'
implementation 'com.google.android.exoplayer:exoplayer-hls:2.13.2'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.13.2'
implementation 'com.google.android.exoplayer:extension-rtmp:2.13.2'
from exoplayerfilter.
Need replace this code:
Surface surface = new Surface(previewTexture.getSurfaceTexture());
this.simpleExoPlayer.setVideoSurface(surface);
with:
new Handler(Looper.getMainLooper()).post(() -> {
Surface surface = new Surface(previewTexture.getSurfaceTexture());
simpleExoPlayer.setVideoSurface(surface);
});
from exoplayerfilter.
Need replace this code:
Surface surface = new Surface(previewTexture.getSurfaceTexture()); this.simpleExoPlayer.setVideoSurface(surface);
with:
new Handler(Looper.getMainLooper()).post(() -> { Surface surface = new Surface(previewTexture.getSurfaceTexture()); simpleExoPlayer.setVideoSurface(surface); });
I added a PR based on the suggestion, #58
from exoplayerfilter.
@MasayukiSuda Thanks for fixing this long-term incompatibility with recent ExoPlayer version. Please close and lock this thread.
from exoplayerfilter.
Related Issues (20)
- How to rotate EPlayerView ? HOT 1
- Default video access cannot be played after Android 8 HOT 3
- add transparent filter?
- How to set bitmap preview for each filter HOT 1
- Adjusting parameter of filters using slider
- Canβt add the library to the project HOT 2
- Video playback looks stuttering when previewing with ExoPlayerFilter
- Wrong thread exoplayer crash, loading video from file. HOT 3
- How to rotate Eplayer view?
- Applying multiple filters HOT 1
- Is it possible to save with the new addition of the filter?
- createContext failed: EGL_BAD_CONFIG
- How to rotate EPlayerView? HOT 2
- can't change player instance by calling setSimpleExoPlayer again
- Multiple filters HOT 1
- Add to Surface holder !
- Filter WhiteBlance and Filter RGB do not work!
- RESIZE_FIT_HEIGHT make video align left not center HOT 1
- Using custom shaders?
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 exoplayerfilter.