Android Test builds for HEVC / H.265 support on AMLogic and StageFright/MediaCodec?
#61
(2015-02-18, 06:34)Ned Scott Wrote: I haven't tried this with Android lately, but it's working pretty well using this unofficial OpenELEC build: http://www.freaktab.com/showthread.php?2...eelink-MXQ

Even with this version of OpenELEC the video https://mega.co.nz/#!Ug4yhKBB!fbDsyWYgBZ..._z0WDbg_AI
is not working in my MK808B-Plus.

Infact int the Known issues in the OpenELEC thread:
some HEVC videos won't play using hardware decoding (issue also present in Android)
Reply
#62
(2015-02-19, 01:19)Dark_Slayer Wrote:
(2015-02-18, 11:41)Hedda Wrote: - Automatic frame rate refresh

This is already supported in SPMC though correct? Does spmc do 23.976, or would openelec, or are both 24.000?

I've been playing with SPMC 14.2.0 on an Amlogic S805 / ODROID-C1 and yes Automatic frame rate refresh switching works well, however the usual Android limitations of 24Hz still apply and there is a very minor video glitch every so often when playing 23.976fps video.

Video playback is naturally a lot smoother on my 24p Sony TV than when using 60Hz and the resulting 3:2 video pulldown that produces too much video panning judder for me.

Is there any perfect 24p (23.976fps) video sync for Amlogic SOC's coming down the pipe ?



I cannot get Amlogic hardware decode (S805) of HEVC video working at all using any of the Isengard nightlies. I call on the external MXPlayer to handle the H265 codecs which works well.

Kodi Isengard running on Ubuntu 14.04 seems to sometimes work to Amlogic hardware decode h265 video.

Reply
#63
Hevc should work. What are the symptoms?
Reply
#64
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.

Reply
#65
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.

Reply
#66
Interested Smile Where did you install your Ubuntu on S805 from?
Reply
#67
Ubuntu 14.04 disk image downloaded straight from the ODROID servers...

http://odroid.com/dokuwiki/doku.php?id=e...nux_ubuntu
https://github.com/archlinuxarm/PKGBUILDs

Repos
https://github.com/mdrjr?tab=repositories

ODROID-C1 Kodi source:
https://github.com/mdrjr/xbmc/tree/k_c1

The nice thing with this Ubuntu image is you can logout of the Lubuntu desktop and log back into Kodi and upon the next reboot you boot quickly straight into Kodi ala an OpenElec distro. The Kodi 24Hz GUI is not quite a smooth as other refresh rates, with some slight VSync tearing. I will have to play around some more.

The only reason I have to run in 24 Hz is I cannot get dynamic frame rate adjustment working in Ubuntu / Kodi.
Is the code actually in Kodi Isengard Alpha2 ?

Played around and managed to get custom modelines in Xorg, but having issues with the Screen Subsection. X server / Mali will not accept standard text. Sad
No EDID on this device with Ubuntu currently. A RTC battery may help when it arrives in the post.
Any help appreciated with the dynamic frame rate issue.

Fixed up the rw permissions after this test run...log follows....
https://dl.dropboxusercontent.com/u/2764...d1.log.txt

23.976 fps / H264 content as is producing very near perfect video sync as well with the GUI at 24Hz. Far better sync than Android or OpenElec.

Reply
#68
(2015-05-06, 06:58)wrxtasy Wrote: 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.

How did you installed on S805? Also, are you able to play HEVC Main10 files?
Reply
#69
This is an ODROID-C1 with a S805.
There are quite a few distros to choose from, just flash the disk images to a SD card and insert. Just like an RPi.
http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1

No idea about HEVC Main10. Highest bitrate played so far is 5.1CH / 1080p @ 5Mb/s with a V_MPEGH/ISO/HEVC codec.
Data sheet here:
http://dn.odroid.com/S805/Datasheet/S805...150126.pdf

This device has a very major flaw. HDMI Video (for some) and Audio glitches (everyone) with refresh rates of 50Hz and above. HDMI AVR connections are an issue as well. Sad
Run it in 24Hz Refresh rate and its fine for me.
FIXED by Firware update 22 May.
See my sig for details
!!
!!
V

Reply
#70
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,
Reply
#71
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...)
Reply
#72
...

Reply
#73
@technisol
S802, S805 and S812 chipset are not able to decode HEVC Main10 by hardware. That would AMlogic S905 and S912 announced 2 months ago.
Reply
#74
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.
Reply
#75
8-bit HEVC in 3840x2160p up to 30fps is no problem in OpenELEC 5.0.8 (flash modded OE for CS-S806 with S812 SoC). Smile Goes with HW decode with no problem. But Main10 HEVC is decoded by software, and no chance there even with 1080p. I do not tried 720p, but I can.
Reply

Logout Mark Read Team Forum Stats Members Help
Test builds for HEVC / H.265 support on AMLogic and StageFright/MediaCodec?1