Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Library 'libmaliinstr.so' not found
#1
I've build XBMC with --enable-player=amlplayer, but every time I run it, it crashes. Here is a portion of the log file.

Code:
09:09:31 T:628912 WARNING: Unable to resolve: libamplayer.so audio_set_delay, reason: Symbol not found: load_library[1091]: Library 'libmaliinstr.so' not found
09:09:31 T:628912   ERROR: Unable to resolve exports from dll libamplayer.so

Any ideas?
Reply
#2
a) update your libamplayer.so to one that includes audio_set_delay
b) ifdef out the calls to audio_set_delay
Reply
#3
(2012-12-16, 16:38)davilla Wrote: a) update your libamplayer.so to one that includes audio_set_delay
b) ifdef out the calls to audio_set_delay

Thank you.

a) Can I just compile libamplayer.so alone or would I have build it against the kernel's source code? (Which I don't have.)
b) In amlplayer.cpp? Does anyone have a diff?
Reply
#4
The amlogic kernel drivers must match the code in libamlplayer.so which includes amadec and amcodec. Android users seem to think that just because the names match, they are similar. They are not. amadec and amcodec talk to the kernel, their ABI/API must match.

Since you are already compiling XBMC, why fiddle with libamplayer, fix the XBMC side and you are done.
Reply
#5
(2012-12-17, 19:57)davilla Wrote: The amlogic kernel drivers must match the code in libamlplayer.so which includes amadec and amcodec. Android users seem to think that just because the names match, they are similar. They are not. amadec and amcodec talk to the kernel, their ABI/API must match.

Since you are already compiling XBMC, why fiddle with libamplayer, fix the XBMC side and you are done.

Davilla,

Thanks for all of your hard work on making the xbmc android port a reality. HW decoding is looking very promising thanks to your work.

I assume that having already compiled XBMC, Brian would like to be able to get the most functionality possible out of the hardware he is running XBMC on, I would also assume this would include the ability to adjust the audio delay via the onscreen menu. I know I would.
Reply
#6
not on non-Pivos hardware, their libamplayer is missing that API function call which I added (ie audio_set_delay).

Reply
#7
Will these changes eventually end up being open so that xbmc will work to its full potential on as many different Android hardware platforms as possible? This would seem more in line with the spirit of XBMC.

In other words, do you ever think we will see the day where XBMC will be able to be downloaded from the Play store, and work with hardware acceleration without the need to make additional changes to the Android OS libraries and kernel?
Reply
#8
(2012-12-18, 01:52)crackerbox Wrote: Will these changes eventually end up being open so that xbmc will work to its full potential on as many different Android hardware platforms as possible? This would seem more in line with the spirit of XBMC.

In other words, do you ever think we will see the day where XBMC will be able to be downloaded from the Play store, and work with hardware acceleration without the need to make additional changes to the Android OS libraries and kernel?

They are in the open, have been ever since I made them, see https://github.com/pivosgroup. So in the spirit of XBMC, Pivos full supports Open Source, remember that when you choose an Android platform.


XBMC downloaded from the Play store is a different issue. Android is highly fragmented with regard to hardware video acceleration.
Reply
#9
Fair enough.
Reply
#10
Thanks davilla. I ended up using the #ifdef method. What I am noticing now is that the movie information overlay is missing the mp3, acc, or whatever icon and I cannot control the volume (and a whole list of other things, but one step at a time.) I am not sure movie information overlay is the right term. I am referring to the overlay that comes up while you are watching a show that has the poster art and player controls. Is this due to the amlplayer that is being used? It there away around it just changing the XBMC code?

Also, how can I make the dvdplayer the default for SD content and amlplayer the default for HD content?

Thanks for taking the time to answer these posts and all of your hard work on XBMC.
Reply
#11
(2012-12-24, 04:02)brianf21 Wrote: Thanks davilla. I ended up using the #ifdef method. What I am noticing now is that the movie information overlay is missing the mp3, acc, or whatever icon and I cannot control the volume (and a whole list of other things, but one step at a time.) I am not sure movie information overlay is the right term. I am referring to the overlay that comes up while you are watching a show that has the poster art and player controls. Is this due to the amlplayer that is being used? It there away around it just changing the XBMC code?

The issues you are seeing are due to the libamlplayer.so not supporting access to those items. There is no way around it except to add support to your libamplayer.so. See the Pivos repos, the source code changes are there.

Reply
#12
Are there changes that have been made to the amavjni component? I can't seem to find any additional information on this.
Reply
#13
(2013-01-01, 21:44)crackerbox Wrote: Are there changes that have been made to the amavjni component? I can't seem to find any additional information on this.

nope, amavjni is not changed.
Reply
#14
(2012-12-16, 16:38)davilla Wrote: b) ifdef out the calls to audio_set_delay

davilla, how specifically would I ifdef this out? The only reference I see is in /cores/amlplayer/AMLPlayer.cpp -

Code:
if (m_audio_streams.size() && m_dll->check_pid_valid(m_pid))
  {
    CSingleLock lock(m_aml_csection);
    m_dll->audio_set_delay(m_pid, m_audio_delay);
  }

Which I don't think you're referring to.

Thanks in advance.
Reply
#15
#ifdef 0

#endif

anything inside ^^ will not be compiled.

ifdef or comment out anything that has to do with audio_set_delay

Reply

Logout Mark Read Team Forum Stats Members Help
Library 'libmaliinstr.so' not found0