setSurface Error

VLC for Android and Chrome OS specific usage questions
mzafers
New Cone
New Cone
Posts: 3
Joined: 06 Mar 2015 19:32

setSurface Error

Postby mzafers » 06 Mar 2015 19:49

Hi. I want to use libvlc in Qt android with QML. So, I've implemented libvlc java files into QtMultimedia module and compiled it with success. I use LibVLC.setSurface method in QtMultimedia java files. After compiling, I just copy new jar files and create a new QML project. But an error occurs at runtime.

W/dalvikvm(23288): No implementation found for native Lorg/videolan/libvlc/LibVLC;.setSurface:(Landroid/view/Surface;)V

How can I use LibVLC.setSurface function? Can anybody help me?
Thank you.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: setSurface Error

Postby Jean-Baptiste Kempf » 07 Mar 2015 12:51

So far, you need to use VLC or one example and start from there. The libVLC on Android is not fully working
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: setSurface Error

Postby edwardw » 08 Mar 2015 23:51

We don't support Qt on Android.

mzafers
New Cone
New Cone
Posts: 3
Joined: 06 Mar 2015 19:32

Re: setSurface Error

Postby mzafers » 09 Mar 2015 07:17

I've integrated it partially. My Qt Android project uses libvlc. But audio only, no video. Because I cannot manage surfaces. I see \android\libvlc\jni\egl-android-info.txt file. It explains egl-android vout, setSurface function implementation. I'll work more on surfaces. Qt on Android uses default Android MediaPlayer class. It needs libvlc power on Android side. Maybe impossible. You don't support Qt on Android but I'll try.
Thanks.

mzafers
New Cone
New Cone
Posts: 3
Joined: 06 Mar 2015 19:32

Re: setSurface Error

Postby mzafers » 20 Mar 2015 20:23

Solved, video is ok. I've integrated libvlc into Qt Android. It's powerful now.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 9 guests