Stuttering 1080p MKV x264 since Kodi 17

I seem to have problems with 1080p videos on my Vero since the upgrade to Kodi 17. I didn’t notice at first because I have a mix of 720p and 1080p videos in my library and when I stumpled upon a stuttering video I just thought it was a bad encode. However I have had more and more problems and now found out that the stuttering only occurs with 1080p videos and that there is (as good as) no stutter with OSMC 2017-01.

The stuttering in detail seems like the video is moving normally but every 2 - 4 seconds it seems to lag a bit behind, speed up to make up for it, go normal, lag behind, speed up, etc. This is especially visible in scenes where the camera pans vertically or horizontally.
Adjusting the display refresh rate is active (see detailed settings per image, furhter down)

So I prepared two SD cards - one with a fresh 2017-03 and one with a fresh 2017-01. Below you will find the log files for both and the media info of the played file. Hopefully you can figure out, what the problem is!

I am going to configure the 2017-01 system already to my “daily use” (adding add-ons, installing additional applications) to not squander with the WAF :wink: but I should be able to switch through the two versions, should you need additional info. I will also keep the 2017-03 otherwise untouched if you have some suggestions/improvements to test there.

General setup
Vero is attached via LAN to a router. There is a 5Ghz Wifi Bridge to another router, where the NAS is attached. Speedtests with the ‘dd’ command resulted in ~30 MB/s, so that’s definitely not the bottleneck. I also tried ~2GB files on a USB stick - the results are the same.
The files of the NAS are accessed via NFS share which is mounted to a local folder at boot via /etc/fstab

Media info

General
Unique ID                                : 207781908916030101946095277698649394047 (0x9C51570C18C72EABA152459549AB8B7F)
Complete name                            : The Girl on the Train.2016.1080p.DON.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 16.1 GiB
Duration                                 : 1h 52mn
Overall bit rate                         : 20.6 Mbps
Movie name                               : The Girl on the Train 2016 1080p BluRay DTS x264-DON
Encoded date                             : UTC 2017-01-09 10:21:33
Writing application                      : mkvmerge v8.2.0 ('World of Adventure') 64bit
Writing library                          : libebml v1.3.1 + libmatroska v1.4.2
Attachements                             : Cover.jpg
DURATION                                 : 01:51:06.910000000
NUMBER_OF_FRAMES                         : 1169
NUMBER_OF_BYTES                          : 34385
_STATISTICS_WRITING_APP                  : mkvmerge v8.2.0 ('World of Adventure') 64bit
_STATISTICS_WRITING_DATE_UTC             : 2017-01-09 10:21:33
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

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                                 : 1h 52mn
Bit rate                                 : 18.5 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 038 pixels
Display aspect ratio                     : 1.85:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.386
Stream size                              : 14.4 GiB (90%)
Title                                    : The Girl on the Train 2016 ~ HDBits Internal
Writing library                          : x264 core 148 r2705+54 9f484c1 t_mod_Custom [8-bit@all X86_64]
Encoding settings                        : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=11 / psy=1 / fade_compensate=0.00 / psy_rd=1.05:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=9 / 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=0 / crf=17.7000 / qcomp=0.65 / qpmin=0:0:0 / qpmax=69:69:69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.30 / pb_ratio=1.20 / aq=3:0.75 / aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0 / zones=26,399,crf=14.7/411,1055,crf=14/9523,9720,crf=17/20572,20643,crf=17/21038,21280,crf=17/21518,21812,crf=17/45990,46141,crf=17/79399,79514,crf=14/82952,83126,crf=14.7/85826,86116,crf=14/86117,86407,crf=17/89642,89925,crf=16/93652,93834,crf=16/95324,95647,crf=17/96037,96149,crf=14/117843,117925,crf=16/118062,118206,crf=14/121279,121659,crf=14/121751,122355,crf=14.7/123544,124426,crf=16.5/142397,142429,crf=14.7/142531,142568,crf=14.7/150016,150024,crf=14/153085,153093,crf=14/153100,161238,crf=22
Language                                 : English
Default                                  : Yes
Forced                                   : No
Matrix coefficients                      : BT.709
DURATION                                 : 01:52:05.010000000
NUMBER_OF_FRAMES                         : 161239
NUMBER_OF_BYTES                          : 15855806383
_STATISTICS_WRITING_APP                  : mkvmerge v8.2.0 ('World of Adventure') 64bit
_STATISTICS_WRITING_DATE_UTC             : 2017-01-09 10:21:33
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Audio #1
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 1h 52mn
Bit rate mode                            : Constant
Bit rate                                 : 1 509 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 1.18 GiB (7%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Format profile                           : Dolby Digital
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 1h 52mn
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 154 MiB (1%)
Title                                    : Commentary with director Tate Taylor
Language                                 : English
Default                                  : No
Forced                                   : No

Text #1
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : English
Default                                  : No
Forced                                   : No

Text #2
ID                                       : 5
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Title                                    : SDH
Language                                 : English
Default                                  : No
Forced                                   : No

Text #3
ID                                       : 6
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Title                                    : Commentary with director Tate Taylor
Language                                 : English
Default                                  : No
Forced                                   : No

Text #4
ID                                       : 7
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : French
Default                                  : No
Forced                                   : No

Text #5
ID                                       : 8
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Text #6
ID                                       : 9
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Vietnamese
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : en:00:00:00.000
00:06:01.778                             : en:00:06:01.778
00:09:29.903                             : en:00:09:29.903
00:18:15.970                             : en:00:18:15.970
00:25:26.150                             : en:00:25:26.150
00:32:04.506                             : en:00:32:04.506
00:37:04.973                             : en:00:37:04.973
00:44:52.315                             : en:00:44:52.315
00:49:22.459                             : en:00:49:22.459
00:55:07.012                             : en:00:55:07.012
00:59:36.031                             : en:00:59:36.031
01:03:34.811                             : en:01:03:34.811
01:09:25.787                             : en:01:09:25.787
01:14:36.430                             : en:01:14:36.430
01:19:08.702                             : en:01:19:08.702
01:23:44.728                             : en:01:23:44.728
01:28:07.491                             : en:01:28:07.491
01:33:49.457                             : en:01:33:49.457
01:38:54.554                             : en:01:38:54.554
01:45:55.182                             : en:01:45:55.182

2017-03
http://paste.osmc.io/nazekibate

Resolution: 1920x1080p
Refresh rate: 60
Audio passthrough: On for all formats
Adjust display refresh rate: On start/stop
Sync playback to display: Off

2017-01
http://paste.osmc.io/hehuzurike

Resolution: 1920x1080p
Refresh rate: 60
Audio passthrough: On for all formats
Adjust display refresh rate: On start/stop
Sync playback to display: Off
Vertical blank sync: Let driver choose

There’s some issue with some 1080p content in Kodi Krypton on the original Vero. I’m looking in to resolving this.

We did have some playback improvements in this month’s update, however it does not appear to have resolved the issue entirely.

Cheers

Sam

Ah, well, since the issue is known - was that mentioned somewhere? Did I overlook that in the blog or changelog posts?
Otherwise: a warning for Vero users would have been nice :wink:

@PreacherAT: Its this thread in the Vero category of this forum: Choppy video since Krypton update on Vero 1

We are waiting so long to get this fixed.

Ah, thanks for the link. I was already wondering why I would be the only one posting if it’s a known issue. I guess I always used the wrong search term before posting :wink:

Jim

I understand your frustration. We fixed the issues that we were aware of in February and I believe playback has improved for most clips and this has kept most users happy.

Understandably, everything that played before should play now, and we’re working on this. You’ve only recently shown us new problems. Now we’re getting them fixed.

Thank you for your patience.

Sam

Sorry Sam but I don’t agree with you.
All my problems since the introduction of kodi 17 are still there . Nothing has been resolved.
I did not send in any debug logs but I have exactly the same problems as Jim.

Maybe a lot users don’t complain because you can only see it in specific 1080p content (and some don’t see it)
The problems are still out there and we are all still waiting on the fix.

You know I mentioned earlier in an other post about forgetting the Vero1 users and I still have that feeling.

Tia
Leurb

Please upload some debug logs and a MediaInfo sample. A user reported a problem with a clip and provided MediaInfo, and we fixed playback for it.

I already have some sample clips that we are making progress on, but I can only work on files that I have. I hope that we don’t introduce more fixes only to hear that the issue is still not resolved for you.

It seems that there are changes that have been made in Kodi v17’s VideoPlayer that are causing problems. You’re not forgotten, but resolving these issues takes time, and we need to know what plays well and what doesn’t.

Thanks for your understanding.

1 Like

Hi Sam,

Sorry for the delay but here are some extra logs.
mediainfo: http://paste.osmc.io/exareginag
debug log: http://paste.osmc.io/ubobokojik

Hope the are complete (first time logger)

Leurb