Support Thread for MediaCodec

  Thread Rating:
  • 5 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
SaEt9000 Offline
Member
Posts: 58
Joined: Mar 2014
Reputation: 0
Post: #151
Hi,

i just tried the SPMC Version 13.2. with mediacodec. It is the first version xbmc which works with mediacodec on himedia Q10 with hisilicon chipset. Until before xbmc always crashes on himedia with mediacodec.
The decoding seems to be better, with deinterlace and easier to navigate on video.
Further tests will follow.

Is this mediacodec Version implemented in actual nightly builds of XBMC ?

Only VC1-coded video is still much to slow.... and 100% CPU usage.

SaEt9000
find quote
Kib Offline
Team-Kodi Server Dude
Posts: 3,454
Joined: Jan 2010
Reputation: 54
Location: NL
Post: #152
(2014-07-11 01:28)phate89 Wrote:  
(2014-07-10 18:49)Koying Wrote:  Using ART, are you.
There will be some fixes for ART in the coming 13.2.

I tried to switch to dalvik and i got the same result:
Here's the log:
http://xbmclogs.com/show.php?id=244244
And here's the logcat:
https://dl.dropboxusercontent.com/u/2219...dalvik.txt
btw when will be out this 13.2 and these fixes are already in helix alphas?

13.2-beta1 is available on the mirrors, blog post will follow soon.

Neon skin - v3.0.8 now available for XBMC 13.x (Gotham)
(This post was last modified: 2014-07-11 16:59 by Kib.)
find quote
SaEt9000 Offline
Member
Posts: 58
Joined: Mar 2014
Reputation: 0
Post: #153
13.2-beta1 is available on the mirrors, blog post will follow soon.


but the mediacodec is not the same as in SPMC 13.2 - isnt it?

SaEt9000
(This post was last modified: 2014-07-11 17:45 by SaEt9000.)
find quote
Koying Offline
Team-Kodi Member
Posts: 1,974
Joined: Sep 2008
Reputation: 44
Location: Brussels, Belgium
Post: #154
MediaCodec in SPMC contains fixes which were postponed to Helix.
find quote
phate89 Offline
Senior Member
Posts: 243
Joined: Nov 2012
Reputation: 4
Post: #155
Tried the new gotham beta but it still crashes. Is there any chance that spmc fixed this bug?
find quote
SaEt9000 Offline
Member
Posts: 58
Joined: Mar 2014
Reputation: 0
Post: #156
The mediacodec Version in SPMC 13.2.1 , xbmc 13.2 beta2 and in Helix nightly - is it the Same now or are there still differences ?

Tanks
SaEt9000
find quote
Koying Offline
Team-Kodi Member
Posts: 1,974
Joined: Sep 2008
Reputation: 44
Location: Brussels, Belgium
Post: #157
Just try or check the code. I don't keep a specific list, you know Wink
AND link a logcat in case of crash...
find quote
RockerC Offline
Fan
Posts: 331
Joined: May 2011
Reputation: 4
Post: #158
Does Android's MediaCodec API and/or libstagefright currently support HEVC / H.265 hardware decoders?

All that I could find that kind of looked to be somewhat related when searching online was these articles
https://software.intel.com/en-us/android...ed-android
https://software.intel.com/en-us/article...-platforms
https://software.intel.com/en-us/android...-platforms

Reason I ask is that more and more new Android hardware coming out now claim to support HEVC/H.265

Really just wondering if XBMC will support hardware decoding of HEVC / H.265 on those out-of-the-box?
find quote
Koying Offline
Team-Kodi Member
Posts: 1,974
Joined: Sep 2008
Reputation: 44
Location: Brussels, Belgium
Post: #159
Probably not. Haven't got a device supposed to support it, yet, but even S/W decoding does not seem to work in Gotham.
find quote
phate89 Offline
Senior Member
Posts: 243
Joined: Nov 2012
Reputation: 4
Post: #160
(2014-07-30 15:51)Koying Wrote:  Probably not. Haven't got a device supposed to support it, yet, but even S/W decoding does not seem to work in Gotham.
ffmpeg in gotham is 1.1 so it hasn't hevc decoding support even by software. sw hevc works in helix because it has ffmpeg 2.3
find quote
SaEt9000 Offline
Member
Posts: 58
Joined: Mar 2014
Reputation: 0
Post: #161
(2014-07-26 20:23)Koying Wrote:  Just try or check the code. I don't keep a specific list, you know Wink
AND link a logcat in case of crash...

Hi,
I was on vacation - thats Why I needed some days..

I made tests now with mediacodec: on (libstagefrigth always off)

SPMC 13.3 - mediacodec works fine with h264.video (but still some interlace-problems with 1080i-video, I can enable "deinterlace" but there is no effect)
XBMC 13.2 beta3 with enabled mediacodec xbmc crashes by starting h264-video
the same is in XBMC (kodi) 14.0 alpha2 helix - it crashes mith mediacodec:on by using h264video

Here is a locgat from device with xbmc 13.2 beta3
http://xbmclogs.com/show.php?id=260716

I only startet xbmc 13.2 and tried to start the video. Im not familiar with logcat ... is it the infomation you need?

Thanks a lot

SaEt9000
find quote
Hedda Offline
Senior Member
Posts: 270
Joined: Feb 2013
Reputation: 5
Post: #162
(2014-07-30 15:51)Koying Wrote:  
(2014-07-30 14:17)RockerC Wrote:  Does Android's MediaCodec API and/or libstagefright currently support HEVC / H.265 hardware decoders?

All that I could find that kind of looked to be somewhat related when searching online was these articles
https://software.intel.com/en-us/android...ed-android
https://software.intel.com/en-us/article...-platforms
https://software.intel.com/en-us/android...-platforms

Reason I ask is that more and more new Android hardware coming out now claim to support HEVC/H.265

Really just wondering if XBMC will support hardware decoding of HEVC / H.265 on those out-of-the-box?
Probably not. Haven't got a device supposed to support it, yet, but even S/W decoding does not seem to work in Gotham.
It appers that the a first initial patch for Rockchip RK3288 hardware HEVC/H265 decoding on Android (StageFright and MediaCodec API) have now been submitted as a pull request for merger into Kodi/XBMC here on GitHub

https://github.com/xbmc/xbmc/pull/5374

Many people are waiting for this before purchasing these new boxes, and I would guess that Android development help is wanted for this code to get it working properly
find quote
shomari Offline
Member
Posts: 50
Joined: Feb 2014
Reputation: 0
Post: #163
HEVC hardware decoding is being done with mediacodec in a modded XBMC build, but the factory won't release its sources.

http://forum.xbmc.org/showthread.php?tid...pid1795142
find quote
Post Reply