Problems with hardware decoding

Hey

I’ve had several problems recently with certain video files. They start playing fine for a few milliseconds. Then the video playback stops and tv company logo stays on the screen. Audio plays fine on the background. I tried with different settings (adjust refresh rate etc) with no luck, but when I disabled hardware decoding, it worked better. Audio and video was badly out of sync (1080p 60fps video, so processor didn’t have power for decoding), but video didn’t freeze.

Most of the other files plays fine, but I’ve had problems with same shows different episodes recently.

Do you need a sample for that video or log from kodi?

Mediainfo log:

General
Unique ID : 201043312293608938857379923808331854898 (0x973F8895316D14CEB1A5B6EDD1597432)
Format : Matroska
Format version : Version 4 / Version 2
File size : 1.81 GiB
Duration : 39 min 57 s
Overall bit rate : 6 502 kb/s
Encoded date : UTC 2017-05-15 16:45:43
Writing application : mkvmerge v7.6.0 (‘Garden of Dreams’) 64bit built on Feb 8 2015 13:04:34
Writing library : libebml v1.3.1 + libmatroska v1.4.2

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 39 min 57 s
Bit rate : 6 276 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.101
Stream size : 1.75 GiB (97%)
Writing library : x264 core 144 r2525 40bb568
Encoding settings : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=48 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=17.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.30 / pb_ratio=1.20 / aq=3:0.80
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : E-AC-3
Format/Info : Enhanced Audio Coding 3
Format settings, Endianness : Big
Codec ID : A_EAC3
Duration : 39 min 56 s
Bit rate mode : Constant
Bit rate : 224 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 187.500 FPS (256 spf)
Compression mode : Lossy
Stream size : 64.0 MiB (3%)
Language : English
Service kind : Complete Main
Default : Yes
Forced : No

Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 39 min 4 s
Bit rate : 116 b/s
Count of elements : 1445
Stream size : 33.2 KiB (0%)
Language : English
Default : No
Forced : No