Posts: 56
Joined: Jun 2015
Reputation:
1
I've just set up tvheadend in Kodi 16 and everything appears to work very well apart from some audio glitches I've been experiencing. Every minute or so there's a slight stutter in the audio stream, it only lasts a fraction of a second but it's distracting nonetheless.
I only observe this behaviour on live streams, if I pause the channel for a second or so and then resume - the issue completely goes away.
Does anyone have any troubleshooting suggestions?
Posts: 806
Joined: Nov 2015
Reputation:
33
Sounds like your stream is faster/larger than your device can process in real-time. Is this on all resolutions, or only HD streams? A better network connection would be my first recommendation, such as using GbE for live streams.
Posts: 56
Joined: Jun 2015
Reputation:
1
Thanks, although I doubt that's it - I have Kodi and TVH on the same machine; Kodi connects to TVH via the loopback address.
It's affecting both SD and HD streams at the moment.
Posts: 806
Joined: Nov 2015
Reputation:
33
Does TVH do any transcoding?
Posts: 56
Joined: Jun 2015
Reputation:
1
No the stream profile I'm using is just passthrough.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
Before you start messing with advancedsettings.xml, please check tvheadend's logs to see that you don't have signal quality issues. Can you also tell us a bit more about the hardware you're using?
Posts: 56
Joined: Jun 2015
Reputation:
1
Yeah tried the advanced settings route and it did not improve matters.
I think you'll agree my hardware is more than capable, signal quality is excellent and as stated recordings are absolutely fine it's just the live stream with this addon.
My System:
Fedora 23 Server Edition
AMD A8-7600 Quad Core 3.3ghz APU
32GB 2133mhz DDR3
Boot Drive/TVH Install Drive: 250gb Samsung 850 Evo SSD
Recordings Drive: 2x WD Red 6tb in RAID1
TV Tuner: PCTV tripleStick 292e
I'm at a complete loss.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
Can you post a debug log showing the glitch?
Posts: 232
Joined: Aug 2015
Reputation:
3
That sounds more like a signal issue. Have you checked the signal strength with the on-screen meter, as well as the cpu usage? The O key on the keyboard brings up this data. Other than that, possibly hardware acceleration settings, or even de-interlacing settings. Try turning it off.
Posts: 2,771
Joined: Mar 2011
Reputation:
95
If it's an addon issue then you need the Kodi debug log.
For tvh, you can enable debug logging through the web interface - arrows in the bottom right corner, then the cog. You'll get basic debug logging to the message window - any more will need specific modules (e.g. with the --debug <module> startup option or via the web interface). Either way, you can probably grep the relevant messages out of syslog (or whatever the journalctl equivalent it).