Kodi Community Forum

Full Version: [LINUX] HOW-TO get Live TV with VDR and PVR-Testing Branch - Without manual compile!
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
This kind of brings me to the point of having code Branches if the user isn't smart enough to figure out how to use it then they probably shouldn't be using it. It is highly developmental code (reason its not in main xbmc) is bound to have bugs. but if you can't even figure out how install it then you most likely not going to be able to set it up properly. And you going to start reporting issues that are 100% your fault.

Seriously if you can't figure out how to install it from the ppa's listed here (with a tutorial) you really have no hope of providing any usefull information alwanis and alcoheca need to help develop it. So don't use the unstable in development code and just stick with main xbmc trunk
Jezz_X Wrote:This kind of brings me to the point of having code Branches if the user isn't smart enough to figure out how to use it then they probably shouldn't be using it. It is highly developmental code (reason its not in main xbmc) is bound to have bugs. but if you can't even figure out how install it then you most likely not going to be able to set it up properly. And you going to start reporting issues that are 100% your fault.

Seriously if you can't figure out how to install it from the ppa's listed here (with a tutorial) you really have no hope of providing any usefull information alwanis and alcoheca need to help develop it. So don't use the unstable in development code and just stick with main xbmc trunk


It is nice to "hear" that in your opinion i'm not smart to do this. Not everyone like you is developer of xbmc and not everyone is living this project.

Till couple weeks ago i was using and developing in my own mediaportal based on windows xp. And without any help i was able to run full hd tv with sharing included (my skystar does not have ci). But i see benefits of using htpc based on linux - f... fast !Smile and this gives me ability to use as normal linux server.

Let me give you an example. Aprox 4 y ago i did not know what is MikroTik. Now I have one of the largest wireless network (and company) in city Tychy and using mikrotik with grate plesure.

So please for a moment, be so kind, and go to noooobs level for a second, becouse some time ago, you also need to lern, how to do it...Smile
Swifty, biggles, lets make some summary:

1. instaling latest live version (in sources there are not xbmc sources, as in beta version
2. turning off TV headend (moving file from /etc/inet.d to other location)
3. compiling driver - reboot
4. exiting xbmc, uninstalling xbmc-live
5. adding http://ppa.launchpad.net/the-vdr-team/vd...mic/ubuntu karmic main
to sources, apt-get update and installing xbmc-live - reboot
6. installing vdr vdr-plugin-streamdev-* packages, configuring channels from vdr

and that's it ?
jalokim Wrote:Swifty, biggles, lets make some summary:

1. instaling latest live version (in sources there are not xbmc sources, as in beta version
2. turning off TV headend (moving file from /etc/inet.d to other location)
3. compiling driver - reboot
4. exiting xbmc, uninstalling xbmc-live
5. adding http://ppa.launchpad.net/the-vdr-team/vd...mic/ubuntu karmic main
to sources, apt-get update and installing xbmc-live - reboot
6. installing vdr vdr-plugin-streamdev-* packages, configuring channels from vdr

and that's it ?

You are crazy swapping out your live cd XBMC version for the PVR branch. as I said a few times its Development code. Some things just do not work that work in the main. It is meant for Testing the unified pvr interface. The current version is also prone to crashes from the recent rewrite of the interface.

The only reason you should do this is if you don't plan on using your xbmc live install for day to day use and are just curious. if you want livetv on a day to day use currently use the builtin tvheadend
This was a good track. TV working fine. Thanks.
Hello I've compiled my own vdr and grabbed the streamdev client (0.5.0~pre20090706+cvs20091108.2341-) and xbmc (pvr-testing-17~hep-karmic25817) from from the sources listed on page one.

My VDR install has all the required plugins for my setup and is working great in xine, and streamdev (local and over network).
However I can't get video to play in this setup.
I get the epg data fine, but no video.
The Stream is mpeg2.
the xbmc.log files gives the following

Code:
03:42:23 T:2842491760 M:1623154688   ERROR: Open - error reading from input stream, pvr://channels/tv/all/320.pvr
03:42:23 T:2842491760 M:1623154688   ERROR: OpenDemuxStream - Error creating demuxer
03:42:23 T:2842491760 M:1623154688  NOTICE: CDVDPlayer::OnExit()
03:42:23 T:2842491760 M:1623154688  NOTICE: DVDPlayer: eof, waiting for queues to empty
03:42:23 T:2842491760 M:1623154688  NOTICE: CDVDPlayer::OnExit() deleting input stream
03:42:24 T:2842491760 M:1627734016   DEBUG: OnPlayBackEnded - Playback has finished
03:42:24 T:2842491760 M:1627734016   DEBUG: Thread 2842491760 terminating
03:42:24 T:3078059920 M:1629696000  NOTICE: CDVDPlayer::CloseFile()
03:42:24 T:3078059920 M:1629696000 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
03:42:24 T:3078059920 M:1629696000  NOTICE: DVDPlayer: waiting for threads to exit
03:42:24 T:3078059920 M:1629696000  NOTICE: DVDPlayer: finished waiting
03:42:24 T:3078059920 M:1630965760   DEBUG: CGUIAudioManager::Initialize
03:42:26 T:3078059920 M:1631154176   DEBUG: SDLKeyboard: scancode: 111, sym: 273, unicode: 0, modifier: 0
03:42:26 T:3078059920 M:1631154176   DEBUG: OnKey: 61478 pressed, action is 3
03:42:27 T:3078059920 M:1631154176   DEBUG: SDLKeyboard: scancode: 116, sym: 274, unicode: 0, modifier: 0
03:42:27 T:3078059920 M:1631154176   DEBUG: OnKey: 61480 pressed, action is 4
03:42:27 T:2924501872 M:1631154176   DEBUG: Thread 2924501872 terminating (autodelete)
03:42:28 T:3078059920 M:1631289344   DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
03:42:28 T:3078059920 M:1631289344   DEBUG: OnKey: 61453 pressed, action is 7
03:42:28 T:3078059920 M:1631289344   DEBUG: new file set audiostream:0
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/all/321.pvr)
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
03:42:28 T:3078059920 M:1631289344   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
03:42:28 T:3078059920 M:1630273536  NOTICE: DVDPlayer: Opening: pvr://channels/tv/all/321.pvr
03:42:28 T:3078059920 M:1630273536 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
03:42:28 T:2924501872 M:1630273536   DEBUG: thread start, auto delete: 1
03:42:28 T:2904947568 M:1630273536   DEBUG: thread start, auto delete: 0
03:42:28 T:2904947568 M:1630273536  NOTICE: Creating InputStream
03:42:28 T:2904947568 M:1630273536   DEBUG: AddOnLog: PVRDLL/VDRClient: CVTPTransceiver::GetStreamLive - local address 127.0.0.1:49732
03:42:28 T:2904947568 M:1630273536   DEBUG: AddOnLog: PVRDLL/VDRClient: CVTPTransceiver::OpenStreamSocket - listening on 0.0.0.0:8408
03:42:28 T:2904947568 M:1628241920   DEBUG: Open - TV Channel has started on filename pvr://channels/tv/all/321.pvr
03:42:28 T:2904947568 M:1628241920  NOTICE: Creating Demuxer
03:42:29 T:2904947568 M:1628114944   DEBUG: Open - probing detected format [mpegts]
03:42:30 T:2904947568 M:1627488256   DEBUG: Open - av_find_stream_info starting
03:42:31 T:2904947568 M:1626218496   DEBUG: ffmpeg[AD25FB70]: [mpegts] max_analyze_duration reached
03:42:31 T:2904947568 M:1626218496   DEBUG: Open - av_find_stream_info finished
03:42:31 T:2904947568 M:1626218496    INFO: ffmpeg[AD25FB70]: Input #0, mpegts, from 'pvr://channels/tv/all/321.pvr':
03:42:31 T:2904947568 M:1626218496    INFO: ffmpeg[AD25FB70]:   Duration: N/A, start: 90064.643456, bitrate: 2436 kb/s
03:42:31 T:2904947568 M:1626218496    INFO: ffmpeg[AD25FB70]:   Program 401
03:42:31 T:2904947568 M:1626218496 WARNING: Process - Could not detect frame rate for: pvr://channels/tv/all/321.pvr. Using default of 25.000 fps for conversion of any commercial break frame markers to times.
03:42:31 T:2904947568 M:1626218496   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/321.pvr)
03:42:31 T:2904947568 M:1626218496    INFO: Loading skin file: DialogProgress.xml
03:42:31 T:2904947568 M:1626218496   DEBUG: Load DialogProgress.xml: 3.36ms
03:42:31 T:3078059920 M:1626218496   DEBUG: CGUIAudioManager::DeInitialize
03:42:31 T:2924501872 M:1626091520   DEBUG: Thread 2924501872 terminating (autodelete)
03:42:31 T:3078059920 M:1625473024   DEBUG: OnPlayBackStarted - Playback has started
03:42:31 T:3078059920 M:1625219072   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/321.pvr)
03:42:32 T:2904947568 M:1628901376   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/321.pvr)
03:42:33 T:2904947568 M:1628540928   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/321.pvr)
03:42:34 T:2904947568 M:1627652096   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/321.pvr)
03:42:35 T:2904947568 M:1626779648   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/321.pvr)
03:42:36 T:2904947568 M:1626025984   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/321.pvr)
03:42:37 T:3078059920 M:1625137152   DEBUG: SDLKeyboard: scancode: 9, sym: 27, unicode: 27, modifier: 0
03:42:37 T:3078059920 M:1625137152   DEBUG: OnKey: 61467 pressed, action is 10
03:42:37 T:3078059920 M:1625137152   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
03:42:37 T:3078059920 M:1625137152   DEBUG: ------ Window Deinit (MyTV.xml) ------
03:42:37 T:2904947568 M:1625137152   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/321.pvr)
03:42:37 T:3078059920 M:1628946432   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
03:42:37 T:3078059920 M:1628946432   DEBUG: ------ Window Init (Home.xml) ------
03:42:37 T:3078059920 M:1628946432    INFO: Loading skin file: Home.xml
03:42:37 T:3078059920 M:1628819456   DEBUG: Load Home.xml: 37.27ms
03:42:37 T:3078059920 M:1628819456   DEBUG: Alloc resources: 40.66ms (38.54 ms skin load)
03:42:37 T:3078059920 M:1628438528   DEBUG: ExecuteXBMCAction : Translating SetFocus(9000)
03:42:37 T:3078059920 M:1628438528   DEBUG: ExecuteXBMCAction : To SetFocus(9000)
03:42:38 T:3078059920 M:1628057600   DEBUG: SDLKeyboard: scancode: 113, sym: 276, unicode: 0, modifier: 0
03:42:38 T:3078059920 M:1628057600   DEBUG: OnKey: 61477 pressed, action is 1
03:42:38 T:2904947568 M:1628057600   DEBUG: CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/321.pvr)
03:42:38 T:2904947568 M:1627934720   ERROR: PVR: No video or audio data available after 10 seconds, playback stopped
03:42:38 T:2904947568 M:1627934720   ERROR: PVR: No video or audio data available after 10 seconds, playback stopped
03:42:38 T:2904947568 M:1627934720   ERROR: PVR: No video or audio data available after 10 seconds, playback stopped
03:42:38 T:2904947568 M:1627934720  NOTICE: Creating Demuxer
03:42:38 T:2904947568 M:1627934720   ERROR: PVR: No video or audio data available after 10 seconds, playback stopped
03:42:38 T:2904947568 M:1627934720   ERROR: Open - error reading from input stream, pvr://channels/tv/all/321.pvr
03:42:38 T:2904947568 M:1627807744   ERROR: PVR: No video or audio data available after 10 seconds, playback stopped
03:42:38 T:2904947568 M:1627807744   ERROR: Open - error reading from input stream, pvr://channels/tv/all/321.pvr
03:42:38 T:3078059920 M:1627807744   DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
03:42:38 T:3078059920 M:1627807744   DEBUG: OnKey: 61453 pressed, action is 7
03:42:38 T:3078059920 M:1627807744   DEBUG: ExecuteXBMCAction : Translating ActivateWindow(ShutdownMenu)

This is tunning to a channel 320 no video, then tune to channel 321- no video, then I exit the program.

Any idea what is wrong?
I did not setup streamdev-client, as I don't believe this is required?
Should I try another branch of xbmc or some different code on the xbmc side, or where should I look next and any additional logs you'd like to see.

Thank you
if you're using the live and updated to pvr-testing via apt, stop tvheadend before using vdr and xbmc, because tvheadend can locks your card Smile
I have to echo Jezz_X's thoughts in this thread.. I made it as a simple how to so that the curious can try out the new PVR stuff.
If you can't handle troubleshooting problems each day then this isn't a good idea for your main HTPC Smile

Remember guys, as Jezz mentioned this is a development branch.. don't _expect_ it to work (even though most of the time it's working well!).
If something isn't working right then suck it up and wait for a new build then try again.

I don't mean to offend anyone by this but follow the guide and it should work, if it doesn't then;
A) You missed a step
B) Your hardware isn't detected properly
C) The build you are trying is broken
D) You missed a step

If you try a few times and it's still not working then post up detailed info on what you have done as someone will attempt to help out.. but try to diagnose yourself first, it will make life easier for you in the longrun Big Grin

@bisch;
Probably some streamdev problem I guess ?
maybe different versions as you compiled your own VDR?
Try to use the PPA from the_vdr_team and see if it's working.
Thanks for the replies.

Stich86, I'm not using the live version, just the xbmc ppa from henningpingel from page one. I don't believe tvheadend is installed to my knowledge, but I could be wrong and will keep it in mind. I have i386 karmic installed as the base OS.

Swifty, I grabbed and used the streamdev (0.5.0~pre20090706+cvs20091108.2341-) from PPA from the_vdr_team, the source for it. I need vdr-sc, so the ppa won't work for me. I can get VDR and streamdev working from using the developers source, and the source from "vdr-the-team" on the first page, but both don't display video.

I've tried 3 different streamdev's, and the problems are always similar. Works as it should with VLC, http, and fails the same way on the xbmc frontend in linux (local) and windows (local lan).

Maybe it's FFMpeg? I know this was mentioned before, and I tried a few different versions. I'm under the impression streamdev client isn't required, http://www.henningpingel.de/vdrstuff/vdr...atrix.html with this combo.

Any idea's what I should test next? a new svn code for xbmc, or forcus on the vdr end (it has run well for other apps on streamdev for some time, with the same content)?
Bisch,

Not sure about compiling your own vdr, I have only done XBMC so I'm not sure if any extra components are required for streamdev to work.
I notice mirak has open-sc plugin at his PPA (https://launchpad.net/~mirak-mirak/+archive/ppa) I'm not sure if this does the same function as vdr-sc but if it does you could try to use the VDR ppa then simply grab the open-sc plugin from his PPA?
I have used the mirak ppa with open-sc (vdr-sc) and it worked great. Left it because I wanted more plugins then mirak offered... I have been having trouble compiling vdr-sc in karmic though...
Swifty, I'll try to use just the listed ppa's on page 1 without SC, and see if it plays back the enencrypted channels.

biggles, you need to change some compiling options in the makefile for Karmic to work with vdr-sc, see below:

Code:
hg clone -r trunk http://85.17.209.13:6100/sc
sed -i 's|CSAFLAGS   ?= -Wall -fPIC -g -O3 -mmmx -fomit-frame-pointer -fexpensive-optimizations -funroll-loops|CSAFLAGS   ?= -Wall -fPIC -g -O2 -mmmx -fomit-frame-pointer -fexpensive-optimizations -funroll-loops|' /usr/local/src/vdr/PLUGINS/src/sc/Makefile

Essentially change the flags from -o3 to -o2 in the makefile and it'll compile now.
Do you get video/mpeg2 playback still?
HI, does anyone have high CPU usuage with the latest xbmc_pvr-testing-18~hepi-karmic26177+5_all builds ? I have VDPAU enabled in VIDEO SETTINGS but XBMC do not use it.
I'll post a log if necessary?
I've sadly not made much progress.
I've read through many translated VDR portal pages, but it seems few if any suffer from any of the issues I experience.

In the DVBN forums more related to what I'm trying to do, NA/dvb-s it seems there is little or no success currently.

I'm essentially taking a clean VDR 1.7.10, applying the required NA satelite patches, and plugins (stream dev, Xine, etc) compiling and creating a functioning setup for EPG, playback etc.
However I get little to no where with the xbmc frontend.

I've tried to take the PPA's but they will not work without any modifications, and when I grab the source there seem to be issues with the included streamdev's being "binary too out of date or some similar issues"
I fail going this way to get a working backend, so forget frontend.

I noticed most of the PPA's from Holtz/Hepi/The Team include the multipatch or extensions patches.
I tried to apply the extension patch then compile, but it didn't help either.

Do you know if the changes they made to streamdev in CVS, require streamdev extension for xbmc to work?
Most of the streamdev patches are the pre5.0 + some cvs version, and I'm wondering if it requires the extensions patch to work.

I'm considering mapping xbmc to one button on the remote, and xine or sfxe to another button for now. Smile

I'm stumped for sure, wondering if the hold up is:
-The differences patched for NA to work when we compile http://www.fepg.org/patches/ EIT patches
-Stream Dev version, or requirement for multipatch/extension patch Plus a certain version.
-Missing streamdev.server config in the vdr setup.conf file ex.
streamdev-server.AllowSuspend = 1 streamdev-server.AllowSuspend = 1
streamdev-server.SuspendMode = 1 streamdev-server.SuspendMode = 1

I know all posts state I need a streamdev > 0.5, but is acertain CVS version required?
How about extention/multipatches?

Let me know if you have any ideas.
petie74 Wrote:HI, does anyone have high CPU usuage with the latest xbmc_pvr-testing-18~hepi-karmic26177+5_all builds ? I have VDPAU enabled in VIDEO SETTINGS but XBMC do not use it.
I'll post a log if necessary?

Hi Petie, I think there is a lot of similar issues going around in the latest xbmc builds.
I've read a lot of posts about high cpu utilization > 20 just sitting at idle in menus, and very high for just video playback.
I don't think you're alone.
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