I loaded http://i.mjh.nz/nzau/kodi.m3u8 into an IPTV device (NPVR 5.14), and am playing channels via Kodi v19.1, all on a single Windows 10/4GB/Intel i5 laptop, from Martinborough, NZ, via 4G mobile internet.
The NZ channels seem to play fine with around 15-25% CPU (Kodi specs displayed on screen via pressing "o" key), mostly 720p at the time.
However, I'd enabled a couple of Aus channels, and found that while playing them, e.g. ABC channel (also 720p), I was getting significant caching/buffering happening while watching in Kodi.
While the Kodi stream specs were onscreen (I was checking to see if there was a resolution/bitrate difference), I noticed the CPU was at 100% when playing the Aus stream.
Further investigation with "Process Hacker" revealed that Kodi was using around 5% and ffmpeg.exe, under the NPVR service, was maxing out the CPU. So I'm presuming that was the cause of the caching, not the internet stream bitrate/connection. (?)
I verified no recording was scheduled at the time.
I changed channel to TVNZ (720p), and CPU went down to the usual 20-25%, with ffmpeg showing little CPU use.
Switched back to ABC channel, and back up went ffmpeg's CPU use.
So what is the role of ffmpeg here? Why doesn't NPVR just pass the stream on to Kodi, without any transcoding? (...if that is indeed what it's doing to the ABC stream?). If it is transcoding, why doe NPVR think it's required? Is it a situation that is fixable?
The "Inputstream FFMPEG direct" plugin is enabled in Kodi, but I'm not sure exactly what that does, or if it's related.
(BTW, I have "Prefer no trancoding" set in Settings.)
Again, in advance, thanks for your generous help!
Pete
I
The NZ channels seem to play fine with around 15-25% CPU (Kodi specs displayed on screen via pressing "o" key), mostly 720p at the time.
However, I'd enabled a couple of Aus channels, and found that while playing them, e.g. ABC channel (also 720p), I was getting significant caching/buffering happening while watching in Kodi.
While the Kodi stream specs were onscreen (I was checking to see if there was a resolution/bitrate difference), I noticed the CPU was at 100% when playing the Aus stream.
Further investigation with "Process Hacker" revealed that Kodi was using around 5% and ffmpeg.exe, under the NPVR service, was maxing out the CPU. So I'm presuming that was the cause of the caching, not the internet stream bitrate/connection. (?)
I verified no recording was scheduled at the time.
I changed channel to TVNZ (720p), and CPU went down to the usual 20-25%, with ffmpeg showing little CPU use.
Switched back to ABC channel, and back up went ffmpeg's CPU use.
So what is the role of ffmpeg here? Why doesn't NPVR just pass the stream on to Kodi, without any transcoding? (...if that is indeed what it's doing to the ABC stream?). If it is transcoding, why doe NPVR think it's required? Is it a situation that is fixable?
The "Inputstream FFMPEG direct" plugin is enabled in Kodi, but I'm not sure exactly what that does, or if it's related.
(BTW, I have "Prefer no trancoding" set in Settings.)
Again, in advance, thanks for your generous help!
Pete
I