Mini M8S II (S905X) - 7.02.009 - Corrupted x265 screenshots

  • Hi kszaq :)

    using the latest stable 7.02.009 (and also 7.02.008, IIRC) screenshots of x265 files are corrupted. Issue is always reproductible, with any x265 file.

    Playing a x264 file an taking a screenshot : OK

    Stopping the file, playing a x265 file : screenshot is corrupted, a "ghost" of the previous (x264) file can be seen.

    Playing a x265 file after reboot results in this screenshot :

    Corrupted (x265) screenshots are much smaller than correct (x264) ones.

    I don't see errors in kodi.log when screenshot is taken.

    Don't hesitate if you need some more testing.

  • Some information on this from codesnake:

    Quote


    I checked the 4K rendercapture issue on Amlogic and I found that there's a problem with all HEVC-encoded videos. AML HEVC decoder produces frames in some compressed form that is recognized by renderer but isn't recognized by amvideocap driver. Currently I don't know how to fix the amvideocap driver, but I found a workaround:
    echo 0x10 > /sys/module/amvdec_h265/parameters/double_write_mode
    After that HEVC frames should be captured just fine (including 4K).