Choppy Playback on brand new Vero 4k+

I am playing the following video format and the file is essentially unwatchable, the screen basically refreshes every second or two. Audio is perfect and flawless, it is on the visual that is stuttering:

General
Unique ID                                : 32844...14061 (0xF718F1F...6ED6D)
Complete name                            : REMOVED.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 961 MiB
Duration                                 : 29 min 46 s
Overall bit rate                         : 4 512 kb/s
Writing application                      : mkvmerge v35.0.0 ('All The Love In The World') 64-bit
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 29 min 46 s
Bit rate mode                            : Constant
Bit rate                                 : 4 372 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.079
Stream size                              : 933 MiB (97%)
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 29 min 46 s
Bit rate                                 : 125 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                              : 26.7 MiB (3%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 29 min 34 s
Bit rate                                 : 251 b/s
Count of elements                        : 1094
Stream size                              : 54.6 KiB (0%)
Language                                 : English
Default                                  : No
Forced                                   : No

Other videos (including 4K) play with no problems at all, including a few samples of flawless videos:

General
Unique ID                                : 19942153369649...48947115110815 (0x960730B...F35D1B223B19F)
Complete name                            : REMOVED.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 13.5 GiB
Duration                                 : 3 h 1 min
Overall bit rate                         : 10.6 Mb/s
Encoded date                             : UTC 2019-07-30 10:01:56
Writing application                      : mkvmerge v21.0.0 ('Tardigrades Will Inherit The Earth') 64-bit
Writing library                          : libebml v1.3.5 + libmatroska v1.4.8

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Format settings, GOP                     : M=4, N=48
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 3 h 1 min
Bit rate mode                            : Constant
Bit rate                                 : 10 000 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 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                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.201
Stream size                              : 12.4 GiB (92%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 2
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Codec ID                                 : A_EAC3
Duration                                 : 3 h 1 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 13 ms
Stream size                              : 832 MiB (6%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Complexity index                         : 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Audio #2
ID                                       : 3
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : A_EAC3
Duration                                 : 3 h 1 min
Bit rate mode                            : Constant
Bit rate                                 : 256 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 16 ms
Stream size                              : 332 MiB (2%)
Title                                    : Writer and Directory Commentary
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Text #1
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 2 h 47 min
Bit rate                                 : 50 b/s
Count of elements                        : 2339
Stream size                              : 61.9 KiB (0%)
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
Duration                                 : 3 h 0 min
Bit rate                                 : 50 b/s
Count of elements                        : 2641
Stream size                              : 66.9 KiB (0%)
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
Duration                                 : 3 h 0 min
Bit rate                                 : 104 b/s
Count of elements                        : 3375
Stream size                              : 139 KiB (0%)
Title                                    : Writer and Directory Commentary
Language                                 : English
Default                                  : No
Forced                                   : No

Videos are playing over NFSv3 mount in the OS (fstab), not a caching problem again since the 4k video plays without any issues whatsoever.

Could you post a log please. Enable debug logging, reboot twice, play the problem video until the issue shows itself, stop the video, then upload full logs.

https://osmc.tv/wiki/general/how-to-submit-a-useful-support-request/

Please post a debug log so we can see what the issue is

Thanks

Sam

http://paste.osmc.io/omizuxefak.vhdl

It would be much more helpful if you had uploaded FULL logs so we could see what settings you are using. Are you using sync playback to display or did you change any of the player settings from default? I would recommend you try setting the following…

We recommend people with 4K TV’s set their user interface (UI) to 1080p. Kodi’s UI is not optimized for 4K yet and this can put unnecessary demands on your device and can lead to a suboptimal picture quality, as well as potentially cause other issues.

The settings we recommend are as follows…

Settings>System>Display>Resolution> 1920x1080p
Settings>System>Display>Whitelist> (empty)
Settings>Player>Videos>Adjust display refresh rate> On start/stop
Settings>Player>Videos>Sync playback to display> (disabled)

Some televisions may also need, or benefit from, the following being set…

System>Display>Force 4:2:2 colour subsampling> (enable)

With the above settings your UI will be output in Full HD and your 4K content will be output in 4K. If you have any doubt, feel free to upload some logs so we can verify that your settings are indeed correct.

I have all of those settings properly set, including trying with both: System>Display>Force 4:2:2 colour subsampling> (enable) and System>Display>Force 4:2:2 colour subsampling> (disabled) it’s still occurring.

I retrieved the logs (the full file) from ~/.kodi/temp/kodi.log (I just scrubbed some filenames and IMDB links) is there another file that would include my settings that I’m missing?

You should test your network with iperf3 and report findings.

Yes – all of the system logs via My OSMC.

Sam

Appreciate your patience with me, think I got them all this time: http://paste.osmc.tv/oxeloyihiy.xml

Also regarding the transfer test, I don’t think that is the problem here, but here it is anyway:

Connecting to host storage.storageserver.com, port 5201
[  4] local 192.168.2.93 port 43054 connected to 192.168.2.209 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   113 MBytes   113 MBytes/sec    0   2.31 MBytes       
[  4]   1.00-2.01   sec   109 MBytes   108 MBytes/sec    0   2.18 MBytes       
[  4]   2.01-3.00   sec   112 MBytes   113 MBytes/sec    0   2.37 MBytes       
[  4]   3.00-4.00   sec   112 MBytes   112 MBytes/sec    0   2.53 MBytes       
[  4]   4.00-5.00   sec   112 MBytes   112 MBytes/sec    0   2.67 MBytes       
[  4]   5.00-6.00   sec   112 MBytes   112 MBytes/sec    0   1.94 MBytes       
[  4]   6.00-7.00   sec   112 MBytes   112 MBytes/sec    0   2.06 MBytes       
[  4]   7.00-8.00   sec   112 MBytes   112 MBytes/sec    0   2.16 MBytes       
[  4]   8.00-9.00   sec   111 MBytes   111 MBytes/sec    0   2.22 MBytes       
[  4]   9.00-10.00  sec   112 MBytes   112 MBytes/sec    0   2.27 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.09 GBytes   112 MBytes/sec    0             sender
[  4]   0.00-10.00  sec  1.09 GBytes   111 MBytes/sec                  receiver

iperf Done.

fps_rate: 19001

Your file ‘PROBLEMVIDEO.mkv’ is not encoded correctly. The frame rate doesn’t match the container. Remuxing with a tool like mkvtoolnix might help. If you send a sample I can take a look at it, but I’m not sure if it’s a problem on our side.

As an aside, you installed nginx, but Kodi is probably using Port 80 for it’s web server, so you’ll need to fix that to complete the nginx installation.

Sam

Nice catch with nginx, I do move that over to a different port. I checked my other Vero 4K+ and it’s happening on all of them, but it’s working properly on my pi3 also running osmc.

What would be the best way to provide a sample of the video to you?

As suggested, you may want to first try remuxing it with mkvtoolnix first and see if your issue goes away.