Page 1 of 1

setSurface Error

Posted: 06 Mar 2015 19:49
by mzafers
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.

Re: setSurface Error

Posted: 07 Mar 2015 12:51
by Jean-Baptiste Kempf
So far, you need to use VLC or one example and start from there. The libVLC on Android is not fully working

Re: setSurface Error

Posted: 08 Mar 2015 23:51
by edwardw
We don't support Qt on Android.

Re: setSurface Error

Posted: 09 Mar 2015 07:17
by mzafers
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.

Re: setSurface Error

Posted: 20 Mar 2015 20:23
by mzafers
Solved, video is ok. I've integrated libvlc into Qt Android. It's powerful now.