Kodi Community Forum
[SOLVED]Streaming Live TV stutters - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: [SOLVED]Streaming Live TV stutters (/showthread.php?tid=159142)



[SOLVED]Streaming Live TV stutters - realjobe - 2013-03-13

Hi there.
Using 512MB Raspberry Pi with RaspMC image (12.0). Screen is hdmi_mode=16 (1024x768@60) = DVI connected monitor.

Pi is Overclocked to
Code:
arm_freq=1000
gpu_mem=128
core_freq=500
sdram_freq=600
over_voltage=6
force_turbo=1

Using LAN connection. Mpeg2 licence is entered and works.

I'm using VU+ Enigma2 plugin to stream my DreamBox. All is fine but the stream buffers (breaks up) a lot and really can not stream well.
advancedsettings.xml has 20MB buffer..

Code:
<advancedsettings>
    <network>
        <cachemembuffersize>20971520</cachemembuffersize>
    </network>
</advancedsettings>

Can the network buffering be somehow improved?


RE: Streaming Live TV stutters - realjobe - 2013-03-14

I found some hints http://forum.xbmc.org/showthread.php?tid=159204&pid=1365375#pid1365375


RE: Streaming Live TV stutters - realjobe - 2013-03-14

Has anyone tested this
Code:
cachemembuffersize
freememorycachepercent
in advancedsettings.
Is this feature already compiled in?


RE: Streaming Live TV stutters - opdenkamp - 2013-03-14

pvr doesn't use these settings. if you'd like to tune buffering, you're looking for these:
Code:
<advancedsettings>
<pvr>
<minvideocachelevel>X</minvideocachelevel>
<minaudiocachelevel>Y</minaudiocachelevel>
</pvr>
</advancedsettings>

X and Y are percentages, minimum waterlevel of the video and audio input buffers in the player. i don't know what queue sizes omxplayer is currently using, so it'll be trial and error. default values are 5% for video and 10% for audio, so try some higher values than that to reduce the chance of an underrun. it'll make channel switching slower, so don't use values that are very high


RE: Streaming Live TV stutters - realjobe - 2013-03-15

Code:
<advancedsettings>
    <pvr>
        <minvideocachelevel>60</minvideocachelevel>
        <minaudiocachelevel>60</minaudiocachelevel>
    </pvr>
</advancedsettings>
Seems to do the work perfectly now! THANK YOU!!

Strangely the Log says also before, even when there is no entries like this at all..

Code:
13:52:32 T:3037667328  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
<advancedsettings>
<cputempcommand>/opt/vc/bin/vcgencmd measure_temp | sed -e &apos;s/temp=\([0-9]*\).*/\1 C/&apos;</cputempcommand>
<gputempcommand>/opt/vc/bin/vcgencmd measure_temp | sed -e &apos;s/temp=\([0-9]*\).*/\1 C/&apos;</gputempcommand>
<network>
<cachemembuffersize>10485760</cachemembuffersize>
</network>
<imageres>540</imageres>
<fanartres>720</fanartres>
<video>
<defaultplayer>omxplayer</defaultplayer>
<defaultdvdplayer>omxplayer</defaultdvdplayer>
</video>
<audio>
<defaultplayer>paplayer</defaultplayer>
<streamsilence>false</streamsilence>
</audio>
</advancedsettings>
13:52:32 T:3037667328NOTICE: Getting hardware information now...



RE: [SOLVED]Streaming Live TV stutters - Dilligaf - 2013-04-03

Quote:13:52:32 T:3037667328 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...

First line of your paste, these are the "system" advanced settings and not the "user" advancedsettings, if the same setting is in both such as cachemembuffersize then xbmc gives the "user" advancedsettings presedence


RE: [SOLVED]Streaming Live TV stutters - shorawitz - 2016-09-10

Old post, but just wondering which takes precedence - system | user?


RE: [SOLVED]Streaming Live TV stutters - ActionA - 2016-09-10

User