Hello everybody,
I'm building firmware for Amlogic s905x media box based on Amlogic sources. And I have same problem with h264 videos with resolution >1080p.
After some research I found solution. To enable proper hardware decoding need to switch from h264_4k2k decoder to pure h264.
I commented this lines in xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp:
[code]
/*if (am_private->video_format == VFORMAT_H264) {
CLog::Log(LOGDEBUG, "_MY CAMLCodec::OpenDecoder - video_format == VFORMAT_H264");
if (hints.width > 1920 || hints.height > 1088) {
am_private->video_format = VFORMAT_H264_4K2K;
}
}*/
[/code]
More information can be found here - Amlogic hardware support
After that change all h264 videos works well.
Still have problem with vp9 support. Do you have solution?