• 1
  • 32
  • 33
  • 34(current)
  • 35
  • 36
  • 39
[LINUX] HOW-TO get Live TV with VDR working in XBMC for Linux
Goga777 Wrote:btw - did you install any patches for vdr 1711 and streamdev ?

no i just compiled the basic source code and it seems to work well with xbmc.
Reply
strange - here is http://xbmc.svn.sourceforge.net/viewvc/x...v/patches/

several patches for vdr and streamdev

why they need then ?

btw - another pvr2 video http://www.youtube.com/watch?v=Fi0VcpWoSxY
Nvidia Shield
kodi 18.1 RC1
Reply
Goga777 Wrote:strange - here is http://xbmc.svn.sourceforge.net/viewvc/x...v/patches/

several patches for vdr and streamdev

why they need then ?

Some of the patches are quite old and may well be included in the source.

I will build VDR with the patches next week and see what difference it makes.

Некоторые пятна довольно старая и вполне может быть включено в источнике.

Я создам VDR с пятнами на следующей неделе и посмотрим, что он делает разницы.
Reply
I have tested vdr 1711 + svn pvr2 + cvs streamdev (I didn't install any patches). I have very unstable work - xbmc very often hunged up, the channels aren't switching

any clue ?
Nvidia Shield
kodi 18.1 RC1
Reply
HI,

I found some radio and tv channels that won't work in xbmc-pvr ... but
they seam to work great in vdr-xine configuration and even in vdr-
streamdev when watching the channel throught VLC player.

The Tv channels are encoded so You won't be able to test them ... but i
found one FTA radio station that doesn't work either. It's a polish radio
station on S13.0E sataelite.

This is the radio channel You can test on .. its FTA:
ZLOTE PRZEBOJE;CYFROWY POLSAT
S.A.:12284:HC34M2O0S0:S13.0E:27500:0:4369=POL:0:0:10519:113:7900:0

The xbmc log: http://krzaczek.pastebin.com/m54e04358

The only difference between a working channel and one that doesn't work i
found in xbmc log is

20:59:44 T:139910994147600 M:1505427456 INFO: ffmpeg[911B3910]: No
Program

I have no idea what it means .. but it's the only difference .. the video
and audio streams are under No Program .. when on a working channel it's
something like Program XXXX.

Some info:
Ubuntu 9.10
xbmc-pvr rev 26948 from the prv-testing2
vdr 1.7.10 with streamdev-server 0.5.0-pre with patches from
xbmc/pvrclients/vdr-streamdev/patches/
Reply
with svn pvr2 branch _ cvs streamdev with parent rate patch and vdr 1711 I have very instable work - sometimes xbmc crashed, sometimes hung up. IN log I can see a lot of messages like this


17:01:40 T:3001752464 M: 88903680 ERROR: PVR: VDRClient for streamdev/127.0.0.1:2004 - Client returns bad error (-3) after SignalQuality
17:01:40 T:2963123088 M: 88903680 ERROR: OpenDemuxStream - Error creating demuxer
17:01:41 T:3001752464 M: 88408064 ERROR: AddOnLog: PVRDLL/VDRClient for streamdev: CVTPTransceiver::SendCommand - Failed with code: 500 (Unknown Command "LSTQ")
17:01:41 T:3001752464 M: 88408064 ERROR: PVR: VDRClient for streamdev/127.0.0.1:2004 - Client returns bad error (-3) after SignalQuality
17:01:41 T:2895514512 M: 88346624 DEBUG: AddOnLog: PVRDLL/VDRClient for streamdev: buffer usage: 70% (tid=23539)
17:01:41 T:2895514512 M: 88182784 DEBUG: AddOnLog: PVRDLL/VDRClient for streamdev: buffer usage: 80% (tid=23539)
17:01:42 T:3001752464 M: 88182784 ERROR: AddOnLog: PVRDLL/VDRClient for streamdev: CVTPTransceiver::SendCommand - Failed with code: 500 (Unknown Command "LSTQ")
17:01:42 T:3001752464 M: 88182784 ERROR: PVR: VDRClient for streamdev/127.0.0.1:2004 - Client returns bad error (-3) after SignalQuality
17:01:42 T:2895514512 M: 88182784 DEBUG: AddOnLog: PVRDLL/VDRClient for streamdev: buffer usage: 90% (tid=23539)
17:01:42 T:2895514512 M: 88182784 DEBUG: AddOnLog: PVRDLL/VDRClient for streamdev: buffer usage: 100% (tid=23539)
17:01:43 T:3001752464 M: 87998464 ERROR: AddOnLog: PVRDLL/VDRClient for streamdev: CVTPTransceiver::SendCommand - Failed with code: 500 (Unknown Command "LSTQ")


16:59:08 T:3001752464 M:104833024 ERROR: PVR: VDRClient for streamdev/127.0.0.1:2004 - Client returns bad error (-3) after SignalQuality
16:59:09 T:3032704896 M:104833024 ERROR: convert_checked failed
16:59:09 T:2943568784 M:104833024 DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/446.pvr)
16:59:10 T:3032704896 M:104833024 ERROR: convert_checked failed
16:59:10 T:3001752464 M:104833024 ERROR: AddOnLog: PVRDLL/VDRClient for streamdev: CVTPTransceiver::SendCommand - Failed with code: 500 (Unknown


16:59:10 T:3032704896 M:104833024 ERROR: convert_checked failed
16:59:10 T:3032704896 M:104833024 ERROR: convert_checked failed
16:59:10 T:3032704896 M:104833024 ERROR: convert_checked failed



full log
http://pastebin.com/f1cdf8638
http://pastebin.com/f193afeef

as you can see - sometimes XBMC is using ffmpeg for h264 channels - not vdpau - why ?

crashlogs are here
http://pastebin.com/f7abdeedc
http://pastebin.com/f4381f78e


in streamdev log I can see

Jan 23 12:10:34 arvdr vdr: [2874] Streamdev: Setting data connection to 127.0.0.1:58989
Jan 23 12:10:34 arvdr vdr: [4204] streamdev-writer thread started (pid=2562, tid=4204)
Jan 23 12:10:34 arvdr vdr: [4205] streamdev-livestreaming thread started (pid=2562, tid=4205)
Jan 23 12:10:34 arvdr vdr: [4206] receiver on device 1 thread started (pid=2562, tid=4206)
Jan 23 12:10:34 arvdr vdr: [4207] TS buffer on device 1 thread started (pid=2562, tid=4207)
Jan 23 12:10:35 arvdr vdr: [4207] TS buffer on device 1 thread ended (pid=2562, tid=4207)
Jan 23 12:10:35 arvdr vdr: [4206] buffer stats: 152468 (3%) used
Jan 23 12:10:35 arvdr vdr: [4206] receiver on device 1 thread ended (pid=2562, tid=4206)
Jan 23 12:10:35 arvdr vdr: [4209] receiver on device 1 thread started (pid=2562, tid=4209)
Jan 23 12:10:35 arvdr vdr: [4210] TS buffer on device 1 thread started (pid=2562, tid=4210)
Jan 23 12:10:35 arvdr vdr: [4210] TS buffer on device 1 thread ended (pid=2562, tid=4210)
Jan 23 12:10:35 arvdr vdr: [4209] buffer stats: 21620 (0%) used
Jan 23 12:10:35 arvdr vdr: [4209] receiver on device 1 thread ended (pid=2562, tid=4209)
Jan 23 12:10:35 arvdr vdr: [4211] receiver on device 1 thread started (pid=2562, tid=4211)
Jan 23 12:10:35 arvdr vdr: [4212] TS buffer on device 1 thread started (pid=2562, tid=4212)
Jan 23 12:10:36 arvdr vdr: [2562] switching to channel 21
Jan 23 12:10:36 arvdr vdr: [2562] [core.pids] 0: tune to same source/transponder
Jan 23 12:10:40 arvdr vdr: [2874] streamdev-server: Detaching current receiver
Jan 23 12:10:44 arvdr vdr: [2856] ERROR: 1 ring buffer overflow (188 bytes dropped)
Jan 23 12:10:44 arvdr vdr: [4205] streamdev-livestreaming thread ended (pid=2562, tid=4205)
Jan 23 12:10:47 arvdr vdr: [2874] ERROR: streamdev-writer thread 4204 won't end (waited 3 seconds) - canceling it...
Jan 23 12:10:47 arvdr vdr: [2874] buffer stats: 1127060 (29%) used
Jan 23 12:10:52 arvdr vdr: [2874] Streamdev: Setting data connection to 127.0.0.1:49597
Jan 23 12:10:52 arvdr vdr: [4246] streamdev-writer thread started (pid=2562, tid=4246)
Jan 23 12:10:52 arvdr vdr: [4247] streamdev-livestreaming thread started (pid=2562, tid=4247)
Jan 23 12:11:46 arvdr init: Switching to runlevel: 3
Jan 23 12:11:46 arvdr lircd-0.8.3[2398]: read() failed
Jan 23 12:11:46 arvdr lircd-0.8.3[2398]: Connection reset by peer
Jan 23 12:11:46 arvdr lircd-0.8.3[2398]: removed client
Jan 23 12:11:46 arvdr vdr: [2874] client (VTP) 127.0.0.1:38140 has closed connection
Jan 23 12:11:46 arvdr vdr: [2874] streamdev: closing streamdev connection to 127.0.0.1:38140
Jan 23 12:11:46 arvdr vdr: [4247] streamdev-livestreaming thread ended (pid=2562, tid=4247)
Jan 23 12:11:46 arvdr vdr: [4246] streamdev-writer thread ended (pid=2562, tid=4246)
Jan 23 12:11:46 arvdr vdr: [2874] buffer stats: 0 (0%) used






Jan 23 12:10:40 arvdr vdr: [2874] streamdev-server: Detaching current receiver
Jan 23 12:10:44 arvdr vdr: [2856] ERROR: 1 ring buffer overflow (188 bytes dropped)
Jan 23 12:10:44 arvdr vdr: [4205] streamdev-livestreaming thread ended (pid=2562, tid=4205)
Jan 23 12:10:47 arvdr vdr: [2874] ERROR: streamdev-writer thread 4204 won't end (waited 3 seconds) - canceling it...
Jan 23 12:10:47 arvdr vdr: [2874] buffer stats: 1127060 (29%) used
Jan 23 12:10:52 arvdr vdr: [2874] Streamdev: Setting data connection to 127.0.0.1:49597
Jan 23 12:10:52 arvdr vdr: [4246] streamdev-writer thread started (pid=2562, tid=4246)
Jan 23 12:10:52 arvdr vdr: [4247] streamdev-livestreaming thread started (pid=2562, tid=4247)
Jan 23 12:11:46 arvdr init: Switching to runlevel: 3
Nvidia Shield
kodi 18.1 RC1
Reply
Hi Goga7777

To get rid of these messages You have to apply some patches to the streamdev-server
- streamdev-cvs221109-AddFemonV1.diff - this will remove the SignalQuality error
"Client returns bad error (-3) after SignalQuality"
- streamdev-cvs221109-AddCallbackMsg.diff - this will remove the "Failed with code: 500 (Unknown Command "LSTQ")" from what I can rememeber

You can find theme here:
http://trac.xbmc.org/browser/branches/pv...ev/patches

Pawel
Reply
thanks - will do it
I supposed that those patches already in cvs streamdev
Nvidia Shield
kodi 18.1 RC1
Reply
Does the search function work for anyone?
Reply
The following is a very brief look at how i build VDR for testing with xbmc.

please note this is not a complete how to and does not cover things like dependencies or build tools.

Make a vdr directory in your home folder and move to it:

Code:
mkdir -v vdr

cd vdr



Download VDR:

Code:
wget ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.11.tar.bz2

Download streamdev:

Code:
cvs -d:pserver:[email protected]:/var/cvsroot co streamdev

Unarchive VDR:

Code:
tar -xf vdr-1.7.11.tar.bz2

change directory into the vdr file:

Code:
cd vdr-1.7.11

Copy the Make.config file and edit it:

Code:
cp Make.config.template Make.config

Code:
gedit Make.config

This is what i use for my system:

LOCDIR = /usr/lib/locale
PLUGINDIR= ./PLUGINS
PLUGINLIBDIR= /usr/lib/vdr/plugins
VIDEODIR = /media/media/vdr
CONFDIR = /etc/vdr

Copy Streamdev to plugins folder:

Code:
cp -r ~/vdr/streamdev streamdev

Return to the vdr folder, then make VDR and plugins and install from a .deb:

Code:
cd ../../

sudo make

sudo make plugins

sudo checkinstall --fstrans=no --install=yes --pkgname=vdr --pkgversion "1.7.11"

Once VDR has been installed move the streamdev folder to the plugins folder;

Code:
sudo cp -r ~/vdr/vdr-1.7.11/PLUGINS/src/streamdev/streamdev /etc/vdr/plugins/streamdev

place your channels.conf in /etc/vdr

This is how i scan for channels (Northwest UK):

Channel Scanning with w_scan:

w_scan -ft -c GB -o7 >> channels.conf

or

Channel Scanning with scan:

scan -o vdr -u /usr/share/dvb/dvb-t/uk-WinterHill > channels.conf

set up access to vdr and streamdev:

Code:
sudo gedit /etc/vdr/svdrphosts.conf

Code:
sudo gedit /etc/vdr/plugins/streamdev/streamdevhosts.conf

start vdr and streamdev:

Code:
vdr -P streamdev-server

as a daemon:

Code:
vdr -d -P streamdev-server

Please bear in mind that i only use this for testing and this does not include any patches.

Thanks,

Dubstar_04
Reply
I recommend to use scan-s2 with s2 api support instead of scan
http://mercurial.intuxication.org/hg/scan-s2/

I'm using also these 3 patches for cvs streamdev

http://xbmc.svn.sourceforge.net/viewvc/x...f?view=log
http://xbmc.svn.sourceforge.net/viewvc/x...f?view=log
http://xbmc.svn.sourceforge.net/viewvc/x...h?view=log


The patch http://xbmc.svn.sourceforge.net/viewvc/x...h?view=log

I didn't install - no need
Nvidia Shield
kodi 18.1 RC1
Reply
very-very often I have situation when xbmc hung up (freezing) after of switching on some channel - see the full log on pastebin for SVN:27127
http://pastebin.com/f7f602e3d

Code:
14:53:25 T:3032328064 M: 72884224  NOTICE: DVDPlayer: Opening: pvr://channels/tv/all/344.pvr
14:53:25 T:3032328064 M: 72884224  NOTICE: CDVDPlayer::CloseFile()
14:53:25 T:3032328064 M: 72884224  NOTICE: DVDPlayer: waiting for threads to exit
14:53:26 T:2920106896 M: 72884224 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
14:53:26 T:2920106896 M: 72888320 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
14:53:26 T:2920106896 M: 72888320 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
14:53:26 T:2920106896 M: 72888320 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
14:53:26 T:2920106896 M: 72888320 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
14:53:26 T:2920106896 M: 72888320 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
14:53:26 T:2920106896 M: 72888320 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
Nvidia Shield
kodi 18.1 RC1
Reply
I removed ~/.xbmc/userdata/Database/MyTV1.db and tried again. Anyway I had another case of xbmc freezing , but in the log there's another lines

logs from vdr and streamdev here
http://paste.org.ru/?pzl4fr

xbmc.log here is http://slil.ru/28539090

Code:
15:25:53 T:2905496464 M: 52133888   ERROR: PVR: No video or audio data available after 5 seconds, playback stopped
15:25:53 T:2905496464 M: 52133888   ERROR: Open - error reading from input stream, pvr://channels/tv/all/361.pvr
15:25:53 T:2905496464 M: 52015104   ERROR: OpenDemuxStream - Error creating demuxer
15:25:55 T:2880318352 M: 50417664   DEBUG: AddOnLog: PVRDLL/VDRClient for streamdev: buffer usage: 70% (tid=7019)
15:25:56 T:2880318352 M: 49987584   DEBUG: AddOnLog: PVRDLL/VDRClient for streamdev: buffer usage: 80% (tid=7019)
15:25:57 T:2880318352 M: 49565696   DEBUG: AddOnLog: PVRDLL/VDRClient for streamdev: buffer usage: 90% (tid=7019)
15:25:57 T:2880318352 M: 49201152   DEBUG: AddOnLog: PVRDLL/VDRClient for streamdev: buffer usage: 100% (tid=7019)
15:26:15 T:3000593296 M: 58503168   DEBUG: AddOnLog: PVRDLL/VDRClient for streamdev: closing connection (res was 1)
15:26:15 T:3000593296 M: 58601472    INFO: AddOnLog: PVRDLL/VDRClient for streamdev: CVTPTransceiver::Connect - server greetin
g: Welcome to Video Disk Recorder (VTP)
15:26:15 T:3000593296 M: 58601472    INFO: AddOnLog: PVRDLL/VDRClient for streamdev: Connected to server 127.0.0.1:2004 using
capabilities TS,FILTERS
15:30:24 T:3000593296 M: 51949568   DEBUG: PVR: Updating Radio Channel list
15:30:25 T:3000593296 M: 51949568   DEBUG: PVR: Updating Recordings list
15:34:13 T:3000593296 M: 56799232  NOTICE: PVR: cleaning up epg data
15:35:25 T:3000593296 M: 56094720   DEBUG: PVR: Updating TV Channel list
15:37:56 T:3000593296 M: 57303040   DEBUG: PVR: Updating Recordings list
15:40:24 T:3000593296 M: 57257984   DEBUG: PVR: Updating Radio Channel list
15:44:13 T:3000593296 M: 57327616  NOTICE: PVR: cleaning up epg data
15:45:26 T:3000593296 M: 56406016   DEBUG: PVR: Updating TV Channel list
15:45:30 T:3000593296 M: 56098816   DEBUG: PVR: Updating Recordings list

here is another xbmc_crashlog-20100124_192111.log
It happened when I tried during of watching dvb mpeg2 channel to choice the schannels list
http://pastebin.com/f34c12c75
Nvidia Shield
kodi 18.1 RC1
Reply
I am using the latest svn (as of today) and now have a new problem with the epg. I am in the US/Chicago timezone, my date command in linux shows

date
Mon Jan 25 09:29:51 CST 2010

I also have xmbc set for Chicago, however the epg info, once loaded says "No info available" for every channel. When I go into a channel and have a look at the schedule for the day, listings start about 6 hours later, although the times are correct on the schedule. My guess is that some code was introduced that hardcoded a GMT or equivalent timezone test to make sure that expired epg entries don't show up, unfortunately, this throws away 6 hours of epg..

Also, I use the pvrinput plugin. For some reason, radio channels do not work, although tv does. An example channels.conf line for radio is:

Code:
FM 103.1MHz-WGFB;Adult Contemporary:103100:PVRINPUT|RADIO:P:0:0:300:305:0:1452:0:0:0
Reply
dubstar_04 Wrote:
Code:
gedit Make.config

This is what i use for my system:

LOCDIR = /usr/lib/locale
PLUGINDIR= ./PLUGINS
PLUGINLIBDIR= /usr/lib/vdr/plugins
VIDEODIR = /media/media/vdr
CONFDIR = /etc/vdr

Copy Streamdev to plugins folder:


Dubstar_04

Is the STREAMDEVEXT=1 and PARENTALRATING=1 not necessary anymore ?
Also for vdr-1.7.10 ?

thanks

sp
Vu+ Solo2 with BH
2x Rpi's openelec 3.2.4
Reply
  • 1
  • 32
  • 33
  • 34(current)
  • 35
  • 36
  • 39

Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO get Live TV with VDR working in XBMC for Linux14