Hi folks
I just picked up a Vero2 and it’s working well so far. A couple of setup glitches but that’s another topic.
I am having issues with buffering/stuttering Live TV (DVB-T) using TVHeadend and a Sundtek Media Pro Tv stick.
I’ve installed TVHeadend from the OSMC App Store and the PVR TVHeadend client Add-On, the setup for this has all gone well. The TVHeadend interface is showing the correct device, services and channels as expected. The installation of the Sundtek drivers was painless.
I can get a Live TV signal initially with very good quality but within a random amount of time (within a minute) one or more of these things will happen:
- the video signal will break up / buffer
- the audio will stutter
- the video signal will pause for a long time and then play again
- sometimes it looks like the video is trying to catch up with the audio and will play at high speed until it’s caught up.
I’ve read lots of forum threads and attempted some of the suggestions:
- disabled Idle Scanning in the TVHeadend web interface for the DVB-T device.
- add an advancedsettings.xml in ~/.kodi/userdata/advancedsettings.xml with the following settings in the correct XML format within the element:
- minvideocachelevel = 50, minaudiocachelevel=50, cacheindvdplayer = true (i’ve tried variants of these)
- in the element:
- cachemembuffersize = 20000000, readbufferfactor = 4.0 (the default). I’ve tried variants of cachemembuffersize with higher values and a value of zero
… all with not much of an effect, still buffering. My previous HD/PVR set top box worked fine until it died so I don’t think it’s a signal issue.
Other options suggested via various forums:
- Increase net.core.rmem_max and net.core.wmem_max on the box
- turn Full mux reception ‘off’ in TVH - can’t find that setting and think it’s been removed (Bug #1766: Option 'full mux reception' should be disabled by default - Tvheadend)
I’ve also tried playing the network stream from the TVH backed on my laptop via VLC, by copying and pasting the “Play” URL into VLC’s Play Network Stream - this also buffers but that’s putting Wi-Fi into the mix as well
At this point I’m trying to work out whether it’s a tvheadend issue, a sundtek issue or an osmc/kodi configuration issue by isolating the problem. Before I setup the Sundtek Stick and TVH on an old linux laptop I have, are there any more settings I can try in osmc/kodi/tvheadend that would alleviate the buffering?
Interesting logs from /var/log/mediasrv.log:
2016-06-16 11:37:02 [472] Tuning DVB-T frequency: 191500000
2016-06-16 11:37:03 [472] Resetting TS Port FE1 (1)
2016-06-16 11:37:04 [472] Setting Frequency: 177500000
2016-06-16 11:37:04 [472] Tuning DVB-T frequency: 177500000
2016-06-16 11:37:05 [472] Resetting TS Port FE1 (1)
2016-06-16 11:37:05 [472] TS Sync byte not aligned, realigning stream (5640 // 168)
2016-06-16 11:37:21 [472] Setting Frequency: 191625000
2016-06-16 11:37:21 [472] Tuning DVB-T frequency: 191625000
2016-06-16 11:37:33 [472] Setting Frequency: 177625000
2016-06-16 11:37:33 [472] Tuning DVB-T frequency: 177625000
2016-06-16 11:37:50 [472] Setting Frequency: 226500000
2016-06-16 11:37:50 [472] Tuning DVB-T frequency: 226500000
The buffering occurs when TS Sync byte not aligned appears in the logs.
In the TVH debug area I see logs like these whenever buffering takes place.
016-06-16 12:02:47.013 TS: Freeview/219.625MHz/TEN Digital: MPEG2VIDEO @ #512 Continuity counter error (total 1)
2016-06-16 12:02:47.013 TS: Freeview/219.625MHz/TEN Digital: MPEG2AUDIO @ #650 Continuity counter error (total 1)
2016-06-16 12:02:47.013 TS: Freeview/219.625MHz/TEN Digital: TELETEXT @ #576 Continuity counter error (total 1)
Do I need an mpeg2 license for the Vero2 ?
I’m ok with delving into logs and config on Linux so if there is anything further I need to provide let me know
Thanks
James