Kodi Community Forum

Full Version: [SOLVED]Streaming Live TV stutters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Has anyone tested this
Code:
cachemembuffersize
freememorycachepercent
in advancedsettings.
Is this feature already compiled in?
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
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...
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
Old post, but just wondering which takes precedence - system | user?
User