Hello - I have a Pi4 with 19.1 that plays well for a while and then stutters after playing for about 15-30 minutes (approximately - might be shorter or longer). Noticed it with both DVD and Blu ray files. I have to stop playing and then resume, and then it will play again properly for a while and then stutter again.
by stuttering i mean there appears to be some dropped frames and also dropped audio for very short but noticeable periods.
no. there’s no case on the pi4.
i also have not seen any thermometer warnings on the screen to let me know it is too hot (maybe not relevant with pi4 (?) but i have seen them on the pi3).
this is with playing a 480p file. not a 4k or even a 1080p.
do the logs point to any issues?
thanks.
i just did the change you suggested to the core_freq_min setting. i’ll let you know how it goes.
here is the mediainfo for one of the files. it’s quite long so i’ll post this one here and wait to see if i should post any others to a different location like the pastebin.
thank you.
General
Unique ID : 160124629908470935721161708339456712543 (0x7876E1C7F6E3D8281B25E63F038D1F5F)
Complete name : \192.168.0.15\My Book\Video\Enemy at the Gates.mkv
Format : Matroska
Format version : Version 2
File size : 5.39 GiB
Duration : 2 h 11 min
Overall bit rate mode : Variable
Overall bit rate : 5 888 kb/s
Encoded date : UTC 2014-12-09 17:28:30
Writing application : MakeMKV v1.8.14 win(x64-release)
Writing library : libmakemkv v1.8.14 (1.3.0/1.4.1) win(x64-release)
Video
ID : 1
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Bit rate mode : Variable
Bit rate : 5 131 kb/s
Maximum bit rate : 9 800 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Original frame rate : 23.976 FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Scan order : 2:3 Pulldown
Compression mode : Lossy
Time code of first frame : 00:59:59;00
Time code source : Group of pictures header
Language : English
Default : No
Forced : No
Color primaries : BT.601 NTSC
Transfer characteristics : BT.601
Matrix coefficients : BT.601
Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 11 min
Bit rate mode : Constant
Bit rate : 448 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 : 27 ms
Stream size : 420 MiB (8%)
Title : Surround 5.1
Language : English
Service kind : Complete Main
Default : Yes
Forced : No
Duration_Source : General_Duration
Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 11 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : 27 ms
Stream size : 180 MiB (3%)
Title : Stereo
Language : English
Service kind : Complete Main
Default : No
Forced : No
Duration_Source : General_Duration
Text
ID : 4
Format : VobSub
Codec ID : S_VOBSUB
Codec ID/Info : Picture based subtitle format used on DVDs
Language : English
Default : Yes
Forced : No
i think i did this in order to make the client pi’s able to connect. maybe that wasn’t necessary? if not, let me know. i think for me the easiest way to fix, so that i don’t screw up bookmarks that are already linked to specific files, would be to go into mysql and change the path for the specific pathid for these files. Sound good to you? Thank you again for your help here.
Don’t change the database entries. To achieve a single database between local attached and remote clients use path substitution (see below) .
Alternatively you can use Kernel Mounts on all and mount the disks/shares on all of them on the same folders.
While you may even get away with the extra loop going through Samba as you do now it is surely extra burden.
If you would like to use a MySQL database for several Kodi clients that use different methods to access the shared media (e.g. a mix of SMB, NFS and/or system mount based access), or have need of modifying a path of an existing source (such as converting from a Kodi path to a system mount) you can use the path substitution function of Kodi to facilitate this. The following guide will provide instruction on how this works, including a section specific to MySQL usage and how your sources should be configured.