Video stuttering on Vero and RPi3 (v18)

Hi all,

o̶h̶ ̶n̶o̶,̶ ̶n̶o̶t̶ ̶h̶i̶m̶ ̶a̶g̶a̶i̶n̶

I am experiencing stuttering video and I am willing to be there is a setting missing to stop this from happening. Pretty sure this has only started happening since I did fresh installs on all my devices to move them all back to v18 - long story. So I may have (years back) enabled a setting to avoid this problem, but I can’t figure out what it would have been.

OSMC “appears” to be dropping a frame every few seconds, to my eye at least. What’s the best way to go around finding the issue?

Here’s a mediainfo dump from the file.

I’ve got logs from the network issue that ruined my day yesterday, here that should show my setup: https://paste.osmc.tv/osoqamuwer

General
Unique ID                                : 220987144612078343487161861870640413588 (0xA640936F0DE3793889A3F777EBCFBB94)
Complete name                            : /Volumes/Downloads/Grand Designs - S22E02 (08 September 2021) [720p mkv subs]/Grand Designs S22E02 HDTV 720p x264 Subs GTi.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 986 MiB
Duration                                 : 46 min 54 s
Overall bit rate                         : 2 940 kb/s
Encoded date                             : UTC 2021-09-08 23:46:51
Writing application                      : mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
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 / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 46 min 54 s
Bit rate                                 : 2 809 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.122
Stream size                              : 942 MiB (96%)
Writing library                          : x264 core 161 r3043 59c06095
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=22 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 46 min 54 s
Bit rate                                 : 129 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
Delay relative to video                  : 131 ms
Stream size                              : 43.1 MiB (4%)
Title                                    : Stereo
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                                 : 46 min 25 s
Bit rate                                 : 103 b/s
Count of elements                        : 841
Stream size                              : 35.3 KiB (0%)
Language                                 : English
Default                                  : No
Forced                                   : No

The first thing you should probably check is that Settings>Player>Videos>Adjust display refresh rate is set to On start/stop.

3 Likes

100% - as soon as you said it I remembered doing it on the Vero when I first got it last year. Thank you!!

2 Likes

This helped me get rid of stutters on my rpi3 & osmc/Kodi v19! Thank you!