HEVC support on AMLogic

  • Are these 10bit colour depth ?


    Not necessarily. This one says 8bit.
    Here is a mediainfo:


    General
    Unique ID : 306751288999060812738743055739272096652 (0xE6C6263847B9F14FE6180F25D168EB8C)
    Complete name : BLABLABLA1080p.AMZN.WEBRip.DD5.1.HEVC.x265.mkv
    Format : Matroska
    Format version : Version 4 / Version 2
    File size : 1.08 GiB
    Duration : 51 min 50 s
    Overall bit rate : 2 971 kb/s
    Writing application : Lavf57.51.100
    Writing library : Lavf57.51.100 / Lavf57.51.100


    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Format profile : Main@L4@Main
    Codec ID : V_MPEGH/ISO/HEVC
    Duration : 51 min 50 s
    Bit rate : 2 272 kb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 25.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Bits/(Pixel*Frame) : 0.044
    Stream size : 842 MiB (76%)
    Writing library : x265 2.3+1-7e225aefd389:[Linux][GCC 5.4.0][64 bit] 8bit
    Encoding settings : cpuid=1173503 / frame-threads=3 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=25 / keyint=250 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=6 / scenecut=40 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / analysis-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=2434 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=255 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr
    Language : English
    Default : Yes
    Forced : No
    DURATION : 00:51:50.046000000

  • Execute this: echo 1 | tee /sys/module/amvdec_h265/parameters/double_write_mode
    works fine with 4k HEVC HDR media on my Odroid C2, although it cant display 10 bit correctly (washed out colors)


    I tried it but get a permission denied both with and without sudo:


    osmc2:~$ echo 1 | tee /sys/module/amvdec_h265/parameters/double_write_mode
    tee: /sys/module/amvdec_h265/parameters/double_write_mode: Permission denied
    1
    osmc@osmc2:~$ sudo echo 1 | tee /sys/module/amvdec_h265/parameters/double_write_mode
    tee: /sys/module/amvdec_h265/parameters/double_write_mode: Permission denied
    1

  • Yeah you should see a difference, at least for the Odroid C2 which uses the S905 CPU. On LibreELEC you need to execute this command on every startup, not sure about OSMC


    Sorry for the very late reply. I was superbusy and even forgot about your suggestion. Just tried it and.............works! :)
    Didn't try a lot of HEVC stuff but at least 1 movie is working.


    Any idea how I can automate the automatic running after a reboot?


    Now I still need to fix the colors/saturation/brightness item. That is on the Vera4k I run Hyperion NG and I can't seem to get the colors/saturation/brightness like I had them in Hyperion (on the pi3). I already messages penfold42 who hopefully can help me with that.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!