[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) |
- megacrypto - 2009-02-12 alwinus Wrote:Have you only one DVB Card? If yes it is possible the other channels are blocked, can you try VDR with the dummydevice plugin http://phivdr.dyndns.org/vdr/vdr-dummydevice/vdr-dummydevice-1.0.2.tgz and switch inside VDR under Settings->DVB->Frontend to another one. i downloaded the plugin... can you help on how to compile it? - JayJay - 2009-02-12 mego You don't necessary need the dummy device plugins if you actually managed to get a picture at least once. You have to change in the plugins Streamdev-server Code: Suspend behaviour Offer suspend PHP Code: Suspend behaviour Always - megacrypto - 2009-02-13 ... i got that part (it didnt work), i meant the part with the dummydevice ... obviously with only one card the local vdr consumes it, so any remote machine can not change any of the channels, excpet to those on the same transponder. btw which connection is the xbmc frontend using VDR-to-VDR or HTTP?? - megacrypto - 2009-02-13 i noted another thing, for some reason xbmc does not pick up any newly added channels from vdr.. i had first scanned one sat to test on, and that xbmc picked all its channels, but then i added another sat (i have diseqc with 4 lnbs) but those channels did not show in xbmc ?! any thoughts on that.. - freezy - 2009-02-13 go to ~/.xbmc/userdata/Database/ and delete MyTV1.db I think it's called. - megacrypto - 2009-02-13 freezy Wrote:go to ~/.xbmc/userdata/Database/ and delete MyTV1.db I think it's called. thanks that did it JayJay: actually i turned off the HTTP server from streamdev in vdr and that actually did the job (with also changing the suspend behaviour to always) but it only works for like once or twice and then my xbmc machine just goes into 100% cpu usage and the vdr box only flicks off for 1 second and then keeps playing on - i.e it does not suspend (i have both screens on split view on my tv) i have to reboot the xbmc box and then it all works for like selecting one channel and then thats it. besides, it takes like 5 seconds to open that channel - JayJay - 2009-02-13 Humm Maybe try to stop the channels before changing to a new one, your VDR some time doesn't get that your are switching channel throught streaming .... but it could also be point 5. If it take about 5 sec it is almost normal, because : 1. VDR have to tune to the channel 2. SC have to decode it and found the key 3. There is a supplementary delay because it is streaming (to your xbmc ), so it has also to be a little cache on your xbmc Try to see if tuning to a FTA (Free to Air) channels it come faster .... 4.And you shouldn't turn off HTTP server in Streamdev-server (because streamdev-server should be using HTTP server and not VDR-toVDR to stream to xbmc) 5.And also try to set Max connection in Streamdev-server to the maximun ex: 999 [CODE](Max no of clients 999)[CODE\] Good Luck [EDIT 2] BTW: there is 2 scripts (python) to be use on xbmc (i have the original xbox 1 and use it daily ) to have VDR on xbmc without modying anything: - streamdev 0.2 for xbmc - xstreamdev for XBMC both are python scripts that you have to edit and change your VDR ip address according to your setup. JayJay - loeppel - 2009-02-13 hotzenpl0tz Wrote:@philter: Yes this is the case. VDR it self does NO decoding. This is done either by any media player via streamdev-server (VTP or HTTP) or by a Plugin like xineliboutput, xine (needs patches to libxine) and softdevice (direct ffmpeg implementation - very fast). If you own a Hardware FF (full-featured) DVB Card, the card will doing the decoding of mpeg2 (but only mpeg2). There are also several extren decoding cards like drx3, they work with plugins too. Greets, loeppel - megacrypto - 2009-02-13 I would like to know.. i have an FF card (Nexus-S), do i still need to do the part for FFmpeg and Xinelib ?? - JayJay - 2009-02-13 Quote:I would like to know.. i have an FF card (Nexus-S), do i still need to do the part for FFmpeg and Xinelib ?? I don't think so because Quote:I'm using a budget card which doesn't do any decoding at all, so we have let the CPU do it. Quote:For testing VDR without XBMC alreadyso it is only necessary for him in order to have VDR running without using dummydevice (to fake a FF card) and for testing WITHOUT xbmc, like that he can watch VDR in xine. So you probably need only: - xbmc with the VDR patch - VDR + streamdev-server
- megacrypto - 2009-02-13 im reinstalling all now.. just in case i missed something .. will report back with results so, do i also need the V4L ?? as far as i understand this is also for budget cards? - JayJay - 2009-02-13 Yep the v4l is the new linux driver for ALL dvb device and other video device as well (such as webcam and so on ...), but if your card is recognized and load at startup, you might don't even need it, to check if needed, do a dmesg after the reinstall and check if you FF card is loaded (or rmmod dvb_ttpci, rmmod stv_0299 then modprobe dvb_ttpci and do a dmesg again to see if successfully loaded you should see message saying find Frontend .... find tuner ..... card Hauppaugge rev ....) To have it work: 1. Install and verify that VDR is running with your FF & with the plugins streamdev-server (And i guess SC if you want to see something else then FTA channel) 2. install xbmc with the VDR patch to received and display the channel XBMC need to be connected to VDR only with streamdev, whatever kind of card you have. you don't need dummydevice or xinelibout or dxr3 or any of those thing, if you have a FF card (those plugins allows VDR to find a frontend and start successfully without a FF card) Good luck [EDIT] Been using xbmc in my xbox for years (when xbox lauch the 1st xbox, I softmod and flash the original chip from my xbox and use only xbmc in it, i think i have never play a game with mine ) Been using also VDR for 10 years (that is what have bring me to linux, first place) So I know all that things but never tried to tied them togeter except through python script do not hesitate if need more help Jay - megacrypto - 2009-02-13 i was trying to compile vdr, these are the steps i've done: 1. installed V4L and this what i got from dmesg | grep -i dvb Code: [ 8.098493] saa7146: register extension 'dvb'. 2. skipped the FFmpeg & Xinelib (since i have an FF card) 3. did the install VDR 1.7.2 as per steps but have the following comments: a. this line gives some sort of a selection menu which the guide does not explain on how to go about: Code: sudo checkinstall --fstrans=no --install=yes --pkgname=vdr --pkgversion "1.7.2-5ubuntu2-0" b. i skipped the part for the standalone testing (again FF card do not need it) c. went into the streamdev part which all went ok except: i. that the following line asks for a password (which if not supplied will create one) Code: cvs -d:pserver:[email protected]:/var/cvsroot login Code: sudo cp streamdev/streamdevhosts.conf /etc/vdr/plugins/streamdev Code: sudo cp streamdev/[b]streamdev/[/b]streamdevhosts.conf /etc/vdr/plugins/streamdev 4. got the w_scan, but really did not use it since i already have a channels.conf and besides im using dvb-s which guide did not say anything about scanning and i skipped looking for how-to for now 5. the start VDR points to opening /usr/local/bin/runvdr which i could not locate (did not exist) so i sudo nano'ed one but obviously that will not do it, and of course the sudo runvdr does not do anything im currently patching XBMC on my other machine and will feedback as soon as i figure out how to run VDR - JayJay - 2009-02-13 to run VDR make a script calll runvdr : (that is mine) ------------------------------- VDRPRG="/usr/local/src/VDR/vdr" VDRCONFIG="/data/vdrconf" VDRCMD="$VDRPRG -c $VDRCONFIG -w 60 -P'sc' -P'streamdev-server -r /data/vdrconf/plugins/streamdev/externremux.sh' $*" KILL="/usr/bin/killall -q -TERM" DRIVERS="rmmod cx88xx rmmod dvb_ttpci rmmod budget_ci modprobe dvb_ttpci modprobe cx88xx modprobe budget_ci" while (true) do eval "$VDRCMD" if test $? -eq 0 -o $? -eq 2; then exit; fi echo "`date` reloading DVB driver" $KILL $VDRPRG sleep 10 $DRIVERS echo "`date` restarting VDR" done --------------------------------------- adapted according to your config then sudo runvdr will do something (for now you are lauching a blank script ) After what you could tried to connect your xbmc to your VDR (don t forget about all the settings for streamdev to work correctly & if your xbmc is not in the same box you should also edit the streamdevhosts.conf to allow connection from other computer from the network) Until next problem all the others things seems OK [EDIT1] it is not sudo cp streamdev/streamdev/streamdevhosts.conf /etc/vdr/plugins/streamdev but sudo cp streamdev/streamdev/streamdevhosts.conf /etc/vdr/plugins/streamdevhosts.conf hope it is a typo in your post [EDIT2] for the part VDRPRG="/usr/local/src/VDR/vdr" adapt to where you have install VDR and for VDRCONFIG="/data/vdrconf" for your config it seems to be VDRCONFIG="/etc/vdr/" - JayJay - 2009-02-13 you could compile and use one of the VDR pack that other user might have distribute (they have been heavely tested by some of the community, with all the patch and all...) as http://rapidshare.com/files/170905817/vdr-1.7.0-br.tar.bz2 and config pack http://rapidshare.com/files/170910110/vdrconf-1.x.0-br.tar.bz2 from alien2924 from http://dvbkivabien2.info forum specialized in DVB (win and linux) |