![]() |
[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
|
No cam.socket :-) - wouter83 - 2009-12-27 Hi, i have the same prob with cccam. i have cccam runnig on my dreambox as server and as client on my xbmc. on both webinterfaces i can see that they are connectet but i dont have the cam.socket file in my temp directory ... can anybody help us?? i cant find an answer with google :-( THX wouter - moontan77 - 2009-12-27 use cccam 2.0.9 on the tvheadend pc and follow my instructions on the previous page - ahansen - 2009-12-28 I use TechnoTrend Connect S2-3650 HDTV USB (DVB-S + DVB-S2) - grouper - 2009-12-28 Hi there, big thanks to Andoma for this great app. Sounds very promising, a real breakthrough compared to all other TV on XBMC stuff! I have a problem though, I cannot get it up and running on my Ubuntu 9.10 HTPC nor on XBMC Live. When I try to configure the DVB Card, there is no card to select. (v4l mantis was compiled and installed, i added Kernel sources to circumvent make errors) a "dmesg | grep -i dvb" shows my dvb-t USB Stick and the mantis dvb-c: [ 15.818735] Mantis 0000:01:06.0: PCI INT A -> Link[LNKA] -> GSI 16 (level, low) -> IRQ 16 [ 15.819726] DVB: registering new adapter (Mantis DVB adapter) [ 16.240387] lp0: using parport0 (interrupt-driven). [ 16.698264] DVB: registering adapter 0 frontend 0 (Philips TDA10023 DVB-C)... [ 22.590436] em28xx #0: card=45 -> Pinnacle PCTV DVB-T A W-Scan with this adapter (/dev/dvb/Adapter0) works fine, finds all channels. Any Ideas why none of the adapters is showing up in Tvheadend? UPDATE Solved: Not all DVB-Modules were loaded, modprobed them in and voila, everything works.Thank you for Tvheadend! Thanks and cheers, Grouper - moontan77 - 2009-12-29 is the audio dropping occassionally for anybody else on encrypted channels? I'm using an acer revo and running xbmc and tvvheadend on the same pc - jalokim - 2009-12-30 moontan77 Wrote:is the audio dropping occassionally for anybody else on encrypted channels? I'm using it since 1d and did not notice any audio dropping - in fact, sometimes audio is "shown" earliel than video - especially in HD channels. But all works fine. - moontan77 - 2009-12-31 I see you have same problem now http://forum.xbmc.org/showthread.php?tid=65594 Check the xbmc log, in my case it seems to be the alsa broken pipe error. And searching this forum there doesnt seem to be a solution ![]() Only audio. No video. - Zazza - 2009-12-31 Greetings, I've tried latest SVN (in Ubuntu 9.04) and stable build (in Ubuntu 9.10). I can scan channels with TVheadend, I can connect XBMC to TVheadend but when I switch to a channel I can hear only audio but no video. I'm using a SkyStar2 DVB-S Tuner. As a further note if I click play in the TVheadend channel list, Totem opens up but reports: "Could not read from resource" and in the TVheadend log I can read: 127.0.0.1: rtsp://127.0.0.1:9981/channelid/1 -- Unauthorized Any guess? Thank you very much for your time... - zipleen - 2010-01-02 Hello. I know this isn't tvheadend forum, but this thread seems to be the only thing in the internet that talks about tvheadend and cccam together... Did anyone managed to get CCcam working with tvheadend?? I've read throughout almost this entire thread and I can't get a definitive answer if it really does work. I've been trying to get it working for almost two days now... I have a Tevii S460 (dvb-s2/dvb-s) tuner, Linux 2.6.31 using the cx24116 module and friends. The /dev/dvb/adapter0 is present and works. I have configured the multiplexes for my sat and tvheadend finds the services. I have successfully tested free channels in XBMC (xbmc mac - remotly, xbmc linux - local) and it works perfectly (no audio skipping/audio synced correctly/video works). I have compiled capmt_ca.so from svn trunk in tvheadend src/extras and run cccam with the preloaded shared library like this (-d -v -n are the debug verbose and packet verbose flags for cccam): Code: gcc -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o capmt_ca.so capmt_ca.c -ldl Code: tcp 0 0 0.0.0.0:16000 0.0.0.0:* LISTEN 17513/CCcam.x86.2.0 In tvheadend I have configured in "capmt connections" a new entry with /tmp/camd.socket and listen port to 0. I've also tried listen port 9000 and 12000 just to be sure. I've tried the following software combinations: - tvheadend 2.7 - tvheadend 2.8 (svn release) - xbmc latest svn - cccam 2.0.9 - cccam 2.1.3 However, cccam doesn't appear to even "talk" to tvheadend. I don't see anything in the logs of cccam. I've started reading the source of the capmt_ca.c and it debugs something to the syslog. This is my syslog output: Code: CCcam.x86.2.0.9: capmt_ca.so for camd clients Code: Jan 02 01:03:58 htsp: 192.168.0.2: Welcomed client software: XBMC Media Center and here is the log in tvhead when connecting from vlc Code: an 02 01:04:48 capmt: Starting capmt server for service "AAA" on tuner 0 When mapping services to channels tvheadend does something like: Code: Jan 02 01:14:16 serviceprobe: AAA: checking... Funny thing, in the other day I was trying all possible configurations and at some point tvheadend 2.7 started saying something like "configuring for ca0" or something like that, and at one point cccam started to talk something about keys, but the channels didn't work. Anyone has a clue or knows how to setup and have a working cccam setup with tvheadend? Thanks - moontan77 - 2010-01-02 heres something i posted on another site with the steps i follow to get cccam working (i've reinstalled ubuntu a few times lately and this has always worked): You need to get the capmt_ca.c file from the tvheadend source, probably an easier way to get it than this, check and see if this file is there already before doing the ./configure step # svn co svn://svn.lonelycoder.com/hts/trunk/tvheadend <http://svn.lonelycoder.com/hts/trunk/tvheadend> # cd tvheadend # ./configure # make its in /tvheadend/src/extra/ I just copied it from there to /usr/local/bin/ # cp capmt_ca.c /usr/local/bin/ Make directory's; code; # mkdir /var/etc # mkdir /var/keys # mkdir /var/script # mkdir /var/config # mkdir /var/backup # mkdir /var/cccamlog make yourself owner of the directory's; code; # chown username /var/etc # chown username /var/keys # chown username /var/script # chown username /var/config # chown username /var/backup # chown username /var/cccamlog # chown username /usr/local/bin (home directory for CCcam.x86) use winscp to transfer the files Put CCcam.x86 in (cccam 2.0.9 definitely works); /usr/local/bin CCcam.cfg, CCcam.channelinfo, CCcam.providers in: /var/etc Make CCcam.x86 bootable with chmod; code; # chmod 755 /usr/local/bin/CCcam.x86 # nano /etc/rc.local write in rc.local; # /usr/local/bin/run.sh create a file called run.sh in /usr/local/bin/ with the following #!/bin/sh cd /usr/local/bin gcc -march=pentium -mmmx -fomit-frame-pointer -fexpensive-optimizations -funroll-loops -fPIC -shared -o capmt_ca.so capmt_ca.c -ldl LD_PRELOAD=./capmt_ca.so ; export LD_PRELOAD while [ 1 ]; do ./CCcam.x86 -d > /var/log/CCcam.log done Not sure if these are needed to be chmod but i do it anyways # chmod 755 /usr/local/bin/run.sh # chmod 755 /usr/local/bin/ # chmod 755 /var/etc/ Then in the capmt connection section in the web interface add a new entry with /tmp/camd.socket and port 9000 save it and reboot I'm using ubuntu 9.04 with kernel 2.6.28.17 A few major problems though with tvheadend for me atm: sound dropping on encrypted channels (tvheadend streams on xbmc are the only place i have these problems) not possible to record capmt channels as it seems to try and record them before getting the key capmt doesnt support multiple tuners yet seems like capmt doesnt start at all sometimes when i restart my pc when you stop watching an encrypted channel on xbmc and watch an avi video or something instead, capmt doesnt stop requesting keys for that channel you had stopped watching. So you need to switch to a free to air channel to stop this. - zipleen - 2010-01-03 About cccam and tvheadend, you need to start CCcam *before* starting tvheadend. If you restart cccam you need to restart tvheadend after. If you don't do that tvheadend won't connect to the /tmp/camd.socket that cccam is listening to. That made me start to watch 2 of the 70 channels I'm supposed to have, don't know why it doesn't work for the other channels... Must be something i misconfigured... HD channel stutter - Diddleydoo - 2010-01-04 jalokim Wrote:I'm using it since 1d and did not notice any audio dropping - in fact, sometimes audio is "shown" earliel than video - especially in HD channels. But all works fine. See you got hd channels working to. HD channels stutter. I have a budget tevii s470 in a asus pundit 9500 using vdpau to decode hd material. I used xbmc liveAll works ok but as i said hd channels stutter.I used xbmc live 9.04 from 20091205. any ideas? Thanx in advance Diddleydoo - moontan77 - 2010-01-04 HD channels work fine for me but some dont look 100% ok due to the interlace handlers If vdpau is working out with other HD material then I do not know what you can do - zipleen - 2010-01-05 vdpau doesn't work for me, only ffmpeg is enabled, not ffmpeg_vdpau. Even if i force VDPAU in xbmc, it uses ffmpeg... I get stutter from minute to minute, but i'm going to try the hd channels in another computer to see if it's xbmc related or tvheadend related... also, tvheadend doesn't recognize the channels correctly (only the services), so i'm stuck configuring the channels one by one, editing the config files directly and adding the missing parts (then it works ok). edit: oh and i didn't try messing with the "cache" values, hd channels take up more data, so increasing the cache value could fix the stutter (and add a little delay starting the channel) - fatsarmstrong - 2010-01-06 slacker666 Wrote:We all know that there's been a lot of fuzz about watching tv with XBMC, and so far, the only solutions have not been very user/noob-friendly. I assume that I need to subscribe to a cable company to get this Live TV option? |