MagicFoundation / Alcinoe

Alcinoe Component Library For Delphi. Full opengl video player, WebRTC delphi wrapper, native ios/android TEdit, Improuved firemonkey controls, Firebase cloud messaging, Android/ios facebook sdk login, Json/Bson Parser, ImageMagick wrapper, MongoDb client And much more
Apache License 2.0
968 stars 211 forks source link

Problem with ALVideoPlayer #211

Open ossamalimon opened 3 years ago

ossamalimon commented 3 years ago

Hi ;

i do all thing to work with ALVideoPlayer , and it s work fine in my emulator ; But when i install it in my phone i get this :

2476edf1-3b17-4b7b-a2a0-31f423369017

the sound works fine but no video image . Any idea for the solutions ?

and thnx first .

eilersn commented 2 years ago

I have the same problem, no image with the strange text in the corner.

RamonSouza96 commented 2 years ago

@ossamalimon have you added the .jar files to your project library? If not, it is in "dir : alcinoe-master\lib\jar\com.google.android.exoplayer\" add all .jar in project>android>libraries > right mouse button add

yckiong commented 2 years ago

I facing same problem, and had added the exoplayer .jar files. Please help.

pcplayer commented 1 year ago

You should add exoplayer-core.jar into your project's lib

DiamatBR commented 1 year ago

Good evening! I'm having the same problem. Even though I added the ExoPlayer JARs

pcplayer commented 1 year ago

I can play video file. My Delphi is 10.4.2 CE version. My Phone is Android 12;

I got the same black screen in the first time I run this test. And after I patch my Delphi, it works fine.

Maybe try patch your delphi by:

  1. Alcinoe/tree/master/Embarcadero/Sydney/10_4_2/Update.Bat
  2. Then you can get patch files under Alcinoe\embarcadero\sydney\10_4_2, the update.bat create two folder: rtl and FMX。
  3. copy all of these files into your project folder, the re-compile your project.
Eaglemaster31 commented 5 months ago

Have you solve the issue

Zeus64 commented 5 months ago

the problem is that to play video on android you must be able to draw OES texture. the only way right now to draw OES texture on the form is to patch the delphi source code. you can do it localy in alcinoe in an easy way with Alcinoe\Embarcadero\Athens\Update.bat but you need the delphi (alexandria or athens) with the source code included :(

https://quality.embarcadero.com/browse/RSP-16830