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)



- opdenkamp - 2010-11-06

CrashX Wrote:I tried to apply your patch to tvheadend trunk and got the following error:

Code:
git apply --check  0002-add-signal-status-in-HTSP.patch
error: patch failed: src/transports.c:1050
error: src/transports.c: patch does not apply
error: patch failed: src/transports.h:100
error: src/transports.h: patch does not apply
updated patches on git. I'll post them on the tvheadend trac in a minute.


- RoboSK - 2010-11-06

xbmc crash from time to time, any idea why ?

http://pastebin.com/88PXcKjt

it is from dushmaniac svn - "2010-11-06"
https://github.com/opdenkamp/xbmc/commits/Dharma-pvr

but same crashing have with "original" pvr-testing2...


- opdenkamp - 2010-11-06

RoboSK Wrote:xbmc crash from time to time, any idea why ?

http://pastebin.com/88PXcKjt

looks like invalid data was received, ffmpeg didn't like that and it crashed xbmc
Code:
12:10:39 T:2821712752 M:1330245632   ERROR: ffmpeg[A82FEB70]: [h264] cabac decode of qscale diff failed at 32 11
12:10:39 T:2821712752 M:1330245632   ERROR: ffmpeg[A82FEB70]: [h264] error while decoding MB 32 10, bytestream (5444)
12:10:39 T:2821712752 M:1330245632    INFO: ffmpeg[A82FEB70]: [h264] concealing 1161 DC, 1161 AC, 1161 MV errors

Quote:it is from dushmaniac svn - "2010-11-06"
it's not svn, it's git Smile and if you want to describe a revision, provide a git commit id (git log | head -n 1)


- RoboSK - 2010-11-06

okok git ID "d17fb4ea2248eb1cc9d1376111cab496814923a2" - but is not important - idea: change player for live-tv ?


- opdenkamp - 2010-11-06

RoboSK Wrote:okok git ID "d17fb4ea2248eb1cc9d1376111cab496814923a2" - but is not important
it's important to me. not in this particular case because I didn't change anything that could affect that.
Quote:idea: change player for live-tv ?
what good would that do? and to what other than dvdplayer did you want to change?


- RoboSK - 2010-11-06

if dvdplayer crash...then maybee mplayer (or another dont crash) ?


- Swifty - 2010-11-06

Is there any way to assign channel order without doing it manually on the xbmc client?

I've tried assigning a couple of channel numbers in the tvheadend page but it makes no difference to channel order.

I have multiple xbmc clients and don't want to have to do it manually at each one..


- opdenkamp - 2010-11-06

you can experiment with player if you change the setting in advancedsettings.xml, but I'd rather find out how to prevent that invalid data from being passed to the player.


- opdenkamp - 2010-11-06

Swifty Wrote:Is there any way to assign channel order without doing it manually on the xbmc client?

I've tried assigning a couple of channel numbers in the tvheadend page but it makes no difference to channel order.
at the moment not. I'll look into it soon ™.

Quote:I have multiple xbmc clients and don't want to have to do it manually at each one..
set it up on one client, then shut down that client and copy ~/.xbmc/userdata/Database/MyTV4.db to your other clients.


- RoboSK - 2010-11-06

change player is problem to pvr...

17:53:19 T:2989480816 M:3497152512 NOTICE: ExternalPlayer Filename: /usr/bin/mplayer
17:53:19 T:2989480816 M:3497152512 WARNING: ExternalPlayer: invalid value for warpcursor: none
17:53:19 T:2989480816 M:3497152512 NOTICE: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (false), islauncher (false), warpcursor (none)
17:53:19 T:2989480816 M:3496771584 NOTICE: OpenFile: pvr://channels/tv/all/1.pvr
17:53:19 T:2989480816 M:3496771584 DEBUG: CGUIAudioManager:Big GrineInitialize
17:53:19 T:2924497776 M:3492073472 DEBUG: thread start, auto delete: 0
17:53:19 T:2924497776 M:3491946496 NOTICE: Process: Player : /usr/bin/mplayer
17:53:19 T:2924497776 M:3491946496 NOTICE: Process: File : pvr://channels/tv/all/1.pvr
17:53:19 T:2924497776 M:3491946496 NOTICE: Process: Content:
17:53:19 T:2924497776 M:3491946496 NOTICE: Process: Args : "{1}" -fs
17:53:19 T:2924497776 M:3491819520 NOTICE: Process: Start
17:53:19 T:2924497776 M:3491819520 NOTICE: Process: Releasing audio device 1
17:53:19 T:2924497776 M:3491819520 DEBUG: SetActiveDevice - SetActiveDevice from 1 to 0
17:53:19 T:2924497776 M:3491819520 DEBUG: RemoveActiveDevice - Removing device 1
17:53:19 T:2989480816 M:3500199936 DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc
17:53:19 T:2924497776 M:3500199936 NOTICE: ExecuteAppLinux: "/usr/bin/mplayer" "pvr://channels/tv/all/1.pvr" -fs


- opdenkamp - 2010-11-06

well, if you tell the external player how it can get data from a stream internal to xbmc (pvr://channels/tv/all/1.pvr), it'll work Smile


- opdenkamp - 2010-11-06

woops, that last build has the default offset correction set to -12 if nothing was set before. I'll fix it tonight or tomorrow in the morning.


- jenkins - 2010-11-07

Hi!

first i´d like to say great builds man! love em...

question...
would it be possible for you to add vaapi support in your builds? Nod


- redstorm - 2010-11-07

dushmaniac Wrote:there's something off with that stream. what kind of stream is it?


These are the details of the stream from tvheadend config.
PID TypeDetails
250 H264 50.00 Hz
300 AAC eng
1010 TELETEXT
1020 DVB SUB eng (0001 0001)


- redstorm - 2010-11-07

Looks like i need to upgrade xbmc on the ION, as i have it running on Jaunty with 2month old svn build. When i tested on the PC in the garage that is maverick with beta 4 sound is coming through fine and picture is nice and stable, it is however a slightly more powerful GPU being a GT430

But it looks like its all coming together nicely.