Hi,
I'm just about there with my Kodi/Tvheadend setup on the Rpi2.
The only issue now is the sync between audio and video. I'm in the UK and this affects SD and HD channels, both live tv and playback of it's recordings.
I recently tried the same setup using Openelec 6.0.1 as a proof of concept and it all works fine.
With live tv it doesn't happen every time, but most of the time. I will start a channel and the audio will continue without problem, but the video will appear to surge/fast-forward for a moment early on, taking it out of sync.
Some debug logs:
For each session I've started Kodi, opened a live TV channel for a short time and then exited Kodi. You'll note the tradition black screen on exit bug at the end of each one...
BBC One South - SD - no problems this time.
http://pastebin.com/raw/7u97QdwQ
ITV - SD - sync error within moments of starting.
http://pastebin.com/raw/tSfAz4A4
BBC One HD - sync error
http://pastebin.com/raw/i7fhr4qb
With recordings they may be fine, but if I jump forward that will often break the sync too.
I have tried repackaging the SD recordings from a .ts to a .mp4 using ffmpeg and that seems to "fix" them.
I cannot do this with the HD recordings as it gives an error:
http://pastebin.com/raw/fiQbhn9m
I've tried running ffprobe on the recordings.
SD:
http://pastebin.com/raw/yuMUR21G
HD:
http://pastebin.com/raw/tR5YvL0j
Any other glitches in live tv, particularly HD were cleaned up my using a powered booster/splitter for my coax. According to my freeview box the signal quality was always 100%, but the booster took the strength up from 22% to 50%.
My setup:
RPi2 with mpeg2 codec license.
Sandisk 8GB class 10 microSD (verified with F3)
Arch Arm Linux
tvheadend 4.0.8-9~gce82e79 (compiled from AUR)
kodi-rbp 15.2 and 15.3 (from repo)
kodi-addon-pvr-hts (compiled from AUR)
Augustint T210 DVB (on a powered hub)
PCTV 290e (on a powered hub)
Any ideas? I've tried the tvheadend and kodi forums but only kernel/driver issues have been speculated so far.
Many thanks.