[LINUX] HOW-TO get Live TV with VDR working in XBMC for Linux

  Thread Rating:
  • 14 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
yanardag Offline
Junior Member
Posts: 6
Joined: Feb 2009
Reputation: 0
Post: #61
Respekt !!!
find quote
divingmule Offline
Skilled Python Coder
Posts: 1,297
Joined: Oct 2008
Reputation: 61
Post: #62
I got ffmpeg to make finallySmile but I'm having trouble with xine.
Code:
./configure: line 13573: AM_ICONV: command not found
configure: error:
****************************************************************
* iconv library not found. It's necessary for proper           *
* manipulation with texts so xine requires it as default.      *
*                                                              *
* You need to install iconv library or to specify prefix       *
* by option --with-libiconv-prefix.                            *
*                                                              *
* If you don't want iconv support use the option               *
* --disable-iconvtest.                                         *
****************************************************************

vdr@ubun:~/src/xine-lib-1.2$
should I use the --disable-iconvtest option?
(This post was last modified: 2009-02-17 18:43 by divingmule.)
find quote
divingmule Offline
Skilled Python Coder
Posts: 1,297
Joined: Oct 2008
Reputation: 61
Post: #63
I found libiconv-1.12 compiled and installed it. Had the same results as above. I decided to add the --disable-iconvtest option and it seemed to finish, but check install failed.
Code:
========================= Installation results ===========================
make: *** No rule to make target `install'.  Stop.

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

vdr@ubun:~/src/xine-lib-1.2$
find quote
mwfv Offline
Junior Member
Posts: 21
Joined: Oct 2007
Reputation: 0
Question  Password ?
Post: #64
What ist the Password?

Code:
sudo useradd vdr -g video -d /home/vdr -s /bin/bash -m
sudo echo "vdr ALL=(ALL) ALL" >> /etc/sudoers
su - vdr
mkdir src
cd src
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make
[i][b]sudo make install[/b][/i]

Code:
vdr@vdrwohnen:~/src/v4l-dvb$ sudo make install
[sudo] password for vdr:
Sorry, try again.
[sudo] password for vdr:
find quote
hug0 Offline
Junior Member
Posts: 46
Joined: Oct 2008
Reputation: 0
Post: #65
mwfv Wrote:What ist the Password?

Who added that user?
find quote
mwfv Offline
Junior Member
Posts: 21
Joined: Oct 2007
Reputation: 0
Post: #66
root user
find quote
hug0 Offline
Junior Member
Posts: 46
Joined: Oct 2008
Reputation: 0
Post: #67
mwfv Wrote:root user

can you ask him for that password?
find quote
mwfv Offline
Junior Member
Posts: 21
Joined: Oct 2007
Reputation: 0
Post: #68
can i set an new password with the root user for the vdr user.
when i make passwd i cant seting a new password.

I am stupid
find quote
hug0 Offline
Junior Member
Posts: 46
Joined: Oct 2008
Reputation: 0
Post: #69
mwfv Wrote:can i set an new password with the root user for the vdr user.
when i make passwd i cant seting a new password.

I am stupid

Yep, you can Smile You didn't do that in the first place, that's why you didn't "know" the password ...

Code:
sudo passwd vdr
should do the trick ...
(This post was last modified: 2009-02-17 19:58 by hug0.)
find quote
mwfv Offline
Junior Member
Posts: 21
Joined: Oct 2007
Reputation: 0
Wink   
Post: #70
hug0 Wrote:Yep, you can Smile You didn't do that in the first place, that's why you didn't "know" the password ...

Code:
sudo passwd vdr
should do the trick ...

Yep that's it Thank you Big Grin
find quote
divingmule Offline
Skilled Python Coder
Posts: 1,297
Joined: Oct 2008
Reputation: 61
Post: #71
mwfv Wrote:What ist the Password?

Code:
sudo useradd vdr -g video -d /home/vdr -s /bin/bash -m
sudo echo "vdr ALL=(ALL) ALL" >> /etc/sudoers
su - vdr
mkdir src
cd src
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make
[i][b]sudo make install[/b][/i]

Code:
vdr@vdrwohnen:~/src/v4l-dvb$ sudo make install
[sudo] password for vdr:
Sorry, try again.
[sudo] password for vdr:

I had the same thing happen, I had to create a new password.
find quote
mwfv Offline
Junior Member
Posts: 21
Joined: Oct 2007
Reputation: 0
Post: #72
I have a Nova S2

ans Start runvdr with:

Code:
VDRPRG="/usr/local/bin/vdr"
VDRCMD="$VDRPRG -c /etc/vdr -E /var/vdr -l 3 \
        -P streamdev-server \
        -P'xineliboutput -l none -r 37890 -p' \
        -u root \
        $*"

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

This is the ouput from vdr-sxfe

Code:
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 1936287613 bytes)
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 1935894657 bytes)
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 65560 bytes)
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 1041500224 bytes)
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 1914727809 bytes)
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 65560 bytes)
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 1550911768 bytes)
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 1684109965 bytes)
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 1041500224 bytes)
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 419430424 bytes)
[6305] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 134217752 bytes)
[6304] [input_vdr] vdr_flush_engine: 28726816 < current position, flush skipped
[6305] [input_vdr] TCP: Warning: long delay (>500ms) !
[6305] [input_vdr] TCP: Warning: long delay (>500ms) !
[6305] [input_vdr] TCP: Warning: long delay (>500ms) !
[6305] [input_vdr] TCP: Warning: long delay (>500ms) !
[6305] [input_vdr] TCP: Warning: long delay (>500ms) !
[6305] [input_vdr] TCP: Warning: long delay (>500ms) !
[6305] [input_vdr] TCP: Warning: long delay (>500ms) !
[6305] [input_vdr] TCP: Warning: long delay (>500ms) !
[6305] [input_vdr] TCP: Warning: long delay (>500ms) !
[6305] [input_vdr] TCP: Delay too long, disconnecting
[6306] [input_vdr] read_block: no data source, returning NULL
[6296] [vdr-fe]    xine_event_cb: XINE_EVENT_UI_PLAYBACK_FINISHED
[6303] [input_vdr] XINE_EVENT_UI_PLAYBACK_FINISHED
[6287] [input_vdr] write_control aborted
[6287] [input_vdr]    (ERROR (xine_input_vdr.c,1014): Resource temporarily unavailable)
[6287] [input_vdr] Connections closed.

whats wrong?? Rolleyes

Thank's for your help
find quote
lx01 Offline
Junior Member
Posts: 40
Joined: Oct 2008
Reputation: 0
Post: #73
ads_german Wrote: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...
Yeah, i tried that too, but for some reason it takes several minutes to start up, and then after choosing livetv or guide, it takes another 5 to 10 minutes just to load my channels.
Another issue for me is, that it shows every channel 5 times (i guess that's because i set up 5 virtual tuners for 1 tv-cardWink) and it orders them alphabetically, while i prefer sorting by channel number.

So, for now I'll stay with XBMC's native myth support for viewing LiveTV/Recordings (which works beautifully for me) and Mythweb for scheduling recordings.
find quote
javoxg Offline
Junior Member
Posts: 2
Joined: Feb 2009
Reputation: 0
Post: #74
Does anybody is aware of a Windows build of XBMC that include the Unified PVR Patch?, I'm complete new to XBMC world, so may I ask without doing much research, how difficult is to get the environment to build XBMC on windows?

I published a howto[1] that try to use only packaged softwares, to get vdr working with north american sats providers in Ubuntu Intrepid, I make several change to vdr sources to accomplish that, but I don't see why wouldn't work in other places or providers. I'm trying to integrate XBMC to this howto, I even already repacked[2] XBMC, vdr and streamdev with the patches needed, so if anyone want to give it a try, I'll be glad to help and happy to try to resolve any problem found.

[1]http://dvbn.happysat.org/viewtopic.php?f=17&t=50032
[2]https://launchpad.net/~javoxg/+archive/ppa
find quote
freezy Online
Team-XBMC Android Remote Developer
Posts: 885
Joined: Dec 2006
Reputation: 15
Location: Switzerland
Post: #75
Updated first post to latest patches

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.
find quote
Post Reply