Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
I'm also logging the exception so this must be some general java throw... No info.
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
From what thread does it come from?
For libstagefright, I had issues when releasing the output buffers from the rendering thread, I don't think this is thread-safe.
I also had issues when the buffer was not released fast enough.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
All rendering items are created on the main thread, same as where it's rendered. If a buffer is not released fast enough, then decoder should just stall.
Posts: 7
Joined: Oct 2013
Reputation:
0
Which version should i use? Have a Minix X5 mini with 4.1.1
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
Generally, if possible, please specify if the problem you have is reproducable with libstagefright (MediaCodec off).
If neither works, it is probably a device issue. If it works with libstagefright, it is probably a MediaCodec issue indeed (xbmc or android).
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
new nightly brewing, some slight MediaCodec changes in buffer handling.
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
That's definitely a solution, indeed.
Just that blacklisting ASP@L5 de facto blacklists a majority of mp4's those days, so I was hoping there was a way to blacklist only this comparatively small amount of problematic mp4's.
Posts: 13
Joined: Jun 2013
Reputation:
0
Just tried the last nightlie build and it's still stuttering a lot!HD and SD content!
With libstagefright I have a similar issue but only after a while! I think it's related to buffer release!I'm not quite sure!the log states exactly the same as before!
Posts: 696
Joined: May 2010
Reputation:
3
Amazing, I've tested the latest nightly and I think this is the first time that an official Android build working on my Ainol Hero 10 (Amlogic 8726-MX) without weird issues (black screen, no text on menus) after a few minutes.
Of course hw acceleration for video isn't working (crashing when hw mediacodec enabled) but with software codec I can play sd content without an issue and also tvheadend client works perfect.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
please, lets keep this thread MediaCodec specific.