Kodi Community Forum

Full Version: XBMC not playing live TV from TVHeadEnd
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm new to XBMC having come from MediaPortal which I have gradually fallen out with.

I've installed the Latest Stable Versons of XBMC, TVHeadend and the TVHeadEnd Client.

I've tuned TVHeadEnd

Using XBMC I can listen to the radio stations. However When I try to watch Live TV The scrren goes black for a couple of seconds then it returns to the main XBMC menu.

Looking in SysLog I see

Code:
Sep 25 15:54:59 MediaBox tvheadend[1145]: subscription: "127.0.0.1 [ XBMC Media Center ]" subscribing on "BBC TWO", weight: 150, adapter: "DiBcom 3000MC/P", network: "Yorkshire", mux: "Yorkshire: 682,000 kHz", provider: "", service: "BBC TWO", quality: 100
Sep 25 15:55:00 MediaBox tvheadend[1145]: htsp: 127.0.0.1 [ XBMC Media Center ]: Disconnected
Sep 25 15:55:00 MediaBox tvheadend[1145]: subscription: "127.0.0.1 [ XBMC Media Center ]" unsubscribing from "BBC TWO"
Sep 25 15:55:04 MediaBox tvheadend[1145]: htsp: Got connection from 127.0.0.1
Sep 25 15:55:04 MediaBox tvheadend[1145]: htsp: 127.0.0.1: Welcomed client software: XBMC Media Center (HTSPv8)

To check that the TVHeadEnd is working correctly I have connected to it from my desktop linux PC using mplayer, and am happily watching the same channel on my PC as I type this, so I know the TVHeadEnd is dealing with the TV to some extent. So I figure that the problem is with the interface between XBMC and TVHeadend, but that is the limit of my knowledge. Can anybody advise what I should look for or is this a known problem etc?
Best to get a debug log of XBMC trying to access BBC2 (or any other channel when your screen blanks out). Instructions if you are unsure are here -> http://wiki.xbmc.org/index.php?title=Debug_log/Easy
Your debug xbmc.log: http://xbmclogs.com/show.php?id=302840

Just done as advise, I'll look through it and see if anything jumps out at me, but any advice greatly appreciated.

A quick examination of the logs show that it's not actually in that debug log, and is in the crash log, to give a time scope for the event

Code:
Sep 25 19:38:18 MediaBox tvheadend[1145]: subscription: "127.0.0.1 [ XBMC Media Center ]" subscribing on "BBC ONE Yorks", weight: 150, adapter: "DiBcom 3000MC/P", network: "Yorkshire", mux: "Yorkshire: 682,000 kHz", provider: "", service: "BBC ONE Yorks", quality: 100
Sep 25 19:38:20 MediaBox tvheadend[1145]: htsp: 127.0.0.1 [ XBMC Media Center ]: Disconnected
Sep 25 19:38:20 MediaBox tvheadend[1145]: subscription: "127.0.0.1 [ XBMC Media Center ]" unsubscribing from "BBC ONE Yorks"
Sep 25 19:38:23 MediaBox tvheadend[1145]: htsp: Got connection from 127.0.0.1
Sep 25 19:38:23 MediaBox tvheadend[1145]: htsp: 127.0.0.1: Welcomed client software: XBMC Media Center (HTSPv8)

Your XBMC crashlog: http://xbmclogs.com/show.php?id=302841
There appears to be a series of ffmpeg errors at around line 1069 on the crash log.
Try disable Mpeg-2 under Video Acceleration and see if that helps.
Thanks could find an MPeg option, but playing with the video acceleration options (inparticular the bottom set) appears to have solved the problem, thanks for your help.
Also make sure you set deinterlacing mode to "auto", otherwise your picture quality will be quite bad. You do that from the OSD settings dialog when watching a channel, then hit "set as default for all movies".