Kodi Community Forum

Full Version: [LINUX] HOW-TO get Live TV with VDR working in XBMC for Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
ronnylov Wrote:Thanks, but when I used vdr-team ppa and following this guide:


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.

you had to reinstall video drivers and everything would be fine again,no need to reinstall ubuntu.
@ronnylov

you have to remove 190.42
then install

nvidia-glx-185

and trust me it is the 190.42 Big Grin

apt-cache policy nvidia-glx-185

nvidia-glx-185:
Installiert: (keine)
Kandidat: 185.18.37~190.42-0tvt5
Versions-Tabelle:
185.18.37~190.42-0tvt5 0
500 http://ppa.launchpad.net karmic/main Packages
185.18.36-0ubuntu9 0

this is the right driver: (190.42)
in my repository before (not the vdr-team one)
it was the right "name" 190.42
dont ask me why we renamed it :o
i cant because of problems to explain it in english ..........
Is there a way to increase the timeout on channels? I'm guessing if the channel doesn't stream within 5 seconds it says "Channel Unavailable". I have some IPTV channels which take upwards of 45 seconds to start, is there a way of hacking the source, or putting a variable or wait time in to make this work.. For me 60 seconds would be useful, with a way to cancel if I got bored waiting.

Also, if there is no EPG info for a channel and I click on Info, XBMC seg faults and I arrive back at the GDM login screen.

With these two things fixed I would use XBMC over vdr-sxfe on my setup..
@rdoac: If I'm not mistaken, there is a timeout setting in Settings > TV > PVR addon settings.

I encountered some issues in the pvr-testing version and created these tickets:
http://trac.xbmc.org/ticket/7745 crash on watching tv channel on intel graphics
http://trac.xbmc.org/ticket/7746 FFWD and FRWD not functioning in TV recordings
http://trac.xbmc.org/ticket/7747 crash on activating a recording
http://trac.xbmc.org/ticket/7748 crash on unchecking an active recording
http://trac.xbmc.org/ticket/7749 tearing (?) on live TV and TV recordings

I would like to know whether other people can reproduce these issues or not and to report feedback in the trac tickets.

Thanks,
Ed
mostly when switching to channel I get the following error in the log file:

19:49:22 T:3079088016 M:1408978944 NOTICE: DVDPlayer: Opening: pvr://channelstv/10.ts
19:49:22 T:3079088016 M:1408978944 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
19:49:22 T:163367792 M:1408978944 DEBUG: thread start, auto delete: 1
19:49:22 T:72858480 M:1408978944 DEBUG: thread start, auto delete: 0
19:49:22 T:72858480 M:1408978944 NOTICE: Creating InputStream
19:49:22 T:72858480 M:1408978944 DEBUG: AddOnLog: PVRDLL/VDRClient: CVTPTransceiver::GetStreamLive - local address 192.168.20.100:37693
19:49:22 T:72858480 M:1408978944 DEBUG: AddOnLog: PVRDLL/VDRClient: CVTPTransceiver::OpenStreamSocket - listening on 0.0.0.0:13479
19:49:22 T:72858480 M:1408978944 DEBUG: Open - TV Channel has started on filename pvr://channelstv/10.ts
19:49:22 T:72858480 M:1408978944 NOTICE: Creating Demuxer
19:49:22 T:72858480 M:1408978944 DEBUG: Open - probing detected format [mpeg]
19:49:22 T:72858480 M:1408978944 DEBUG: Open - av_find_stream_info starting
19:49:22 T:72858480 M:1408978944 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:22 T:72858480 M:1408978944 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:22 T:72858480 M:1408978944 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:22 T:72858480 M:1408978944 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:22 T:72858480 M:1408978944 DEBUG: ffmpeg[457BB70]: [mpeg] Invalid timestamps stream=0, pts=5452869502, dts=8589934591, size=758
19:49:22 T:72858480 M:1408978944 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:22 T:72858480 M:1408978944 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:23 T:72858480 M:1408978944 DEBUG: ffmpeg[457BB70]: [mpeg] Invalid timestamps stream=0, pts=5453048534, dts=6442450943, size=758
19:49:23 T:72858480 M:1408978944 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:23 T:72858480 M:1408978944 DEBUG: ffmpeg[457BB70]: [mpeg] Invalid timestamps stream=0, pts=5452698190, dts=8589934591, size=758
19:49:23 T:72858480 M:1408978944 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:23 T:72858480 M:1408978944 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:23 T:72858480 M:1409032192 DEBUG: ffmpeg[457BB70]: [mpeg] Invalid timestamps stream=0, pts=5454991445, dts=6442450943, size=758
19:49:23 T:72858480 M:1409032192 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:23 T:72858480 M:1409032192 DEBUG: ffmpeg[457BB70]: [mpeg] Invalid timestamps stream=0, pts=5455592147, dts=7516192767, size=758
19:49:23 T:72858480 M:1409032192 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:23 T:72858480 M:1409032192 DEBUG: ffmpeg[457BB70]: [mpeg] Invalid timestamps stream=0, pts=5454687832, dts=7516192767, size=758
19:49:23 T:72858480 M:1409032192 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:23 T:72858480 M:1409032192 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:23 T:72858480 M:1409130496 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:23 T:72858480 M:1409130496 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:23 T:72858480 M:1409130496 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:24 T:72858480 M:1409130496 DEBUG: ffmpeg[457BB70]: [mpeg] Invalid timestamps stream=0, pts=5453048534, dts=6442450943, size=758
19:49:24 T:72858480 M:1409130496 ERROR: ffmpeg[457BB70]: [mp3] Header missing
19:49:24 T:72858480 M:1409130496 ERROR: ffmpeg[457BB70]: [mp3] Header missing


Sometimes stopping channel and retune helps, sometimes not.
I'm using this repo for vdr:
http://ppa.launchpad.net/the-vdr-team/vd...mic/ubuntu
And this for xbmc:
http://ppa.launchpad.net/henningpingel/xbmc/ubuntu

Has somebody a idea was wrong?

Thanks for help
Hello
i'm new to this forum. First thank to everybody that is working hard for this project.

I've a problem compiling lastes svn XBMC on Linux.
I've a Ubuntu 8.04 but when i'm compiling it omplains about:
Code:
make[1]: Leaving directory `/usr/src/XBMC-24000/XBMC/xbmc/xbox'
/usr/bin/ccache g++ -O2 -O2 -g -D_DEBUG -Wall -o xbmc.bin -Wl,--whole-archive guilib/guilib.a guilib/common/gui_common.a guilib/tinyXML/tinyxml.a xbmc/xbmc.a xbmc/cdrip/cdrip.a xbmc/cores/cores.a xbmc/cores/DllLoader/dllloader.a xbmc/cores/DllLoader/exports/exports.a xbmc/cores/DllLoader/exports/util/exports_utils.a xbmc/cores/dvdplayer/DVDPlayer.a xbmc/cores/dvdplayer/DVDCodecs/DVDCodecs.a xbmc/cores/dvdplayer/DVDCodecs/Audio/Audio.a xbmc/cores/dvdplayer/DVDCodecs/Overlay/Overlay.a xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxers.a xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreams.a xbmc/cores/dvdplayer/DVDSubtitles/DVDSubtitles.a xbmc/cores/paplayer/paplayer.a xbmc/cores/AudioRenderers/audiorenderers.a xbmc/cores/VideoRenderers/VideoRenderer.a xbmc/cores/VideoRenderers/VideoShaders/VideoShaders.a xbmc/cores/ExternalPlayer/ExternalPlayer.a xbmc/FileSystem/filesystem.a xbmc/FileSystem/MusicDatabaseDirectory/musicdatabasedirectory.a xbmc/FileSystem/VideoDatabaseDirectory/videodatabasedirectory.a xbmc/karaoke/karaoke.a xbmc/lib/libaddon/libaddon.a xbmc/lib/libcmyth/libcmyth.a xbmc/lib/libhts/libhts.a xbmc/lib/librefmem/librefmem.a xbmc/lib/libPython/python.a xbmc/lib/libPython/xbmcmodule/xbmcmodule.a xbmc/lib/libRTMP/librtmp.a xbmc/lib/libscrobbler/scrobbler.a xbmc/lib/libRTV/librtv-x86_64-linux.a xbmc/lib/libshout/libshout-x86_64-linux.a xbmc/lib/libUPnP/libupnp-x86_64-linux.a xbmc/lib/libXBMS/libxbms-x86_64-linux.a xbmc/lib/libXDAAP/libxdaap-x86_64-linux.a xbmc/lib/libGoAhead/libGoAhead-x86_64-linux.a xbmc/lib/sqLite/sqllite.a xbmc/lib/UnrarXLib/UnrarXLib.a xbmc/linux/linux.a xbmc/screensavers/screensaver.a xbmc/settings/settings.a xbmc/utils/utils.a xbmc/visualizations/visualization.a xbmc/pvrclients/pvrclient.a xbmc/xbox/xbox.a -Wl,--no-whole-archive -lavcodec -lswscale -lpostproc -lavutil -lavformat -lavcodec -lXrandr  -lavahi-client  -lavahi-common -lfaac  -lpulse -lhal-storage -ldbus-1 -lcurl -lXinerama -lXmu -lXtst -lXt -lmms -ljasper -lenca -lresolv -ldl -lSDL_mixer -lSDL_image -lSDL -lsmbclient -lz -lsamplerate -lcdio -llzo2 -lpthread -lpcre -ljpeg -lpng12 -lrt -lasound -lmysqlclient -lsqlite3 -lfribidi -lbz2 -lfontconfig -lfreetype -lvorbisfile -lvorbisenc -lvorbis -logg -lmad -lGLU -lGLEW -lGL   -rdynamic
xbmc/lib/libaddon/libaddon.a(setting.o): In function `addon_setting_valid':
/usr/src/XBMC-24000/XBMC/xbmc/lib/libaddon/setting.c:393: undefined reference to `addon_dbg'
xbmc/lib/libaddon/libaddon.a(setting.o): In function `addon_setting_set_type':
/usr/src/XBMC-24000/XBMC/xbmc/lib/libaddon/setting.c:151: undefined reference to `addon_dbg'
xbmc/lib/libaddon/libaddon.a(setting.o): In function `addon_setting_type':
/usr/src/XBMC-24000/XBMC/xbmc/lib/libaddon/setting.c:124: undefined reference to `addon_dbg'
xbmc/lib/libaddon/libaddon.a(setting.o): In function `addon_setting_destroy':
/usr/src/XBMC-24000/XBMC/xbmc/lib/libaddon/setting.c:52: undefined reference to `addon_dbg'
xbmc/lib/libaddon/libaddon.a(setting.o): In function `addon_setting_set_lvalues':
/usr/src/XBMC-24000/XBMC/xbmc/lib/libaddon/setting.c:360: undefined reference to `addon_dbg'
xbmc/lib/libaddon/libaddon.a(setting.o):/usr/src/XBMC-24000/XBMC/xbmc/lib/libaddon/setting.c:333: more undefined references to `addon_dbg' follow
xbmc/visualizations/visualization.a(Visualisation.o): In function `CVisualisation::OnAction(VIS_ACTION, void*)':
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:172: undefined reference to `viz_track_create'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:174: undefined reference to `viz_track_set_title'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:175: undefined reference to `viz_track_set_artist'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:176: undefined reference to `viz_track_set_album'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:177: undefined reference to `viz_track_set_albumartist'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:178: undefined reference to `viz_track_set_genre'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:179: undefined reference to `viz_track_set_comment'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:180: undefined reference to `viz_track_set_lyrics'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:181: undefined reference to `viz_track_set_tracknum'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:182: undefined reference to `viz_track_set_discnum'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:183: undefined reference to `viz_track_set_duration'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:184: undefined reference to `viz_track_set_year'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:185: undefined reference to `viz_track_set_rating'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:188: undefined reference to `viz_release'
xbmc/visualizations/visualization.a(Visualisation.o): In function `CVisualisation::GetPresets()':
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:344: undefined reference to `viz_preset_list_get_count'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:355: undefined reference to `viz_release'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:350: undefined reference to `viz_preset_list_get_item'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:353: undefined reference to `viz_preset_name'
/usr/src/XBMC-24000/XBMC/xbmc/visualizations/Visualisation.cpp:357: undefined reference to `viz_release'
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1

Any idea?
I simply configured it as:
./configure --enable-vdpau -- enable-external-ffmpeg (tried even without external ffmpeg)
Am i missing something?
Thanks in advance
Really struggling here - reading thread and getting very confused.

I have VDR working perfectly on my main server, have streamdev and patched it without problems. VDR is running with 3 FF cards and output is direct from card to TV so no xine etc.

I have XBMC running on my new Acer Revo and compiled Nvidia ION drivers so VDPAU is working fine on Ubuntu Jaunty.

XBMC installed via PPA as per first post.

My main problem is how do I get a VDR option in XBMC, there is no TV option that I can find in any menu?

I suspect the problem may be....

Code:
sudo checkinstall --fstrans=no --install=yes --pkgname=xbmc --pkgversion "svn<put-revision-in-here>19616-vdr-testing"

I do not know what
svn<put-revision-in-here>19616-vdr-testing
actually means?

XBMC is working great (once I turned off screen saver on desktop) and Confluence skin is excellent - well done guys Smile
You need to switch back to PM3.HD, the Confluence skin doesn't support the PVR-Testing branch yet...
And you need to compile it manually unless you find a precompiled pvr-testing PPA somewhere (like hepi's).
That is getting somewhere Smile
Thanks for the fast replies guys.
I have got the addon vdr client now via PM3
Will have a play and let you know how I got on.
Used the following sources

deb http://ppa.launchpad.net/thefirstm/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/thefirstm/ppa/ubuntu jaunty main

deb http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu jaunty main

deb http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu jaunty main
Hi,

This is to inform you that my future XBMC-PVR-Testing packages in my PPA don't contain the library l i b d v d c s s any more as of today. Please use an external alternative if you decide that you need this library.

Thx,
hepi
Well after some playing....
I have used vdr-streamdev-0.5.0-pre-20090706.tgz and
XBMC 9.11-alpha2 r24924 (Compiled Nov 24 2009)
Streamdev has compiled and is working in VDR.
In XBMC, the TV option now displays EPG/Channel info and recordings are playing. However choosing a TV channel after 10 seconds gives channel unavailable Sad
Can you give me any more pointers - thanks.
Mike
Is it necessary to patch VDR to get XBMC to work?
Looking at the initial description we should use

patch -p1 < ../VDR-Extensions-Patch-68/vdr-1.7.4_extensions.diff
patch -p1 < ../vdr-1.7.4-ext68-streamdev.patch

My vdr (1.6.0) is working well and streamdev using mplayer works etc so assumed patching was not necessary.

If patching is necessary is there a single patch for vdr instead of using this combined extensions-patch?
Where did you get your VDR 1.6 from? From which repository? Or did you compile it yourself? From which sources?
Hello Hepi
I compiled vdr 1.6.0 myself - source from ftp.cadsoft.de
Thanks
Mike
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