MasayukiSuda / GPUVideo-android

This library apply video filter on generate an Mp4 and on ExoPlayer video and Video Recording with Camera2.
MIT License
658 stars 179 forks source link

VideoListener class issue due to Exoplayer 1.18.2 usage #109

Open najam-amfnrh9 opened 1 year ago

najam-amfnrh9 commented 1 year ago

Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath: class com.daasuu.gpuv.player.GPUPlayerView, unresolved supertypes: com.google.android.exoplayer2.video.VideoListener

I'm finding this issue at compile time, I also have a look at https://github.com/MasayukiSuda/GPUVideo-android/commit/683810a941496e096d41f0f21befcb61d2599efa#diff-5543124ce472e43048e82facfa5e8156e1aef22944fe2aa4e7970c4b79fba0fc

but find no issue, also sample code is running with 1.18.2 exoplayer but could not getting access within my project, Kindly help me out

DannyFilo commented 1 year ago

Have the same error ... There was a commit here updating ExoPlayer https://github.com/MasayukiSuda/GPUVideo-android/commit/683810a941496e096d41f0f21befcb61d2599efa ... and VideoListener has been removed, but unfortunately after this commit these changes are not incorporated in official release com.github.MasayukiSuda:GPUVideo-android:v0.1.2, so it's a mess.

mkdroid commented 4 months ago

I am also getting the same error. Is there any update? Has anyone resolved this error? Or is there any similar library that I can use?

ZUCheema commented 13 hours ago

Simply add library source code as module in your project, use latest exo play, then you just need to replace exo player related functions in 3 files only.