Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
Hevc should work. What are the symptoms?
Posts: 9,033
Joined: Feb 2012
Reputation:
551
2015-04-09, 08:27
(This post was last modified: 2015-04-09, 13:01 by wrxtasy.)
Yes you are right. It does work after a bit more fiddling with settings.
Previously I only had Amcodec selected in video hardware acceleration.
I've now enabled libstagefright and MediaCodec as well which results in am-h265 decode of HEVC video.
And guess what, I'm now able to playback h265 video over Networked shares.
Happy times indeed, nearly all problems solved. Just 24p support and I will have a near perfect Kodi media device.
EDIT. Damn I'm not able to produce consistent results. More testing needed. More often than not I get ff-hevc which is obviously ffmpeg software decoding.
Further feedback, I appears h265 decoding works until a poorly encoded file presents itself. Further tries to then get Amlogic h265 decoding working end up with ff-hevc and a reboot of the device is needed to restored h265 Amlogic hardware decoding.
Posts: 9,033
Joined: Feb 2012
Reputation:
551
2015-05-06, 06:58
(This post was last modified: 2015-05-06, 07:00 by wrxtasy.)
Another observation:
AMLogic S805 this time running an Ubuntu 14.04.2 LTS distro with Kodi Isengard Alpha2.
This plays every HEVC test file I can throw at it and never defaults to ff-hevc decoding, even with problematic encoded HEVC files.
The other bonus is 23.976fps video plays with near perfect sync.
It uses the am-h265 decoder.
Far more reliable than any of the Android / Kodi / AMlogic distros I've tested for HEVC decoding.
Posts: 1
Joined: Jun 2015
Reputation:
0
Good evening,
I hope you won't mind me jumping on this thread, it seems to be the most relevant to what I'm looking for--
I have an M8S (Amlogic S812) (eBay special) with Kodi 15 Beta 1, android 4.4.2 api 19 (kernel 3.10.33) screen res 1920x1080@60Hz (Samsung ue46d8000)
Been playing with HEVC - it seems to play the 720p stuff relatively well using hw decoding (am-h265) fps stable between 22-24.6 -- however, not quite perfect overall. Cpu0 ~10/20%, cpu2 100% (why not 4 CPUs?)
However, the 1080p...not a prayer...it does use the am-h265 decoder, but fps is a paltry 9/12, cup usage same as 720p. Vid is hevc (main 10). Tried a few of the hw settings to no avail.
Was wondering if anyone had any suggestions to try and get it working smoothly?
There is one thing on my list to try - the source is on a server connected to router via cable. Bridged to same router in another room which is wire connected to m8s.... The two routers are ac (asus ac66). I was going to put the rips onto an sd card and try playing it locally....though I would think the ac bridge is fast enough! Putting it on an sd card would also allow me to try through mx player.
I am happy to do some testing, so if there are specific sample files I can try to play let me know.
Otherwise, thank you for taking the time to read the post, and any thoughts/suggestions most welcome,
Posts: 294
Joined: Apr 2015
Reputation:
12
2015-06-03, 02:18
(This post was last modified: 2015-06-03, 02:27 by technisol.)
Please continue to post regarding the H.265 decoding on the S812. I have a CX-S806 with an S802 SOC. My next box will probably be the CX-S806 with an S812 so I definitely want to hear more!
I'm not fully up on H.265 as my S802 supposedly doesn't have support for it, but isn't the Main 10 the much tougher to decode version of the H.265 format because it's 10bit rather than 8? Maybe you're trying to run and jump leaps and bounds before you can crawl? I know, Main 10 is the holy grail, but what about support for plain old Main (8)? I know the S812 is supposed to be capable of hardware H.265 decoding, but did AMLogic even spec it as being capable of Main 10? (Uh, if you were playing MAIN 10 @ 720P with no problem I may have my answer already vis a vis Main 10 support. Then it may be some other bottleneck in the device, maybe it can't internally move the data around fast enough on the RAM bus or something...)
Posts: 294
Joined: Apr 2015
Reputation:
12
But the 812 & 805 are supposed to be able to hardware decode H.265... I guess just not up to MAIN 10 format, limited to MAIN (8 bit format) then, I guess?
It "sounded" like popdroidtv has hardware decoding working on MAIN10 formats up to 720P from his post above, but it pooped out on 1080 -at least that is how I read it.