2015-10-29, 09:04
I have a new Amlogic platform S905. I see it can not play H265 4k and H264 4k with amcodec. Kodi check aml platform if supported h265 and 4k using read the aml device in /proc/cpuinfo Hardware.
But I cat the s905 cpuinfo is
Processor : AArch64 Processor rev 4 (aarch64)
processor : 0
Features : fp asimd crc32 wp half thumb fastmult vfp edsp neon vfpv3 tlsi vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Hardware : Amlogic
So Kodi can't read aml device type. And return AML_DEVICE_TYPE_UNKNOWN.
Usually, Amlogic platform can get what hardware supported video profile used /sys/class/amstream/vcodec_profile,
I cat the profile on S905:
shell@p200:/ $ cat /sys/class/amstream/vcodec_profile
mpeg12:;
mpeg4:;
vc1:progressive, interlace, wmv3;
h264:;
hmvc:;
h264_4k2k:;
hevc:4k, 9bit, 10bit, dwrite, compressed;
mjpeg:;
real:rmvb,;
avs:avs+;
And Can we use it to check aml if supported h264 4k and hevc 4k
But I cat the s905 cpuinfo is
Processor : AArch64 Processor rev 4 (aarch64)
processor : 0
Features : fp asimd crc32 wp half thumb fastmult vfp edsp neon vfpv3 tlsi vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Hardware : Amlogic
So Kodi can't read aml device type. And return AML_DEVICE_TYPE_UNKNOWN.
Usually, Amlogic platform can get what hardware supported video profile used /sys/class/amstream/vcodec_profile,
I cat the profile on S905:
shell@p200:/ $ cat /sys/class/amstream/vcodec_profile
mpeg12:;
mpeg4:;
vc1:progressive, interlace, wmv3;
h264:;
hmvc:;
h264_4k2k:;
hevc:4k, 9bit, 10bit, dwrite, compressed;
mjpeg:;
real:rmvb,;
avs:avs+;
And Can we use it to check aml if supported h264 4k and hevc 4k