Kodi Community Forum

Full Version: [OLD] HOW-TO watch Live TV in XBMC for Linux with Tvheadend, the easy way!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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...
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)
okok git ID "d17fb4ea2248eb1cc9d1376111cab496814923a2" - but is not important - idea: change player for live-tv ?
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?
if dvdplayer crash...then maybee mplayer (or another dont crash) ?
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..
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.
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.
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
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
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.
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
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)
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.