Video Lag
#1
Hi All,

Was hoping someone would be able to assist me in trying to figure out where my problem lies. I am having some major lag with some MKV's I am playing. I have a Kodibuntu installation that has been updated to Kodi 17. I was running on Kodi v15 so thought I would see if an upgrade would help.

When playing particularly large MKV files I am finding that I get major lag. It happens frequently on most of my large video files. Playing a smaller file (non-MKV) seems to work okay. My configuration is

Windows 10 PC hosting the data ==> Hub ==> Hub ==> ACER ASPIRE REVO running KODIBuntu
___________________________________________==> Google Chromecast ULTRA

I have tried a number of different configurations to see if the Hub's are having an impact but there is no issue there.

I do not see the problem with the Chromecast Ultra ever and it works brilliantly (no lag, nothing). It just works!

If I play the video through KODIBunti I get the lag.

If I play the video through the standard Windows 10 media player I get the same result as KodiBuntu (huge lag).

If I play the video through VLC on the same Windows PC, it plays perfectly.

This leads me to believe that either this is a hardware acceleration problem, a codec problem, my Revo slowly dieing or something else (I recently installed a new 2TB HDD).

What I can see when monitoring the Windows performance graphs for the disk is interesting:

* When the issue occurs on KODIBuntu I see the disk activity for the Windows HDD sit at 98-100% consistently.
* When the issue occurs on native Windows 10 media player I see the disk activity for the Windows HDD sit at 98-100% consistently.
* When I dont see the issue on VLC, I see the disk activity for the Windows HDD sit at <2% consistently.

I enabled the debugging log in Kodi and tailed the log file to see if I could spot anything:

12:42:22.781 T:139839576725248 DEBUG: Previous line repeats 1 times.
12:42:22.781 T:139839576725248 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
12:42:25.954 T:139839576725248 DEBUG: Previous line repeats 35 times.
12:42:25.954 T:139839576725248 INFO: CVideoPlayerVideo - Stillframe detected, switching to forced 23.976024 fps
12:42:26.012 T:139839576725248 INFO: CVideoPlayerVideo - Stillframe left, switching to normal playback
12:42:26.012 T:139839576725248 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
12:42:33.562 T:139839576725248 DEBUG: Previous line repeats 95 times.
12:42:33.562 T:139839576725248 INFO: CVideoPlayerVideo - Stillframe detected, switching to forced 23.976024 fps
12:42:33.632 T:139839576725248 INFO: CVideoPlayerVideo - Stillframe left, switching to normal playback
12:42:33.633 T:139839576725248 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
12:42:39.700 T:139839576725248 DEBUG: Previous line repeats 68 times.
12:42:39.701 T:139839576725248 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 1
12:42:39.913 T:139839576725248 DEBUG: Previous line repeats 2 times.
12:42:39.913 T:139839576725248 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
12:42:49.747 T:139839576725248 DEBUG: Previous line repeats 111 times.
12:42:49.748 T:139839576725248 DEBUG: CPullupCorrection: detected pattern of length 1: 41708.33, frameduration: 41708.333333
12:42:49.967 T:139839576725248 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
12:42:50.899 T:139839576725248 DEBUG: Previous line repeats 14 times.
12:42:50.899 T:139839576725248 DEBUG: CPullupCorrection: pattern lost on diff 83000.000000, number of losses 2
12:42:50.926 T:139839576725248 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
12:42:50.926 T:139839576725248 DEBUG: CVideoPlayerVideo::CalcDropRequirement - dropped in decoder, lateframes: 4549, Bufferlevel: 0 , dropped: 1
12:42:50.926 T:139839576725248 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
12:42:51.407 T:139839576725248 DEBUG: Previous line repeats 7 times.
12:42:51.407 T:139839576725248 DEBUG: CVideoPlayerVideo::CalcDropRequirement - dropped in decoder, lateframes: 4648, Bufferlevel: 0 , dropped: 1

Is this a hardware problem with not being able to handle the "load"?
Is this a codec problem?

Details of one of the video files are:

Size = 17.9GB
Frame Width and Height = 1920*804
Frame Rate = 23fps
Data Rate = 19381kbps
Total Bit Rate = 20891kbps
Reply

Logout Mark Read Team Forum Stats Members Help
Video Lag0