MKV's movies are not playing smoothly

Hi
I have a problem with play movie in the MKV format. Is not playing smoothly.
I was trying to find solution but withou success.

In the kodi.log file I see:

11:19:57 59.868172 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
11:19:57 59.875854 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 1
11:19:57 59.909306 T:1494504432 ERROR: ffmpeg[591453F0]: [aac] element type mismatch 3 != 0
11:19:57 59.929161 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
11:19:57 59.959415 T:1494504432 ERROR: ffmpeg[591453F0]: [aac] element type mismatch 3 != 0
11:19:57 60.028183 T:1504515056 ERROR: Previous line repeats 2 times.
11:19:57 60.028454 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 1
11:19:58 60.070362 T:1494504432 DEBUG: CDVDPlayerAudio::HandleSyncError rr:0.99887 error:9.300ms
11:19:58 60.071327 T:1494504432 ERROR: ffmpeg[591453F0]: [aac] element type mismatch 3 != 0
11:19:58 60.173214 T:1504515056 ERROR: Previous line repeats 2 times.
11:19:58 60.173458 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
11:19:58 60.198200 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 1
11:19:58 60.208908 T:1494504432 ERROR: ffmpeg[591453F0]: [aac] element type mismatch 3 != 0
11:19:58 60.304497 T:1504515056 ERROR: Previous line repeats 1 times.
11:19:58 60.307720 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
11:19:58 60.309071 T:1494504432 ERROR: ffmpeg[591453F0]: [aac] element type mismatch 3 != 0
11:19:58 60.336323 T:1504515056 ERROR: Previous line repeats 1 times.
11:19:58 60.336674 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
11:19:58 60.360905 T:1494504432 ERROR: ffmpeg[591453F0]: [aac] element type mismatch 3 != 0
11:19:58 60.390301 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
11:19:58 60.409142 T:1494504432 DEBUG: Previous line repeats 1 times.
11:19:58 60.409397 T:1494504432 ERROR: ffmpeg[591453F0]: [aac] element type mismatch 3 != 0
11:19:58 60.483406 T:1504515056 ERROR: Previous line repeats 1 times.
11:19:58 60.483669 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 0
11:19:58 60.492451 T:1958036016 DEBUG: ProcessMouse: trying mouse action leftclick
11:19:58 60.493305 T:1504515056 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 1
11:19:58 60.593777 T:1648219120 DEBUG: CDVDMsgGeneralSynchronize - global timeout
11:19:58 60.594028 T:1648219120 DEBUG: CDVDPlayer - CDVDMsg::GENERAL_SYNCHRONIZE
11:19:58 60.594151 T:1958036016 DEBUG: CDVDMsgGeneralSynchronize - global timeout
11:19:58 60.594791 T:1958036016 DEBUG: CAnnouncementManager - Announcement: OnPause from xbmc
11:19:58 60.595051 T:1958036016 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPause

Info about movie:
Format : Matroska
Format version : Version 4 / Version 2
File size : 443 MiB
Duration : 55mn 57s
Overall bit rate : 1 106 Kbps
Encoded date : UTC 2015-05-23 02:18:21
Writing application : mkvmerge v7.9.0 (‘Birds’) 64bit
Writing library : libebml v1.3.1 + libmatroska v1.4.2

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 55mn 57s
Bit rate : 906 Kbps
Width : 1 920 pixels
Height : 960 pixels
Display aspect ratio : 2.000
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Original frame rate : 23.976 (23976/1000) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.021
Stream size : 363 MiB (82%)
Writing library : x265 1.7+2-d7b100e51e82:[Windows][GCC 4.8.2][64 bit] 16bpp
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=20 / lookahead-slices=0 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / weightp / no-weightb / aq-mode=1 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=0.30 / rdoq-level=0 / psy-rdoq=0.00 / signhide / deblock / sao / no-sao-non-deblock / b-pyramid / cutree / rc=2 / pass / bitrate=905 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30
Default : Yes
Forced : No

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 55mn 57s
Bit rate : 192 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz / 24.0 KHz
Frame rate : 23.438 fps (1024 spf)
Compression mode : Lossy
Delay relative to video : 31ms
Stream size : 76.8 MiB (17%)
Language : English
Default : Yes
Forced : No

Text
ID : 3
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : Picture based subtitle format used on DVDs
Duration : 53mn 3s
Bit rate : 6 753 bps
Count of elements : 746
Stream size : 2.56 MiB (1%)
Language : English
Default : No
Forced : No

Menu
00:00:00.000 : en:00:00:00.000
00:04:59.299 : en:00:04:59.299
00:11:28.062 : en:00:11:28.062
00:20:00.908 : en:00:20:00.908
00:30:52.559 : en:00:30:52.559
00:40:10.158 : en:00:40:10.158
00:49:55.451 : en:00:49:55.451
00:53:43.554 : en:00:53:43.554

The problem is not the MKV format, it is simply a container that holds the multimedia files.

Your problem is the HEVC (H.265) format. The Pi has no hardware decoder for this format, and is to slow to decode it by software.

1 Like

Thx thansen_dk for info.
Regards