Kodi Community Forum
[LINUX] HOW-TO get Live TV with VDR working in XBMC for Linux - 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: [LINUX] HOW-TO get Live TV with VDR working in XBMC for Linux (/showthread.php?tid=45314)

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


- hepi - 2009-04-07

Hi freezy,

In the tutorial of your initial posting, you sync the streamdev sources to 4/4/09:

Code:
cvs -d:pserver:[email protected]:/var/cvsroot login
cvs -d:pserver:[email protected]:/var/cvsroot co -D 4/4/09 streamdev

Yesterday I used your tutorial and tried to patch the streamdev sources with alwinus' patch and got rejects. when I take 5th of April instead it works for me:

Code:
cvs -d:pserver:[email protected]:/var/cvsroot login
cvs -d:pserver:[email protected]:/var/cvsroot co -D 5/4/09 streamdev

I think I read somewhere that 5/4/09 syncs to the last revision BEFORE the beginning of April 5. Could you check this, please? Thank you!

Cheers,
hepi


- jkettu - 2009-04-09

Hi!

I have problems connecting to the streamdev server with XBMC.
I am running vdr 1.6.0-2 version on a server and XBMC on desktop machine for testing.

I have tried to use port 3000 (HTTP) and 2004 (VDR-VDR). The 2004 crashes the vdr completely.

I am getting this from the XBMC log:

Code:
16:16:39 T:195430464 M:2748952576    INFO: stopping PVRManager
16:16:39 T:195430464 M:2748952576  NOTICE: PVR: PVRManager stopped
16:16:39 T:195430464 M:2748985344    INFO: starting PVRManager
16:16:39 T:195430464 M:2748985344   DEBUG: VTPTransceiver::Open - connecting to: 192.168.254.3:47115 ...
16:16:49 T:195430464 M:2748760064   DEBUG: VTPTransceiver::ReadResponse - timeout waiting for response, retrying...
16:16:59 T:195430464 M:2748633088   DEBUG: VTPTransceiver::ReadResponse - timeout waiting for response, retrying...
16:17:09 T:195430464 M:2747711488   DEBUG: VTPTransceiver::ReadResponse - timeout waiting for response, retrying...
16:17:19 T:195430464 M:2747727872   DEBUG: VTPTransceiver::ReadResponse - timeout waiting for response, retrying...
16:17:29 T:195430464 M:2747146240   DEBUG: VTPTransceiver::ReadResponse - timeout waiting for response, retrying...
16:17:39 T:195430464 M:2747719680   DEBUG: VTPTransceiver::ReadResponse - timeout waiting for response, retrying...
16:17:39 T:195430464 M:2747719680   ERROR: VTPTransceiver::Open - server greeting:
16:17:39 T:195430464 M:2747719680    INFO: Loading skin file: DialogOK.xml
16:17:39 T:195430464 M:2747719680   DEBUG: Load DialogOK.xml: 1.59ms
16:17:39 T:195430464 M:2747719680   DEBUG: ------------------- GUI_MSG_WINDOW_INIT
16:17:39 T:195430464 M:2747719680   DEBUG: Dialogi OK
16:17:39 T:195430464 M:2747719680   DEBUG: -------------------
16:17:39 T:195430464 M:2747719680   DEBUG: Load button-focus2.png: 0.1ms (bundled)
16:17:39 T:195430464 M:2747719680   DEBUG: Load button-nofocus.png: 0.1ms (bundled)
16:17:39 T:195430464 M:2747719680   DEBUG: Alloc resources: 0.18ms (0.00 ms skin load, 0.02 ms preload)
16:17:39 T:195430464 M:2747719680   DEBUG: Load DialogBack.png: 1.5ms (bundled)
16:17:39 T:195430464 M:2747719680   DEBUG: Load DialogFront.png: 1.7ms (bundled)
16:17:39 T:195430464 M:2747719680   DEBUG: Load separator.png: 0.1ms (bundled)
16:20:16 T:195430464 M:2740805632   DEBUG: Load button-nofocus.png: 0.1ms (bundled)
16:20:16 T:195430464 M:2740805632   DEBUG: Load button-focus2.png: 0.1ms (bundled)
16:20:17 T:195430464 M:2740805632   DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
16:20:17 T:195430464 M:2740805632   DEBUG: Dialogi OK
16:20:17 T:195430464 M:2740805632   DEBUG: -------------------

And this is in the vdr log:

Code:
Apr  9 16:16:39 localhost vdr: [19441] Streamdev: Accepted new client (HTTP) 192.168.254.1:47307
Apr  9 16:20:33 localhost vdr: [19441] client (HTTP) 192.168.254.1:47307 has closed connection
Apr  9 16:20:33 localhost vdr: [19441] streamdev: closing streamdev connection to 192.168.254.1:47307

I have checked with svdrpsend.pl that I can connect to the server and also that the port 3000 works ok.
Also I can get vdr-sxfe to work.

Any ideas?


- splinux - 2009-04-09

Port 2004 should work, 3000 not.
Did you compiled the patched streamdev plugin with vdr 1.6 ? Is that working ?
I tried some weeks ago to compile it with vdr 1.7.0, but that did'nt work, and I thought that the patched streamdev was only useable with 1.7.4

sp


- LittleBear1981 - 2009-04-10

chene Wrote:any idea if this will work for DVB-s (FTA satellite)?

I would like to know if FTA or DirectTV (Wink) will be an option for vdr + XBMC + vdpau + emulators + firefox + torrents = Fucking Awesome


- dongioia - 2009-04-11

I recompiled everything from scratch and now when vdr is running XBMC doesn't start. It is terminated with this log:
Quote:The XBMC_HOME environment variable is not set.
*** stack smashing detected ***: /usr/local/share/xbmc/xbmc.bin terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb74d6da8]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb74d6d60]
/usr/local/share/xbmc/xbmc.bin(_ZN14VTPTransceiver12ReadResponseERiRSt6vectorISsSaISsEE+0x47f)[0x888968f]
/usr/local/share/xbmc/xbmc.bin(_ZN14VTPTransceiver11SendCommandERKSsRiRSt6vectorISsSaISsEE+0x3e)[0x888972e]
/usr/local/share/xbmc/xbmc.bin(_ZN12PVRClientVDR14GetAllChannelsEPSt6vectorI17CTVChannelInfoTagSaIS1_EEb+0x11f)[0x88851ff]
/usr/local/share/xbmc/xbmc.bin(_ZN11CPVRManager5StartEv+0x299)[0x85c2d79]
/usr/local/share/xbmc/xbmc.bin(_ZN12CApplication10InitializeEv+0x100b)[0x82ffb0b]
/usr/local/share/xbmc/xbmc.bin(_ZN16CXBApplicationEx6CreateEPv+0x12)[0x8562642]
/usr/local/share/xbmc/xbmc.bin(_ZN12CApplication6CreateEPv+0x103c)[0x82fca0c]
/usr/local/share/xbmc/xbmc.bin(main+0x17e)[0x8562f3e]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb73ef775]
/usr/local/share/xbmc/xbmc.bin[0x820ef51]
======= Memory map: ========
08048000-08c23000 r-xp 00000000 08:05 273797 /usr/local/share/xbmc/xbmc.bin
08c23000-08c25000 r--p 00bdb000 08:05 273797 /usr/local/share/xbmc/xbmc.bin
08c25000-08c5c000 rw-p 00bdd000 08:05 273797 /usr/local/share/xbmc/xbmc.bin
08c5c000-08cd6000 rw-p 08c5c000 00:00 0
0977a000-09c21000 rw-p 0977a000 00:00 0 [heap]
b2123000-b2124000 ---p b2123000 00:00 0
b2124000-b2924000 rwxp b2124000 00:00 0
b2924000-b2925000 ---p b2924000 00:00 0
b2925000-b3125000 rwxp b2925000 00:00 0
b3125000-b3126000 ---p b3125000 00:00 0
b3126000-b3926000 rwxp b3126000 00:00 0
b3926000-b3927000 ---p b3926000 00:00 0
b3927000-b4127000 rwxp b3927000 00:00 0
b4127000-b412c000 r-xp 00000000 08:05 65092 /lib/tls/i686/cmov/libnss_dns-2.9.so
b412c000-b412d000 r--p 00004000 08:05 65092 /lib/tls/i686/cmov/libnss_dns-2.9.so
b412d000-b412e000 rw-p 00005000 08:05 65092 /lib/tls/i686/cmov/libnss_dns-2.9.so
b412e000-b4138000 r-xp 00000000 08:05 124445 /lib/tls/i686/cmov/libnss_files-2.9.so
b4138000-b4139000 r--p 00009000 08:05 124445 /lib/tls/i686/cmov/libnss_files-2.9.so
b4139000-b413a000 rw-p 0000a000 08:05 124445 /lib/tls/i686/cmov/libnss_files-2.9.so
b4148000-b4150000 rw-s 00000000 00:09 3932178 /SYSV00000406 (deleted)
b4150000-b4151000 ---p b4150000 00:00 0
b4151000-b4951000 rwxp b4151000 00:00 0
b4951000-b4979000 r--p 00000000 08:05 273764 /usr/local/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b4979000-b49a1000 r--p 00000000 08:05 273764 /usr/local/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b49a1000-b49c9000 r--p 00000000 08:05 273764 /usr/local/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b49c9000-b49f1000 r--p 00000000 08:05 273764 /usr/local/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b49f1000-b4a00000 r--p 00000000 08:05 273760 /usr/local/share/xbmc/skin/PM3.HD/fonts/humanist_521_bt.ttf
b4a00000-b4ab0000 rw-p b4a00000 00:00 0
b4ab0000-b4b00000 ---p b4ab0000 00:00 0
b4b01000-b4b03000 r-xp 00000000 08:05 2618 /lib/libnss_mdns4_minimal.so.2
b4b03000-b4b04000 rw-p 00001000 08:05 2618 /lib/libnss_mdns4_minimal.so.2
b4b04000-b4b2c000 r--p 00000000 08:05 273764 /usr/local/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b4b2c000-b4b54000 r--p 00000000 08:05 273764 /usr/local/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b4b54000-b4b7c000 r--p 00000000 08:05 273764 /usr/local/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b4b7c000-b4ba4000 r--p 00000000 08:05 273764 /usr/local/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b4ba4000-b4bcc000 r--p 00000000 08:05 273764 /usr/local/share/xbmc/skin/PM3.HD/fonts/LiberationSans-Regular.ttf
b4bcc000-b4bcd000 ---p b4bcc000 00:00 0
b4bcd000-b53cd000 rwxp b4bcd000 00:00 0
b53cd000-b53cf000 r-xp 00000000 08:05 125909 /usr/lib/gconv/ISO8859-2.so
b53cf000-b53d0000 r--p 00001000 08:05 125909 /usr/lib/gconv/ISO8859-2.so
b53d0000-b53d1000 rw-p 00002000 08:05 125909 /usr/lib/gconv/ISO8859-2.so
b53d1000-b55d1000 rw-s 32105000 00:0f 8411 /dev/nvidia0
b55d1000-b56d1000 rw-s 31ddb000 00:0f 8411 /dev/nvidia0
b56d1000-b56d2000 rw-s fdc08000 00:0f 8411 /dev/nvidia0
b56d2000-b5712000 rw-s 31afc000 00:0f 8411 /dev/nvidia0
b5712000-b5732000 rw-s 31d09000 00:0f 8411 /dev/nvidia0
b5732000-b5797000 rw-p b5732000 00:00 0
b5797000-b57e1000 rw-p 00000000 00:0f 766 /dev/zero
b57e1000-b5bdd000 rw-s 00000000 00:09 3866637 /SYSV00000000 (deleted)
b5bdd000-b5c17000 rw-p b5bdd000 00:00 0
b5c18000-b5c1c000 rw-s 00000000 00:0f 5593 /dev/snd/pcmC0D1p
b5c1c000-b5c1d000 rw-s 81000000 00:0f 5593 /dev/snd/pcmC0D1p
b5c1d000-b5c2c000 r--p 00000000 08:05 273762 /usr/local/share/xbmc/skin/PM3.HD/fonts/humanist_521_condensed_bt.ttf
b5c2c000-b5c4d000 rw-s 00000000 00:09 2064385 /SYSV00000000 (deleted)
b5c4d000-b5c8e000 rw-p b5c4d000 00:00 0
b5c8e000-b5c92000 r-xp 00000000 08:05 9360 /usr/lib/libXfixes.so.3.1.0
b5c92000-b5c93000 rw-p 00003000 08:05 9360 /usr/lib/libXfixes.so.3.1.0
b5c93000-b5c9b000 r-xp 00000000 08:05 9352 /usr/lib/libXcursor.so.1.0.2
b5c9b000-b5c9c000 rw-p 00007000 08:05 9352 /usr/lib/libXcursor.so.1.0.2
b5c9c000-b5c9d000 r--s 80000000 00:0f 5593 /dev/snd/pcmC0D1p
b5c9d000-b5c9e000 rw-s 00000000 00:09 3899409 /SYSV00000405 (deleted)
b5c9e000-b5c9f000 rw-p b5c9e000 00:00 0
b5ca0000-b5ca1000 r-xp 00000000 08:05 125842 /usr/lib/gconv/ISO8859-1.so
b5ca1000-b5ca2000 r--p 00001000 08:05 125842 /usr/lib/gconv/ISO8859-1.so
b5ca2000-b5ca3000 rw-p 00002000 08:05 125842 /usr/lib/gconv/ISO8859-1.so
b5ca3000-b5ca7000 rw-s 31f2d000 00:0f 8411 /dev/nvidia0
b5ca7000-b5cab000 rw-s 31ddf000 00:0f 8411 /dev/nvidia0
b5cab000-b5cac000 rw-s d0169000 00:0f 8411 /dev/nvidia0
b5cac000-b5cad000 rw-s 32318000 00:0f 8411 /dev/nvidia0
b5cad000-b5cae000 rw-s 32319000 00:0f 8411 /dev/nvidia0
b5cae000-b5caf000 rw-s fd641000 00:0f 8411 /dev/nvidia0
b5caf000-b5cb0000 rw-s 31dcc000 00:0f 8411 /dev/nvidia0
b5cb0000-b5cb1000 rw-s fd060000 00:0f 8411 /dev/nvidia0
b5cb1000-b5cb2000 rw-p b5cb1000 00:00 0
b5cb2000-b5cf1000 r--p 00000000 08:05 13395 /usr/lib/locale/en_US.utf8/LC_CTYPE
b5cf1000-b5cf2000 r--p 00000000 08:05 13400 /usr/lib/locale/en_US.utf8/LC_NUMERIC
b5cf2000-b5ddd000 r--p 00000000 08:05 13394 /usr/lib/locale/en_US.utf8/LC_COLLATE
b5ddd000-b5de3000 rw-p b5ddd000 00:00 0
b5de3000-b5de7000 r-xp 00000000 08:05 9356 /usr/lib/libXdmcp.so.6.0.0
b5de7000-b5de8000 rw-p 00003000 08:05 9356 /usr/lib/libXdmcp.so.6.0.0
b5de8000-b5deb000 r-xp 00000000 08:05 2674 /lib/libuuid.so.1.2
b5deb000-b5dec000 r--p 00002000 08:05 2674 /lib/libuuid.so.1.2
b5dec000-b5ded000 rw-p 00003000 08:05 2674 /lib/libuuid.so.1.2
b5ded000-b5df0000 r-xp 00000000 08:05 2591 /lib/libgpg-error.so.0.3.0
b5df0000-b5df1000 rw-p 00002000 08:05 2591 /lib/libgpg-error.so.0.3.0
b5df1000-b5df3000 r-xp 00000000 08:05 2597 /lib/libkeyutils-1.2.so
b5df3000-b5df4000 r--p 00001000 08:05 2597 /lib/libkeyutils-1.2.so
b5df4000-b5df5000 rw-p 00002000 08:05 2597 /lib/libkeyutils-1.2.so
b5df5000-b5df6000 rw-p b5df5000 00:00 0
b5df6000-b5dfd000 r-xp 00000000 08:05 43127 /usr/lib/libkrb5support.so.0.1
b5dfd000-b5dfe000 r--p 00006000 08:05 43127 /usr/lib/libkrb5support.so.0.1
b5dfe000-b5dff000 rw-p 00007000 08:05 43127 /usr/lib/libkrb5support.so.0.1
b5dff000-b5e01000 r-xp 00000000 08:05 2573 /lib/libcom_err.so.2.1
b5e01000-b5e02000 r--p 00001000 08:05 2573 /lib/libcom_err.so.2.1
b5e02000-b5e03000 rw-p 00002000 08:05 2573 /lib/libcom_err.so.2.1
b5e03000-b5e25000 r-xp 00000000 08:05 43124 /usr/lib/libk5crypto.so.3.1
b5e25000-b5e26000 r--p 00022000 08:05 43124 /usr/lib/libk5crypto.so.3.1
b5e26000-b5e27000 rw-p 00023000 08:05 43124 /usr/lib/libk5crypto.so.3.1
b5e27000-b5eb6000 r-xp 00000000 08:05 43126 /usr/lib/libkrb5.so.3.3
b5eb6000-b5eb8000 r--p 0008e000 08:05 43126 /usr/lib/libkrb5.so.3.3
b5ebAborted (core dumped)

Without vdr XBMC works fine.

@freezy

Maybe you should add to this wonderful how-to " --enable-vdpau " (only nvidia divers) when configuring XBMC


- freezy - 2009-04-11

Updated, also updated direct link to the correct VDR extensions version (thanks semerchet).


Vdr-1.7.5 - decaturguy - 2009-04-12

VDR developer version 1.7.5 is out
ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.7.5.tar.bz2

Don't try it out yet, all we need is new Extensions-Patch for this version, not out yet. I have tested vdr-1.7.4-ext68-streamdev.patch it apply cleanly after Extensions-Patch version 70.

Changelog:
http://www.linuxtv.org/pipermail/vdr/2009-April/020042.html


- seal - 2009-04-13

Hi, i succesfully compiled XBMC with VDR patch as you described on first page. SD channels works well but im unable to watch any HD channel - i got errors:

Quote:X Error of failed request: BadValue (integer parameter out of range for operati
on)
Major opcode of failed request: 53 (X_CreatePixmap)
Value in failed request: 0x0
Serial number of failed request: 50
Current serial number in output stream: 53
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb5fa27c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb5fa296e]
#2 /usr/lib/libX11.so.6 [0xb743e619]
#3 /usr/lib/libGL.so.1 [0xb77c61d2]
#4 [(nil)]
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 22 (X_GLXCreatePixmap)
Resource id in failed request: 0x3000004
Serial number of failed request: 51
Current serial number in output stream: 54
The XBMC_HOME environment variable is not set.
CRITSEC[0x8c5e684]: Trying to enter destroyed section.
CRITSEC[0x8c5e684]: Trying to enter destroyed section.
CRITSEC[0x8c5e684]: Trying to enter destroyed section.
CRITSEC[0x8c5e710]: Trying to enter destroyed section.
CRITSEC[0x8c601c0]: Trying to enter destroyed section.
CRITSEC[0x8c601c0]: Trying to leave destroyed section.
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb5fa27c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb5fa296e]
#2 /usr/lib/libX11.so.6 [0xb743e619]
#3 /usr/lib/libX11.so.6(XESetCloseDisplay+0x44) [0xb7420294]
#4 /usr/lib/libGL.so.1 [0xb77c2ef9]

im using:
Ubuntu 8.10
With NVIDIA drivers 180.41 and 185.19 the same results.

HD movies from MKV from disks works fine.
I suppose that is VDPAU problem? But HD movies from files works...

Any ideas?


VDR Extensions Patch v.71 - decaturguy - 2009-04-18

VDR Extensions Patch v.71 is out works with Vdr-1.7.5 and includes vdr-1.7.4-ext68-streamdev.patch
http://www.zulu-entertainment.de/page/klick.php?d=VDR+Extensions+Patch

Edit: if you are using old Make.config from version 1.7.4
ifdef STREAMDEVEXT
DEFINES += -DUSE_STREAMDEVEXTENSION

change it to:
ifdef STREAMDEVEXT
DEFINES += -DUSE_STREAMDEVEXT



- falcorn - 2009-04-18

i have a Sky It smart card. if i want to use my xbmc with vdr to read this card i need to set up a card reader (smartmouse/phoenix) and i need cccam and cccam sc plugin for vdr. can someone tell me how i can add cccam and cccam sc plugin to vdr and start it when i launch vdr from xbmc menu? how i have to edit runvdr file?
Many thanks


- decaturguy - 2009-04-18

falcorn Wrote:i have a Sky It smart card. if i want to use my xbmc with vdr to read this card i need to set up a card reader (smartmouse/phoenix) and i need cccam and cccam sc plugin for vdr. can someone tell me how i can add cccam and cccam sc plugin to vdr and start it when i launch vdr from xbmc menu? how i have to edit runvdr file?
Many thanks

I think you should try this forum http://dvbn.happysat.org/ after you setup cccam, sc-plugin and runvdr then you can ask xbmc-vdr related questions here.

How to install vdr-sc plugin:

Code:
cd /home/vdr/src/vdr/PLUGINS/src
hg clone http://85.17.209.13:6100/sc
sudo mkdir -p /etc/vdr/plugins/sc
sudo cp sc/examples/* /etc/vdr/plugins/sc
cd ../../
make plugins
If everything compiled OK, you can finally reinstall VDR with the plugins
Quote:sudo apt-get purge vdr
sudo sudo checkinstall --fstrans=no --install=yes --pkgname=vdr --pkgversion "1.7.4-5ubuntu2-1"

make sure to read this files in vdr-sc source directory.
README
README.CCcam


- freezy - 2009-04-23

Updated first and second post with latest patch.


- tmpdir - 2009-04-24

freezy Wrote:Updated first and second post with latest patch.

Freezy, thanks for this excellent guide. especially that you explain the why and how for each step is good practice. Wish all guides like this (saved me al lot of time Wink.

Would be great if you added this guide to the xbmc wiki... I think the wiki needs at least one good vdr guide.


- steveh80 - 2009-04-25

Hey freezy,

please add this command to your tutorial, it's neccesary for compiling vdr:

sudo apt-get install libcap-dev gettext

Thanks.


- freezy - 2009-04-25

Added, thanks for noticing!