Kodi Community Forum
[OLD] HOW-TO watch Live TV in XBMC for Linux with Tvheadend, the easy way! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
+--- Thread: [OLD] HOW-TO watch Live TV in XBMC for Linux with Tvheadend, the easy way! (/showthread.php?tid=51945)



- xoox - 2010-12-03

hotlobster Wrote:edit: ok tested, but it crashes tvheadend when receive the http query:

Yes, I remember. I had the same problem. You must perform a POST request. GET request
will let Tvheadend crash.


- hotlobster - 2010-12-03

ok, wil try this, many thanks.


- opdenkamp - 2010-12-03

xoox Wrote:Yes, I remember. I had the same problem. You must perform a POST request. GET request
will let Tvheadend crash.
that's a nice "feature" Smile


Jumpy Video - akr884 - 2010-12-03

Same problem as before: with deinterlacing I get jumpy video and without it I get motion blur - this time I thought I'd add the info from the video quality overlay.

On SD channels with the video diagnostic up:

With nvidia-ion Optimized for deinterlacing I get
D() P(fr:25.000... dc:ff-mpegvideo_vdpau-vdpau
C( a/v: jumping from 0.04 up to .040 than jumping down agian)
W( fps: jumping between 20-25 and kind of centering around 23.00)
with lots of jumpy video

http://pastebin.com/ApJXNSH9

With no deinterlacing I have
D() P(fr:25.000...
C( a/v stable at around 0.04)
W( fps:25.00 steady)
with motion blur but steady quality

http://pastebin.com/wWLB4vXv

And on HD channels:

With nvidia-ion Optimized for deinterlacing I get
D() P(fr:25.000... dc:ff-h264_vdpau-vdpau
C( a/v: stable around 0.04
W( fps: stable between 24.95 and 25.05)
with good video quality

http://pastebin.com/VvYZaT7e

With no deinterlacing I have
D() P(fr:25.000...
C( a/v stable at around 0.04)
W( fps:25.00 steady)
with motion blur but steady quality

http://pastebin.com/dk23x3xg


- cowfodder - 2010-12-04

Try unchecking "Sync Playback to Display" if it's checked. I had similar issues until I did this.


Logos in XBMC? - wesulaner - 2010-12-04

Is there a way to display the TV-logos from TVheadEnd(links to a webserver) in the XBMC skin?


LG Wesu


- opdenkamp - 2010-12-05

At the moment it's not set automatically, so you'll have to set the path to the icon manually for each channel. But it is possible.


Jumpy Video - akr884 - 2010-12-05

cowfodder Wrote:Try unchecking "Sync Playback to Display" if it's checked. I had similar issues until I did this.

I've played with all the video playback options and it currently still is really choppy even with "Sync Playback to Display" unchecked. The error margin goes crazy on the videos and occasionally crashes. Maybe if I get it to crash and include the crash log that would be helpful to diagnose the problem.

I couldn't get a crash but I see this message repeating in the log

Quote:14:04:52 T:2662251376 M:1200304128 DEBUG: CDVDPlayerAudio:: Discontinuity - was:59125481948.820816, should be:59125333259.587051, error:-148689.233765



- martdj - 2010-12-05

akr884 Wrote:I've played with all the video playback options and it currently still is really choppy even with "Sync Playback to Display" unchecked. The error margin goes crazy on the videos and occasionally crashes. Maybe if I get it to crash and include the crash log that would be helpful to diagnose the problem.

I couldn't get a crash but I see this message repeating in the log

Have you checked your TVHeadend logs? If those say something about "discontinuity" as well, then your cable signal might be a bit low. I had the same symptoms a while back and in the end solved them by checking all the coax cables and finding and fixing a loose connector.


- moontan77 - 2010-12-05

i get those errors due to a buffer problem with tvheadend streams and xbmc. The AQ% and PQ% go very low and cause sound droputs and video glitches. Somebody else posted here recently saying they had the same problem. Hopefully something can be done about it (had this problem with my ion pc's ever since i started using tvheadend over a year ago). Think it might be just a problem with non free to air channels.


AQ and VQ - akr884 - 2010-12-06

moontan77 Wrote:The AQ% and PQ% go very low and cause sound droputs and video glitches... Think it might be just a problem with non free to air channels.

So I played with my cable wires to get signal quality over 80%. However, AQ and VQ are both under 10% on SD channels (AQ hovers close to 1%) and AQ and VQ get up to 30-40% on HD channels.

You only have the AQ and VQ problem with non-free-to-air channels? Because all the channels I get are free-to-air and they all have about the same AQ and VQ.

@Dushmaniac

I saw your note in the code that you implemented the "Skip first I-frame" only for HD H264 content. That would explain why HD video has better AQ and VQ and why deinterlacing works for me only with HD video, right?

Is there a reason why something similar couldn't be implemented for SD mpeg video (or for all tvheadend/pvr streams) to fix the buffering problem?


- drago - 2010-12-06

Hi, Just updated to your ppa (master) and now my audio isn't working for mp3 and flac. Do you have any idees what it can be?


- moontan77 - 2010-12-06

akr884 Wrote:So I played with my cable wires to get signal quality over 80%. However, AQ and VQ are both under 10% on SD channels (AQ hovers close to 1%) and AQ and VQ get up to 30-40% on HD channels.

You only have the AQ and VQ problem with non-free-to-air channels? Because all the channels I get are free-to-air and they all have about the same AQ and VQ.

It could be happening with free channels just haven't noticed it/haven't being watching long enough. Don't watch much live tv due to the audio dropouts.


- opdenkamp - 2010-12-06

@akr884
skipping the first I-frame is just a little workaround.

the buffer underruns can have multiple causes, eg. your backend is too busy to put out data quick enough or your net is slow. we have to buffer up a bit before starting to play to really fix most of these problems.

@drago
master = unstable, Dharma-pvr = stable


- martdj - 2010-12-07

@Dushmaniac
I finally dared tonight to install your XBMC+PVR on my HTPC. I've added your master branch to my sources. Removed my old .xbmc dir and installed xbmc-standalone. I was quite happy to see XBMC come up fine after that.
Three things I noticed:
- The XBMC version I have now is pre Dharma RC2. It misses the LCD option in the system settings, so I had to workaround that by playing with the AdvancedSettings.xml. Is the Dharma-PVR more up to date?
- I must say I've never seen XBMC crash that often as while configuring this version. Is that due to the Master being unstable or is the PVR-addon just still quite unstable? For now I've decided to see if in actual use it will also prove unstable in which case I would have to revert to the rock stable version I was using before.
- So far I haven't found that pretty looking EPG that I saw in some screenshots. What do I have to do to get that EPG?