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


- mirak63 - 2009-10-22

biggles Wrote:I have successfully installed vdr-sc plugin from Miraks PPA without any compiling. Pretty straightforward. The hardest part was to add the -B switch to the SC plugin for the TT1501 card. Otherwise it wasn't detected as a budget card (I only use the softcam part of the SC-pluging, not the cccam or newcs, because my card reader is only connected to one HTPC.

You can create a ppa with just vdr plugins you want that will just depend of another ppa with vdr.

I created a team ppa when I created mine, hoping people would join efforts, but nobody did.
So I will try to invite the guy that did the karmic ppa.


- jstew - 2009-10-23

hepi Wrote:I live in Europe and have never set up a VDR in North America, but I guess the ATSC patch and the ATSC EPG plugin [1] are important for you. According to [2], the ATSC patch is only embedded in the vdr package of PPA the-vdr-team (which is based on VDR plus the so called "extensions patch"), but you could ask yourself on vdr-portal.de for further information. It's in German language, but English postings are also welcome and there is also an international section in English language [3].

hepi

[1] http://www.fepg.org/atscepg.html
[2] http://vdrportal.de/board/thread.php?postid=849637#post849637
[3] http://www.vdrportal.de/board/board.php?boardid=79

It's not that bad to get going. I just checked out the source for GDA's VDR build, edited the debian build templates for plugins and made my own deb package for vdr-plugin-atscepg.

ATSC support works out of the box, like you said, but the plugin is necessary for guide info and it has an integrated channel scanner.


- hepi - 2009-10-23

@jstew: Nice! If you have a Launchpad PPA, you could offer the plugin there for other users.

To avoid confusion: gda has different PPA's for jaunty and karmic, all VDR packages of gda include the so called "extensions patch".

Regarding karmic, gda has started off with the PPA vdr-devel [1], which is now not maintained any longer because things are now happening in team work with hotzenplotz5 and others in [2]. In [2], all packages from [1] are present and sometimes even more up-to-date.

So basically: For karmic + VDR 1.7.9 + extensions patch: Use [2]. ;-)
For karmic + VDR 1.7.9 + multipatch: Use [3]

How to decide which of these versions to use ? Hard to tell... It depends on compatibility regarding the plugins, you want to use. Just try it...

A comparison of the different repo contents is still available at [4].

For VDR+XBMC, you need the following packages as a minmum:

  1. vdr (equip it with an appropriate channels.conf in /var/lib/vdr)
  2. vdr-plugin-streamdev-server (configure it to allow connections from local network)
  3. xbmc (build of branch pvr-testing - for examlpe from my PPA [5])

If you want more VDR-frontends beside XBMC-PVR-Testing (which is still not stable as a TV frontend) there are at least the following options:
  • Streaming Live TV to VLC (or other media players): Use vdr-plugin-streamdev-server (Open http://vdr-ip:3000 in web browser for channel list)
  • Web Frontend on http://vdr-ip:8008 : Package vdr-plugin-live
  • libxine*-based VDR-frontends with OSD and VDPAU (control via remote control or keyboard):
    • vdr-sxfe from package xineliboutput-sxfe on the client and vdr-plugin-xineliboutput on the vdr-server
    • client: xine-ui+libxine*-xvdr, VDR-Server: vdr-plugin-xine

hepi

[1] https://launchpad.net/~gda-dachsweb/+archive/vdr-devel
[2] https://launchpad.net/~the-vdr-team/+archive/vdr-ubuntu-karmic
[3] https://launchpad.net/~hotzenplotz5/+archive/ppa
[4] http://www.henningpingel.de/vdrstuff/vdr_package_tracker/index.html?distribution=Ubuntu&release=karmic
[5] https://launchpad.net/~henningpingel/+archive/xbmc


- orkid - 2009-10-24

is there any known working versions for xbmc+vdr? I tried vdr-1.7.9+streamdevext+parentalrating patches from the vdr listserv, streamdev from cvs, and hepi's xbmc from PPA, and I get no audio/video although XBMC does see the proper bitrate and program number info (i have debug turned on, and am tailing xbmc.log). the PVR (manager?) automatically says that it got no audio/video for 5 seconds... that's repeated over and over, and then nothing.

I can post the log if that would help.


- biggles - 2009-10-24

I use 1.77 from mirak and it's working like a charm with xbmc from hepi. (A big thanks to both mirak and hepi!!!)


- marius - 2009-10-31

hi,

i am a long term vdr user and new to xbmc. i followed the instructions from hepi to get the xbmc pvr frontend running - i installed:

1. vdr (equip it with an appropriate channels.conf in /var/lib/vdr)
2. vdr-plugin-streamdev-server (configure it to allow connections from local network)
3. xbmc (build of branch pvr-testing - for examlpe from my PPA [5])

right now vdr started running, but i cant find the menue entry in xbmc to connect to it. is there something missing, or where do i find the menue entry?

regards, marius


- marius - 2009-10-31

ok - found something about the vdr-frontend in settings -> network -> tv -> manage clients -> add ons


problem: when i try to configure xbmc's the vdr client it says: an unknown error occured - add on can not be used

the vdr streamdev seems to be running: when i connect it using telnet 127.0.0.1 2004 (these settings are used by the xbmc vdr client) vdr shows up ...

the xbmc logfile says:

Quote:10:13:07 T:3079432080 M:1663021056 INFO: starting PVRManager
10:13:07 T:3079432080 M:1663021056 NOTICE: PVR: PVRManager starting
10:13:07 T:3079432080 M:1663021056 DEBUG: PVR: VDRClient - Initializing PVR-Client AddOn
10:13:07 T:3079432080 M:1663021056 DEBUG: CAddonUtils: AddOn VDRClient request Setting host
10:13:07 T:3079432080 M:1663021056 DEBUG: CAddonUtils: AddOn VDRClient request Setting port
10:13:07 T:3079432080 M:1663021056 DEBUG: CAddonUtils: AddOn VDRClient request Setting ftaonly
10:13:07 T:3079432080 M:1663021056 DEBUG: CAddonUtils: AddOn VDRClient request Setting useradio
10:13:07 T:3079432080 M:1663021056 DEBUG: CAddonUtils: AddOn VDRClient request Setting convertchar
10:13:07 T:3079432080 M:1663021056 DEBUG: CAddonUtils: AddOn VDRClient request Setting timeout
10:13:07 T:3079432080 M:1663021056 DEBUG: CAddonUtils: AddOn VDRClient request Setting ignorechannels
10:13:07 T:3079432080 M:1663021056 INFO: AddOnLog: PVRDLL/VDRClient: CVTPTransceiver::Open - server greeting: Welcome to Video Disk Recorder (VTP)
10:13:07 T:3079432080 M:1663021056 DEBUG: AddOnLog: PVRDLL/VDRClient: VTPTransceiver::GetStreamData - local address 127.0.0.1:54906
10:13:07 T:3079432080 M:1663021056 DEBUG: AddOnLog: PVRDLL/VDRClient: CVTPTransceiver::OpenStreamSocket - listening on 0.0.0.0:13975
10:13:07 T:3079432080 M:1663021056 NOTICE: cPVRChannels: TV Database holds no Radio channels, reading channels from clients
10:13:07 T:3079432080 M:1663021056 WARNING: CRITSEC[0x8b5203c]: Trying to initialze initialized section.
10:13:07 T:2988321648 M:1663021056 DEBUG: Thread 2988321648 terminating (autodelete)
10:13:07 T:2974669680 M:1663021056 DEBUG: Thread 2974669680 terminating (autodelete)
10:13:07 T:3016747888 M:1663021056 DEBUG: Thread 3016747888 terminating (autodelete)
10:13:07 T:3079432080 M:1672339456 DEBUG: PVR: destroyed



UPDATE: with some repeated deleating of the ~/.xbmc directory and trying over and over again it now works!


- voyager_mp - 2009-11-06

Hi, first thx for you work. This is a fantastic system.

I have to minor problems.

1. channel icons simply disapear after some time.
2. is there a way to inform the user that a recording is taking place ? Right now when I watch tv the picture suddendly stops when a sched. recording is starting.

My wife hates that Wink

Oh I forgot, in your brance I can't add movies manuly to the database.

thx


- hepi - 2009-11-06

@voyager_mp: Please open tickets on XBMC-Trac for the issues you have found and add "Pvr-testing:" as a prefix to the subject and put the ticket on the name of developer alwinus who is the magican who codes the TV stuff for us. Please make sure the issues still occur in the latest SVN revision. Thanks!


- EvoGT - 2009-11-07

Can someone please tell me if i'm too dumb to install XBMC with VDPAU and VDR?

I'm trying it now the 5. time but it won't work for me...
I use an ASRock 330 ION and a Cinergy T-USB XE DVT-T Stick.

First problem: if i try to follow the guide on the first page, i can't get V4L working (errors while compiling) but i guess thats no problem because the stick works after sopying the right firmware to /lib/firmware. Or am i wrong?

Second problem: No FFmpeg and Xinelib for me ... can't compile either.
there is NO --enable-swscale option available and compile doesn't even start ...

...didn't get any farther Sad

Is there any "easier" way than compile every thing from source??
I have seen people saying just install x y z ... but how with the custom PPAs?
I add the PPAs always to my sources.list, but can't decide ...

Help me please Smile


- hepi - 2009-11-09

Somebody tried to write down all the steps on how to install VDR+XBMC via PPA's here: http://vdr-portal.de/board/thread.php?postid=854432#post854432. I haven't used it, but it looks promising, except for the NVIDIA driver which can be used straight from the PPA of the-vdr-team.

Oh, I forgot about this blog entry which explains it nicely too:
http://blog.mymediasystem.net/avchd/xbmc-on-karmic-with-vdpau-and-vdr/

And I tried to give an overview about the different Ubuntu repositories for VDR here:
http://www.henningpingel.de/vdrstuff/vdr_trendy_features_matrix.html
This page is quite new, so if you have questions, please ask.

Maybe it's time to start a new thread on VDR+XBMC via PPA's?


- ronnylov - 2009-11-11

mirak63 Wrote:You can create a ppa with just vdr plugins you want that will just depend of another ppa with vdr.

I created a team ppa when I created mine, hoping people would join efforts, but nobody did.
So I will try to invite the guy that did the karmic ppa.

I added your ppa repository to my package sources for karmic and the only thing available is the technotrend firmware. I wanted to install the vdr-plugin-opensc package but it does not exist when I search with synaptic. Looks like the package failed to build.



Regarding VDR and XBMC it is a nice project to get them integrated. I tried combining hotzenpotz5 ppa with henningpingel ppa as described in the blog linked by hepi in the post above and it indeed works but it is a little bit buggy sometimes. Hopefully this will get better by time. One thing I noted is that I am having problems watching dvd iso files. Most of them does not play. I guess this is an issue of this actual xbmc build?


- hepi - 2009-11-11

FYI: hotzenplotz5 has recently announced that he will not continue to update his PPA. Instead, the other PPA the-vdr-team will be the recommeded package source for the future (it's a cooperation of different users including hotzenplotz5).

Cheers,
hepi


- ronnylov - 2009-11-11

hepi Wrote:FYI: hotzenplotz5 has recently announced that he will not continue to update his PPA. Instead, the other PPA the-vdr-team will be the recommeded package source for the future (it's a cooperation of different users including hotzenplotz5).

Cheers,
hepi

Thanks, but when I used vdr-team ppa and following this guide:
http://blog.mymediasystem.net/avchd/xbmc-on-karmic-with-vdpau-and-vdr/

Then something got broken when installing the packages referred (something which had a dependency on nvidia driver version 180 while I had driver 190.42 installed) and after restarting the computer it got stuck in the boot with a flickering screen. I had to reinstall ubuntu and then I thougt I better use the repository mentioned in the blog.

Maybe I did something wrong, so next time I will try it again with vdr-team ppa and see what happens... Maybe I would need some additional ppa to get all the xine vdpau packages installed correctly?


- hepi - 2009-11-11

ronnylov Wrote:Maybe I did something wrong, so next time I will try it again with vdr-team ppa and see what happens... Maybe I would need some additional ppa to get all the xine vdpau packages installed correctly?
General problem is, that we are following unstable development versions here and things are changing quickly and dynamically and anybody who tries to write a tutorial today has to change it tomorrow.

I use Karmic i386 + the-vdr-team PPA and the Nvidia driver version included in the PPA. I didn't have any essential problems yet, only a large bunch of small problems. ;-) I use vdr-sxfe and XBMC as alternating front ends.