[19.1] Video artefacts on 10 bit anime

Here’s the log with debug on: https://paste.osmc.tv/ucexizetil
mediainfo:
General
Unique ID : 179818564297361165894522787222850349328 (0x8747CBB683B933A2B9D1601AD473A910)
Complete name : Z:\Anime\Kabaneri of the Iron Fortress (2016)\Season 1\Kabaneri of the Iron Fortress - S01E08.mkv
Format : Matroska
Format version : Version 4
File size : 392 MiB
Duration : 22 min 54 s
Overall bit rate : 2 392 kb/s
Encoded date : UTC 2016-06-02 21:10:38
Writing application : mkvmerge v8.3.0 (‘Over the Horizon’) 32bit
Writing library : libebml v1.3.1 + libmatroska v1.4.2

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 10@L5
Format settings : CABAC / 16 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 16 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 22 min 54 s
Bit rate : 2 201 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.100
Stream size : 361 MiB (92%)
Writing library : x264 core 148 r2692 64f4e24
Encoding settings : cabac=1 / ref=16 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=0.70:0.10 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=10 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=3:0.80
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : A_AAC-2
Duration : 22 min 54 s
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 30.9 MiB (8%)
Default : Yes
Forced : No

The video play just fine except for the artefact seen in the screenshots, also plays fine and no artefact in software decoding, or HW decoding and 8bit conversion, i have sonarr set up so i get 10 bit anime if i like it or not. is there any way to get rid of the artefacts using HW decoding? or force SW decoding if 10 bit is played so i don’t have to keep going back in the settings ?


The Pi doesn’t support Hi10 decodingn, so this is expected.