Hi everyone, i'm having some problems trying to play videos from a Java JNI
code. Let me try to explain, I'm using xine video provider to play TS local
files with a C/C++ code I wrote and everything works flawless, dfb is
initiated, the video provider is created and so on. But when I try to
execute pretty much the same code from a JNI bind, it says xine video
provider can't be dlopened. At first, I was mistakenly using an old version
(1.0.0 which came with ubuntu 9.04 distro) in jni native lib compilation (it
was taking lib paths and includes from pkg-config i guess) and that was
driving me crazy with a lot of errors, but i noticed the different versions
on execution and fixed compilation flags in my makefile. Now I'm using the
same CFLAGS and LIBS to build my c++ code and jni native lib. After that, i
managed to play video from the JNI but I noticed that ffmpeg video provider
was loaded (instead of xine video provider which is loaded when i run just
the C++ code) but i got no audio output, so I deleted the ffmpeg lib at
/usr/local/lib/directfb-1.4-0/interfaces/IDirectFBVideoProvider/ and left
just the libidirectfbvideoprovider_xine.so because I really want to use xine
instead of ffmpeg as everything works as it should (audio and video are ok
with xine provider). So, now the JNI code initializes and dfb is finally
trying to load xine video provider, but i'm getting this error:
(!) Direct/Interface: Unable to dlopen
`/usr/local/lib/directfb-1.4-0/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_xine.so'!
-->
/usr/local/lib/directfb-1.4-0/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_xine.so:
undefined symbol: idirectfb_singleton
C++ code still working since it's using xine provider... I don't know what
to do. Any ideas? I have the latest versions of DirectFB and DirectFB-extra
from git repository. I think it maybe a JNI configuration/compilation issue,
or permissions, i'm lost...
Thanks in advance.
--
"Your mouse has moved. Windows must be restarted
for the change to take effect. Reboot now?"
_____________________________
Rafael R.M. Brandão
LAViD - UFPB
João Pessoa,PB - Brasil
rafaelbrandao(at)gmail.com
--
"Your mouse has moved. Windows must be restarted
for the change to take effect. Reboot now?"
_____________________________
Rafael R.M. Brandão
LAViD - UFPB
João Pessoa,PB - Brasil
rafaelbrandao(at)gmail.com
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users