[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) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
- alexandergoll - 2010-11-18 I had asked earlier whether it is possible to setup tvheadend on a dreambox. I noticed that the dreambox has the necessary tuner modules available as device which tvheadend might plug into. While i am still setting up a box to compile it for my dreambox i came upon another question: Does tvheadend need exclusive access over the available tuners? If that is the case it would not be workable since i would like to retain the dreambox ability to display/record at their own place. - julienzch - 2010-11-18 Hi everyone, I think this is the right place to post but tell me if I should start a new one. I am using tvheadend 2.11 on a remote server (eth 10/100). I have a WinTV PVRUSB2 since I only have access to analog. Anyway, it converts the signal to a digital MPEG2 stream with the audio embed and works perfectly via htsp://... in Camelot. Without changing any parameters on the server or the receiver, I have problems since I updated to Dharma beta 4. I experience some kind of lags and cuts (krkk, pop !) randomly in the sound now. The stream is ~6Mb/s for video and ~280 kb/s for video. I insist that it worked flawlessly in Camelot. It seems that it works for a few seconds before it gets troubles. So I guess it might be a buffer problem. Have someone experienced that ? How to solve this ? - opdenkamp - 2010-11-18 what are you running? plain dharma or the patched version using the pvr addon? edit: and post your debug log somewhere please - julienzch - 2010-11-18 I tried both, the problem is the same. But I didn't patch tvheadend, can it help ? I'll post a debug log tomorrow, I am away from my HTPC now. Thanks. - opdenkamp - 2010-11-19 The patch to tvheadend currently only adds the CaID to the channel entries. Won't fix jumpy audio/video. I'll have a look at that log tomorrow. - bmentink - 2010-11-19 Hi Guys, I had a go at compiling dushmaniac's version of Dharma/pvrtesting branch and get this error on compile: Quote:/home/bmentink/builds/xbmc-pvr/xbmc/xbmc/utils/IMDB.cpp:171: undefined reference to `fstrcmp(char const*, char const*, double)' It seems I need a fstrcmp lib of some sort. Had a quick serach on google and discovered a fstrcmp project that is a "fuzzy comparisons of strings and byte arrays" is this a requirment for this project as a dependancy? Or is that something completely different .... Thanks, Bernie - opdenkamp - 2010-11-19 I'm not familiar with it, but it looks like you need the libfstrcmp-dev package indeed. - julienzch - 2010-11-19 dushmaniac Wrote:The patch to tvheadend currently only adds the CaID to the channel entries. Won't fix jumpy audio/video. I'll have a look at that log tomorrow. Here it is, I am going forward with the problem since it seems to be an ALSA one : Code: 13:32:37 T:140325972056128 M:1606193152 DEBUG: ------ Window Deinit (DialogFullScreenInfo.xml) ------ This is what I get when I start a channel stream via htsp, as you can see the first ten seconds have no errors, then the sound goes crappy. vdpau - vane.xbmc - 2010-11-19 Hi dushmaniac, I'm using your xbmc Dharma version with PVR. That's great and quiet stable but today I tried to watch an rtp stream from VLC and the video shows very pixelated (also the audio has some errors). In xbmc log I can see a lot of ffmpeg errors and it tells vdpau is faliling: NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(0x0, 28) WARNING: (VDPAU) no width/height available, can't init NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device NOTICE: (VDPAU) Close NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 DEBUG: FactoryCodec - Video: ff-h264 - Opened NOTICE: Creating video thread I was thinking of report this to xbmc developers but I'm using xbmc and libvdpau from your repo so I'd rather ask you before. Do you know someting about that? Which are the changes you made on libvdpau? Tanks in advance and regards, Vanesa. - opdenkamp - 2010-11-19 julienzch Wrote:since it seems to be an ALSA oneit's not an alsa error, but alsa is correctly reporting an error. this is the cause: Code: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available vane.xbmc Wrote:In xbmc log I can see a lot of ffmpeg errors and it tells vdpau is faliling:without a width and height, vdpau won't init. could be a problem with the stream itself or perhaps it's not being read (correctly) by xbmc. I've seen some hacks that force the size to be your screen's size, but that's not a proper solution. I didn't change anything in libvdpau myself but merely used a newer version from their git. - vane.xbmc - 2010-11-19 dushmaniac Wrote:without a width and height, vdpau won't init. could be a problem with the stream itself or perhaps it's not being read (correctly) by xbmc. I've seen some hacks that force the size to be your screen's size, but that's not a proper solution. Thanks for your quick answer. The problem is not related with vdpau. I've tested with another video and VDPAU is opening ok with a known resolution. I've found a bug that seems to explain the problem: http://trac.xbmc.org/ticket/9435. Thanks again and good work, by the way, - hotlobster - 2010-11-19 julienzch Wrote:Here it is, I am going forward with the problem since it seems to be an ALSA one : This looks like the buffer problem I have with vnsi. That's the same error message and behavior. - bmentink - 2010-11-19 dushmaniac Wrote:I'm not familiar with it, but it looks like you need the libfstrcmp-dev package indeed. Hmm, I am running Arch and I don't see that lib .... not in AUR either, any other suggestions where to get it? - Ruud - 2010-11-19 dushmaniac Wrote:...Hi, zapping time is for me one of the biggest WOW factors of tvheadend, have been using MP's tvserver for several years and the slow zapping time was in the end always the biggest frustation and highly discussed on their forum. Better to have a hickup or blocks in the first frames then slower channel changing times, but that is my opinion regards, Ruud. - opdenkamp - 2010-11-20 bmentink Wrote:Hmm, I am running Arch and I don't see that lib .... not in AUR either, any other suggestions where to get it?http://fstrcmp.sourceforge.net/ |