Video freezing/lagging in kodi [Solved ]

Hi there, first of all THANK YOU for this awsome software. i am a 7 years old Plex pass user, and i can say that Plex is the worst complicated software to set up when you dont have internet. Jellyfin is easy and works in 5 minutes. I just miss a native client on windows.

Well, i write this post because i have installed this morning, in my living room, Jellyfin server in a windows 10 pc that also have an Nvidia graphic card. And in my bedroom i have an IntelNuc with windows 10 + kodi+Jellyfin addon.

Everything works perfectly except that video are freezing a bit. Video is going step by step. Looks like buffer issue or something like that ( maybe i am wrong). With movies in 1080 the freeze is way more intense, and with movies on low quality you have almost no freeze.
My bedroom Nuc is connected by wifi to my server.

i checked my Nuc and intel say that its able to play 4k movies. And my router its a Netgear R7000 so i think i should watch movies normally.

I tried changing the “transcoding” options, but when i hit the “save” configuration, i can see some kind of “working” animation that never stop, and when i reload the webpage i see that there is no modification accepted.
So i also tried to go to “user profile” and i changed to 720p-3MB/s perfectly, but i cant see any changes when i play videos on my bedroom intel nuc.

Any suggestion to try? i have no problem sending logs or whatever you need if you tell me how to do it.

Thanks !!!

Have you tried other media files, I’ve had issues before with individual files having strange issues. Also, have you been able to run a speed test from the NUC to the server?

I have another mini computer with Windows 10 and Kodi. I have the same issue. I only have movies and tv shows and 99% are mkv. Going to do a speedtest and post it for you

so, there i give you a map of the instalation i have at home, a Lan speed test i just made and the media info from one of the multiple file that freeze intermitently on kody. If you need logs, let me know how to make them and i will do them. :slight_smile: (in the picture, it say “plex” because it’s an old schema but now i have jellyfin instead.)

Home instalation:


Lan speed test results:

Date: 2020-02-08 22:47:08
Version: 4.4.0
Serial Number: (Lite)
Operating System: Windows 10 Build 18363
Computer Name: DESKTOP-A2A3HD1
Window ScaleFactor: 1
Network Cards: 3
HP Timers: 0 = 0,00 1 = 0,03 10 = 9,69 100 = 99,31
App Location: C:\Users\stephane\Desktop\LAN_SpeedTestPortable\App\LAN_SpeedTest.exe
PrefsFolder: C:\Users\stephane\Desktop\LAN_SpeedTestPortable\App
PrefsFile: C:\Users\stephane\Desktop\LAN_SpeedTestPortable\App\LSTx_Settings.ini
LogFolder: C:\Users\stephane\Desktop\LAN_SpeedTestPortable\App
LogFile: C:\Users\stephane\Desktop\LAN_SpeedTestPortable\App\LSTx_Log.csv

Date: 2020-02-08 22:48:32
Folder or Server IP: Z:\video cursos
Packet Size: 1 MB to 1 GB
Packet Size Avg: Bytes
Packets: 1
Total Test Time: 15.94736 sec
Throughput: Average
Write: ()
Read: ()
Write Speed: Mbps
Read Speed: Mbps
Write Cache: Enabled
Read Cache: Disabled
Status: Cancelled…

Date: 2020-02-08 22:49:02
Folder or Server IP: Z:\video cursos
Packet Size: 1 MB to 100 MB
Packet Size Avg: 44.963.429 Bytes
Packets: 1
Total Test Time: 8.787543 sec
Throughput: Average
Write: 5,2260 (68.830.987)
Read: 3,0262 (118.865.888)
Write Speed: 68,83 Mbps
Read Speed: 118,87 Mbps
Write Cache: Enabled
Read Cache: Disabled
Status: Finished…

Media Info from file that gives me problems:

Complete name : Z:\plex\series\P(2018)\Season 2\LiS- 2x06 - Aislados.mkv
Format : Matroska
Format version : Version 4
File size : 1.83 GiB
Duration : 41 min 43 s
Overall bit rate : 6 273 kb/s
Encoded date : UTC 2019-12-24 12:53:32
Writing application : mkvmerge v40.0.0 (‘Old Town Road + Pony’) 64-bit
Writing library : libebml v1.3.9 + libmatroska v1.5.2
Cover : Yes
Attachments : cover.jpg

ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
HDR format : SMPTE ST 2086, HDR10 compatible
Duration : 40 min 36 s
Bit rate : 5 258 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 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.106
Stream size : 1.49 GiB (82%)
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 738 cd/m2
Maximum Frame-Average Light : 158 cd/m2

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 41 min 43 s
Bit rate mode : Constant
Bit rate : 384 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
Stream size : 115 MiB (6%)
Title : 384 kbps AC3 5.1 (Español)
Language : Spanish
Service kind : Complete Main
Default : Yes
Forced : No

Audio #2
ID : 3
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 : 41 min 43 s
Bit rate mode : Constant
Bit rate : 768 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
Stream size : 229 MiB (12%)
Title : 768 kbps eAC3+Atmos 5.1 (English)
Language : English
Service kind : Complete Main
Default : No
Forced : No
Complexity index : 16
Number of dynamic objects : 15
Bed channel count : 1 channel
Bed channel configuration : LFE

Text #1
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 40 min 17 s
Bit rate : 0 b/s
Count of elements : 3
Stream size : 75.0 Bytes (0%)
Title : Español forzados
Language : Spanish
Default : No
Forced : Yes

Text #2
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 40 min 15 s
Bit rate : 61 b/s
Count of elements : 669
Stream size : 18.2 KiB (0%)
Title : Español
Language : Spanish
Default : No
Forced : No

Text #3
ID : 6
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 38 min 13 s
Bit rate : 84 b/s
Count of elements : 751
Stream size : 23.7 KiB (0%)
Title : English
Language : English
Default : No
Forced : No

so, this morning i have been doing few tests. Looks like that the wifi is not the problem. I have the sensation that Jellyfin is not transcoding anything. Just sending the movie / tv show in original quality no matter what you change in the configuration ( maybe i did it wrong). I just installed kody with jellyfin in my laptop wich is a gamer msi with i7 and a good Nvidia card and 16G ram. And the movie is more fluent but sometimes you can see a very little freeze, but almost inappreciable.I have the sensation that jellyfin is not transcoding anything, just sending the movie, so if you have a top computer you almost don see any freeze and if you have a lowcost computer, you have some movies that have a lot of freeze. Of course i might be wrong or even have more things to consider. Let me know what can i do to try fix that.
I atached some info about my server specs.

Ok, i found the solution. After all day on it i fixed it. This issue can happen to anyone, not only windows users.
Seems that Jellyfin server send to my client the movie directly without transcoding. So my client can play perfectly some movies, but others are very hard for him. so i made those changes:

On client:
Kody >addons >video addons >Jellyfin > settings > Playback and there i changed:
1)Force transcode = on
2) Video Quality = 4,7 MB/s ( my wifi goes on maximum between 6 and 8 MB/s)

On server
Playback > H264 CRF : changed to 18.

Hope that helps someone else that have lag/freeze issues.

Now my JellyFin works prefectly. My god, i am so in love with Jellyfin. Works 200% better than plex.

See ya guys


Thanks for your feedback!

1 Like

Thanks a lot, I just move from EMBY to Jellyfin
Having the same issue with EMBY and after changing to Jellyfin, same thing happened

But after reading and applying yours solution. It really worked
Thanku so much
Sorry for my Bad English