• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 39
[LINUX] HOW-TO get Live TV with VDR working in XBMC for Linux
#46
@megacrypto
i guess wrong source ?!
Code:
/home/mega/src/vdr-1.7.0-

it should be 1.7.2 ?!
Reply
#47
megacrypto Wrote:im getting an error while trying to compile streamdev:
Code:
server/connectionVTP.c: In member function ‘bool cConnectionVTP::CmdLSTR(char*)’:
server/connectionVTP.c:1218: error: ‘const class cRecordingInfo’ has no member named ‘GetEvent’

VDR must be patched according to the instructions.

BIG HINT -> vdr-1.7.2_GetRecordingEvent.patch
Reply
#48
I fixed my problem posted above.
After installing the newest patch for xbmc, xbmc itself said that my backend was faulty.
So I reinstalled vdr and streamdev. Now I can watch TV Big Grin
Reply
#49
why am i getting this error when i try to make vdr
Code:
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 5.0!

i did a fresh re-install of everything and following the steps as the guide

update:

found this on linuxtv.org (http://linuxtv.org/pipermail/vdr/2008-De...18839.html) which basically says:
Quote:- Added a note about 'Id' being obsolete to the description of cDevice:TonguelayAudio().
- Switched to the new S2API driver API, which was decided to become the official
DVB API in the kernel (based on patches from Igor M. Liplianin, Niels Wagenaar
and Edgar Hucek). VDR now uses the S2API driver from http://linuxtv.org/hg/v4l-dvb.
In order to correctly detect DVB-S2 capable devices, you need to apply the patch
from ftp://ftp.cadsoft.de/vdr/Developer/v4l-d...ility.diff to
the driver source, because the S2API doesn't provide a way of telling whether a
device can handle DVB-S2 transponders.
- The cDvbTuner::IsTunedTo() function now also checks the symbol rate in case of
DVB-S and DVB-C.
- Improved handling PES video packets with zero length when converting from TS to PES.
For good replay in Transfer Mode on full featured DVB cards you may want to apply
the patch from ftp://ftp.cadsoft.de/vdr/Developer/av711...buf_test_1
to the driver (thanks to Oliver Endriss).

why did this error not come up 2 days ago when i first installed it? do i need to patch something? and plz, if yes, can anyone provide the command to what and where?

thanks
Reply
#50
well, i managed to surpass the above problems (except the remote one) and now i have vdr running one machine ... and i have xbmc patched and running on another, but xbmc gives me this msg
Quote:no connection to pvr-server vdr-streamdev is not compatible! check backend settings

this is if i use the port 2004 (which is VDR-to-VDR port on backend)

if i use port 3000 in the TV settings in xbmc (which is the HTTP Server port on backend), and try to go to tv from main menu in xbmc, it freezes.

UPDATE: my bad.... i forgot to enable the IP's in streamdevhosts Eek

Update: now i can see the channels list, but nothing is playing .. will do a log check and post here if i can find anything that looks like an error

Update: after a few restarts ... it worked Smile
Reply
#51
hey megacrypto, how about a few screens from lets say main menu (home screen) to watching tv? I'd like to take a look at it ( I know there are a few screens in the first post) before I take the plunge with XBMC and VDR to replace mediaportal.
Reply
#52
I'm having problems with make vdr and ffmpeg
PHP Code:
vdr@ubun:~/src/vdrmake
g
++ --O2 -Wall -Woverloaded-virtual -Wno-parentheses -rdynamic audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbosd.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skins.o skinsttng.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o iconpatch.-ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig  ./libsi/libsi.-o vdr
tools
.oIn function `cCharSetConv::Convert(char const*, char*, unsigned int)':
/home/vdr/src/vdr/tools.c:825: undefined reference to 
`libiconv'
tools.o: In function `cCharSetConv'
:
/
home/vdr/src/vdr/tools.c:774undefined reference to `libiconv_open'
/home/vdr/src/vdr/tools.c:774: undefined reference to 
`libiconv_open'
tools.o: In function `~cCharSetConv'
:
/
home/vdr/src/vdr/tools.c:782undefined reference to `libiconv_close'
/home/vdr/src/vdr/tools.c:782: undefined reference to 
`libiconv_close'
./libsi/libsi.a(si.o): In function `SI::convertCharacterTable(char const*, unsigned int, char*, unsigned int, char const*)'
:
/
home/vdr/src/vdr-1.7.2/libsi/si.c:381undefined reference to `libiconv_open'
/home/vdr/src/vdr-1.7.2/libsi/si.c:398: undefined reference to 
`libiconv_close'
/home/vdr/src/vdr-1.7.2/libsi/si.c:385: undefined reference to `libiconv'
collect2ld returned 1 exit status
make
: *** [vdrError 1 

PHP Code:
vdr@ubun:~/ffmpegmake
gcc 
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/home/vdr/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer -pthread --Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros         --o libavformat/avidec.o libavformat/avidec.c
libavformat
/avidec.cIn function âavi_read_headerâ:
libavformat/avidec.c:251warningpassing argument 2 of âget_riffâ from incompatible pointer type
libavformat
/avidec.c:251errortoo many arguments to function âget_riffâ
libavformat
/avidec.c:484warningâAVPaletteControlâ is deprecated
make
: *** [libavformat/avidec.oError 1 

Any help would be appreciated
Reply
#53
did you uninstall libav* before compiling? seems it takes the wrong library
Code:
aptitude search libavformat
Running XBMC on my HTPC, tablet, phone and pinball machine.
Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. For troubleshooting and bug reporting, make sure you read this first.
Reply
#54
greco Wrote:hey megacrypto, how about a few screens from lets say main menu (home screen) to watching tv? I'd like to take a look at it ( I know there are a few screens in the first post) before I take the plunge with XBMC and VDR to replace mediaportal.

i will try to, since my xbmc is running on a dedicated machine that does not have a desktop installed on it (i use the ubuntu mini install to minimize the boot time since it will only work as a htpc) .. haven't got vnc working on it yet
Reply
#55
Code:
vdr@ubun:~/ffmpeg$ aptitude search libavformat
p   libavformat-dev                                                            - development files for libavformat
p   libavformat-unstripped-52                                                  - ffmpeg file format library
p   libavformat52                                                              - ffmpeg file format library

Thanks
Reply
#56
i got everything working, but my solution was a bit messy (since the only way to use the remote was to install another instance of vdr - a pre-compiled package - and then use this one to actually run vdr), but i actually could not get vdr 1.7.2 to compile (always gave an error that it required Linux DVB driver API version 5.0! .. so i used vdr 1.6.0 which the GetRecordingEvent.patch ran with no errors on it

anyone faced the same issue with this API 5 matter? i did install v4l-dvb as per this guide here and point to in the Make.config file DVBDIR = /home/mega/src/v4l-dvb/linux
Reply
#57
i have a question about this xbmc patch ... did anyone try it with mythtv ? in the settings one can select between either vdr or mythtv... im wondering how it works with mythtv ?!
Reply
#58
im trying to see different ways to make the remote work, so im trying
Code:
sudo vdr -P'remote -i /dev/input/by-path/pci-0000:01:06.0--event-ir'
this returns:
Code:
*** buffer overflow detected ***: vdr terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7c6e6d8]
/lib/tls/i686/cmov/libc.so.6[0xb7c6c800]
/lib/tls/i686/cmov/libc.so.6[0xb7c6bef8]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0xb7be1a78]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x371b)[0xb7bb70db]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0xb7c6bfa4]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xb7c6beed]
/home/mega/vdr/plugins/libvdr-remote.so.1.6.0(_ZN13cPluginRemote5StartEv+0x2d5)[0xb79828e5]
vdr(_ZN14cPluginManager12StartPluginsEv+0x4b)[0x80eb8fb]
vdr(main+0x1b2b)[0x8122e7b]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7b8a685]
vdr[0x8094cd1]
======= Memory map: ========
08048000-08167000 r-xp 00000000 08:01 11232265   /usr/local/bin/vdr
08167000-08168000 r--p 0011e000 08:01 11232265   /usr/local/bin/vdr
08168000-0816a000 rw-p 0011f000 08:01 11232265   /usr/local/bin/vdr
0816a000-08176000 rw-p 0816a000 00:00 0
09ad6000-09c7b000 rw-p 09ad6000 00:00 0          [heap]
b617a000-b617b000 ---p b617a000 00:00 0
b617b000-b697b000 rw-p b617b000 00:00 0
b697b000-b697c000 ---p b697b000 00:00 0
b697c000-b717c000 rw-p b697c000 00:00 0
b717c000-b717d000 ---p b717c000 00:00 0
b717d000-b797d000 rw-p b717d000 00:00 0
b797d000-b7987000 r-xp 00000000 08:01 13574496   /home/mega/vdr/plugins/libvdr-remote.so.1.6.0
b7987000-b7988000 r--p 0000a000 08:01 13574496   /home/mega/vdr/plugins/libvdr-remote.so.1.6.0
b7988000-b7989000 rw-p 0000b000 08:01 13574496   /home/mega/vdr/plugins/libvdr-remote.so.1.6.0
b7989000-b798e000 r--p 00000000 08:01 11422271   /usr/share/locale/zh_CN/LC_MESSAGES/vdr.mo
b798e000-b7993000 r--p 00000000 08:01 11600852   /usr/share/locale/uk_UA/LC_MESSAGES/vdr.mo
b7993000-b7995000 r-xp 00000000 08:01 11158481   /usr/lib/gconv/ISO8859-9.so
b7995000-b7996000 r--p 00001000 08:01 11158481   /usr/lib/gconv/ISO8859-9.so
b7996000-b7997000 rw-p 00002000 08:01 11158481   /usr/lib/gconv/ISO8859-9.so
b7997000-b799c000 r--p 00000000 08:01 11600870   /usr/share/locale/tr_TR/LC_MESSAGES/vdr.mo
b799c000-b79a1000 r--p 00000000 08:01 11600880   /usr/share/locale/sv_SE/LC_MESSAGES/vdr.mo
b79a1000-b79a6000 r--p 00000000 08:01 11600882   /usr/share/locale/sl_SI/LC_MESSAGES/vdr.mo
b79a6000-b79a8000 r-xp 00000000 08:01 11158477   /usr/lib/gconv/ISO8859-5.so
b79a8000-b79a9000 r--p 00001000 08:01 11158477   /usr/lib/gconv/ISO8859-5.so
b79a9000-b79aa000 rw-p 00002000 08:01 11158477   /usr/lib/gconv/ISO8859-5.so
b79aa000-b79af000 r--p 00000000 08:01 11600867   /usr/share/locale/ru_RU/LC_MESSAGES/vdr.mo
b79af000-b79b4000 r--p 00000000 08:01 11600884   /usr/share/locale/ro_RO/LC_MESSAGES/vdr.mo
b79b4000-b79b9000 r--p 00000000 08:01 11600854   /usr/share/locale/pt_PT/LC_MESSAGES/vdr.mo
b79b9000-b79be000 r--p 00000000 08:01 11600886   /usr/share/locale/pl_PL/LC_MESSAGES/vdr.mo
b79be000-b79c1000 r--p 00000000 08:01 11600878   /usr/share/locale/nn_NO/LC_MESSAGES/vdr.mo
b79c1000-b79c6000 r--p 00000000 08:01 11600856   /usr/share/locale/nl_NL/LC_MESSAGES/vdr.mo
b79c6000-b79cb000 r--p 00000000 08:01 11600847   /usr/share/locale/it_IT/LC_MESSAGES/vdr.mo
b79cb000-b79d0000 r--p 00000000 08:01 11600844   /usr/share/locale/hu_HU/LC_MESSAGES/vdr.mo
b79d0000-b79d5000 r--p 00000000 08:01 11600872   /usr/share/locale/hr_HR/LC_MESSAGES/vdr.mo
b79d5000-b79da000 r--p 00000000 08:01 11600851   /usr/share/locale/fr_FR/LC_MESSAGES/vdr.mo
b79da000-b79df000 r--p 00000000 08:01 11600859   /usr/share/locale/fi_FI/LC_MESSAGES/vdr.mo
b79df000-b79e1000 r-xp 00000000 08:01 11158470   /usr/lib/gconv/ISO8859-13.so
b79e1000-b79e2000 r--p 00001000 08:01 11158470   /usr/lib/gconv/ISO8859-13.so
b79e2000-b79e3000 rw-p 00002000 08:01 11158470   /usr/lib/gconv/ISO8859-13.so
b79e3000-b79e8000 r--p 00000000 08:01 11600864   /usr/share/locale/et_EE/LC_MESSAGES/vdr.mo
b79e8000-b79ed000 r--p 00000000 08:01 11600888   /usr/share/locale/es_ES/LC_MESSAGES/vdr.mo
b79ed000-b79ef000 r-xp 00000000 08:01 11158479   /usr/lib/gconv/ISO8859-7.so
b79ef000-b79f0000 r--p 00001000 08:01 11158479   /usr/lib/gconv/ISO8859-7.so
b79f0000-b79f1000 rw-p 00002000 08:01 11158479   /usr/lib/gconv/ISO8859-7.so
b79f1000-b79f5000 r--p 00000000 08:01 11600840   /usr/share/locale/el_GR/LC_MESSAGES/vdr.mo
b79f5000-b79fa000 r--p 00000000 08:01 11600875   /usr/share/locale/de_DE/LC_MESSAGES/vdr.mo
b79fa000-b79fc000 r-xp 00000000 08:01 11158472   /usr/lib/gconv/ISO8859-15.so
b79fc000-b79fd000 r--p 00001000 08:01 11158472   /usr/lib/gconv/ISO8859-15.so
b79fd000-b79fe000 rw-p 00002000 08:01 11158472   /usr/lib/gconv/ISO8859-15.so
b79fe000-b7a03000 r--p 00000000 08:01 11600862   /usr/share/locale/da_DK/LC_MESSAGES/vdr.mo
b7a03000-b7a05000 r-xp 00000000 08:01 11158474   /usr/lib/gconv/ISO8859-2.so
b7a05000-b7a06000 r--p 00001000 08:01 11158474   /usr/lib/gconv/ISO8859-2.so
b7a06000-b7a07000 rw-p 00002000 08:01 11158474   /usr/lib/gconv/ISO8859-2.so
b7a07000-b7a0c000 r--p 00000000 08:01 11600842   /usr/share/locale/cs_CZ/LC_MESSAGES/vdr.mo
b7a0c000-b7a0d000 r-xp 00000000 08:01 11158467   /usr/lib/gconv/ISO8859-1.so
b7a0d000-b7a0e000 r--p 00001000 08:01 11158467   /usr/lib/gconv/ISO8859-1.so
b7a0e000-b7a0f000 rw-p 00002000 08:01 11158467   /usr/lib/gconv/ISO8859-1.so
b7a0f000-b7a14000 r--p 00000000 08:01 11413132   /usr/share/locale/ca_ES/LC_MESSAGES/vdr.mo
b7a14000-b7a53000 r--p 00000000 08:01 11174818   /usr/lib/locale/en_US.utf8/LC_CTYPE
b7a53000-b7a54000 r--p 00000000 08:01 11174823   /usr/lib/locale/en_US.utf8/LC_NUMERIC
b7a54000-b7b35000 r--p 00000000 08:01 11174817   /usr/lib/locale/en_US.utf8/LC_COLLATE
b7b35000-b7b37000 rw-p b7b35000 00:00 0
b7b37000-b7b5b000 r-xp 00000000 08:01 11142964   /usr/lib/libexpat.so.1.5.2
b7b5b000-b7b5d000 r--p 00023000 08:01 11142964   /usr/lib/libexpat.so.1.5.2
b7b5d000-b7b5e000 rw-p 00025000 08:01 11142964   /usr/lib/libexpat.so.1.5.2
b7b5e000-b7b72000 r-xp 00000000 08:01 11143667   /usr/lib/libz.so.1.2.3.3
b7b72000-b7b74000 rw-p 00013000 08:01 11143667   /usr/lib/libz.so.1.2.3.3
b7b74000-b7ccc000 r-xp 00000000 08:01 14353216   /lib/tls/i686/cmov/libc-2.8.90.so
b7ccc000-b7cce000 r--p 00158000 08:01 14353216   /lib/tls/i686/cmov/libc-2.8.90.so
b7cce000-b7ccf000 rw-p 0015a000 08:01 14353216   /lib/tls/i686/cmov/libc-2.8.90.so
b7ccf000-b7cd2000 rw-p b7ccf000 00:00 0
b7cd2000-b7cdf000 r-xp 00000000 08:01 14336021   /lib/libgcc_s.so.1
b7cdf000-b7ce0000 r--p 0000c000 08:01 14336021   /lib/libgcc_s.so.1
b7ce0000-b7ce1000 rw-p 0000d000 08:01 14336021   /lib/libgcc_s.so.1
b7ce1000-b7d05000 r-xp 00000000 08:01 14353220   /lib/tls/i686/cmov/libm-2.8.90.so
b7d05000-b7d06000 r--p 00023000 08:01 14353220   /lib/tls/i686/cmov/libm-2.8.90.so
b7d06000-b7d07000 rw-p 00024000 08:01 14353220   /lib/tls/i686/cmov/libm-2.8.90.so
b7d07000-b7d08000 rw-p b7d07000 00:00 0
b7d08000-b7deb000 r-xp 00000000 08:01 11141462   /usr/lib/libstdc++.so.6.0.10
b7deb000-b7def000 r--p 000e3000 08:01 11141462   /usr/lib/libstdc++.so.6.0.10
b7def000-b7df0000 rw-p 000e7000 08:01 11141462   /usr/lib/libstdc++.so.6.0.10
b7df0000-b7df6000 rw-p b7df0000 00:00 0
b7df6000-b7e21000 r-xp 00000000 08:01 11142974   /usr/lib/libfontconfig.so.1.3.0
b7e21000-b7e22000 r--p 0002a000 08:01 11142974   /usr/lib/libfontconfig.so.1.3.0
b7e22000-b7e23000 rw-p 0002b000 08:01 11142974   /usr/lib/libfontconfig.so.1.3.0
b7e23000-b7e94000 r-xp 00000000 08:01 11142982   /usr/lib/libfreetype.so.6.3.18
b7e94000-b7e98000 r--p 00070000 08:01 11142982   /usr/lib/libfreetype.so.6.3.18
b7e98000-b7e99000 rw-p 00074000 08:01 11142982   /usr/lib/libfreetype.so.6.3.18
b7e99000-b7ea0000 r-xp 00000000 08:01 14353232   /lib/tls/i686/cmov/librt-2.8.90.so
b7ea0000-b7ea1000 r--p 00007000 08:01 14353232   /lib/tls/i686/cmov/librt-2.8.90.so
b7ea1000-b7ea2000 rw-p 00008000 08:01 14353232   /lib/tls/i686/cmov/librt-2.8.90.so
b7ea2000-b7ea5000 r-xp 00000000 08:01 14336042   /lib/libcap.so.1.10
b7ea5000-b7ea6000 rw-p 00002000 08:01 14336042   /lib/libcap.so.1.10
b7ea6000-b7ea8000 r-xp 00000000 08:01 14353219   /lib/tls/i686/cmov/libdl-2.8.90.so
b7ea8000-b7ea9000 r--p 00001000 08:01 14353219   /lib/tls/i686/cmov/libdl-2.8.90.so
b7ea9000-b7eaa000 rw-p 00002000 08:01 14353219   /lib/tls/i686/cmov/libdl-2.8.90.so
b7eaa000-b7eab000 rw-p b7eaa000 00:00 0
b7eab000-b7ec0000 r-xp 00000000 08:01 14353230   /lib/tls/i686/cmov/libpthread-2.8.90.so
b7ec0000-b7ec1000 r--p 00014000 08:01 14353230   /lib/tls/i686/cmov/libpthread-2.8.90.so
b7ec1000-b7ec2000 rw-p 00015000 08:01 14353230   /lib/tls/i686/cmov/libpthread-2.8.90.so
b7ec2000-b7ec4000 rw-p b7ec2000 00:00 0
b7ec4000-b7ee3000 r-xp 00000000 08:01 11143289   /usr/lib/libjpeg.so.62.0.0
b7ee3000-b7ee4000 rw-p 0001e000 08:01 11143289   /usr/lib/libjpeg.so.62.0.0
b7ee4000-b7ee5000 r--p 00000000 08:01 11174826   /usr/lib/locale/en_US.utf8/LC_TIME
b7ee5000-b7ee6000 r--p 00000000 08:01 11174821   /usr/lib/locale/en_US.utf8/LC_MONETARY
b7ee6000-b7ee7000 r--p 00000000 08Aborted

again a very lengthy output, but maybe someone could guide me to where this could be resolved
Reply
#59
megacrypto Wrote:i have a question about this xbmc patch ... did anyone try it with mythtv ? in the settings one can select between either vdr or mythtv... im wondering how it works with mythtv ?!
Yes, I tried both alwinus' patch and the unified-pvr branch (which the patch is based on afaik). No go with both - the latter one at least shows my upcoming recordings, but that seems to be it so far.

So i guess mythtv users will have to wait a while longer..
Reply
#60
lx01, are you aware of the mythbox python script for mythtv integration? Long term I understand the plan is to integrate via the unified-pvr branch, but for now, the mythbox script offers a fair bit of functionality...

See: http://forum.xbmc.org/showthread.php?tid...ht=mythbox
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 39

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