On Sat, 2010-01-02 at 15:52 +0100, Manuel Borchers wrote:
> Hi all!
> 
> I'm currently setting up a new freevo box. Everything quite fine so far,
> but now I'm trying to setup DVBStreamer for live tv.
> I already did that half a year ago, but it seems to have changed a bit.
> 
> I am running with freevo 1.9 (download) and kaa from svn (about 4 weeks
> old).
> 
> I compiled dvbstreamer 1.2 and livepause 1.0
> 
> Using the instructions on running dvdstreamer from the dvbstreamer wiki,
> I got a stream running over the network, which displayed fine on another
> computer. So, DVB-T seems to be working ad dvbstreamer also.
> 
> Here is the relevant part form local_conf.py:
> 
> -- snip --
> plugin.remove('tv.mplayer')
> plugin.activate('tv.livepause')
> LIVE_PAUSE2_BUFFER_SIZE=1024
> LIVE_PAUSE2_BUFFER_PATH='/tmp/live.buf'
> LIVE_PAUSE2_PREFERRED_PLAYER='xine'
> LIVE_PAUSE2_BUFFER_TIMEOUT=30
> 
> TV_VIDEO_GROUPS = [
>   # Use this group for watching tv
>   VideoGroup(vdev='0', group_type='dvb', desc='Watching Video Group',)
> ]

If dvbstreamer is running on another box this would need to be 

VideoGroup(vdev='<hostname>:0', group_type='dvb', desc='Watching Video
Group',)

where <hostname> is either the name or IP address on which DVBStreamer
is running, if this is localhost then it can be left out (as here).

> TV_CHANNELS = [
>   ('2114.0305.4022', 'VOX', '2114.0305.4022'),
> ]
> 
> plugin.remove('tv.generic_record')
> -- snip --
> 
> When I select the channel form the guide, I get to the screen which says
> it is tuning to VOX and that's all. Nothing happens from there.
> 
> I went a bit through the code, but did not get to the point which class
> should send the event that the tuning completed.
> 
> Here is the relevent part form the log with logging.DEBUG:
> 
> -- snip --
> 2010-01-02 14:56:02,508 DEBUG    __init__.py (291): New channel, tuning to 
> 2114.0305.4022
> 2010-01-02 14:56:02,510 DEBUG    channels.py (110): 
> getVideoGroup(chan='2114.0305.4022', isplayer=True, chan_index=2)
> 2010-01-02 14:56:02,511 DEBUG    channels.py (110): 
> getVideoGroup(chan='2114.0305.4022', isplayer=True, chan_index=2)
> 2010-01-02 14:56:02,533 DEBUG    childapp.py (134): Running (list) 
> '/usr/local/bin/livepause -f /tmp/live.buf -s 1024' with pid 7678 priority 0
> 2010-01-02 14:56:02,536 DEBUG    childapp.py (393): logging stdout child to 
> "/var/log/freevo/livepause-stdout-1001-1262440562.log"
> 2010-01-02 14:56:02,538 DEBUG    childapp.py (393): logging stderr child to 
> "/var/log/freevo/livepause-stderr-1001-1262440562.log"
> 2010-01-02 14:56:02,542 DEBUG    channels.py (110): 
> getVideoGroup(chan='2114.0305.4022', isplayer=True, chan_index=2)
> 2010-01-02 14:56:02,544 DEBUG    channels.py (110): 
> getVideoGroup(chan='2114.0305.4022', isplayer=True, chan_index=2)
> 2010-01-02 14:56:02,545 DEBUG    channels.py (110): 
> getVideoGroup(chan='2114.0305.4022', isplayer=True, chan_index=2)
> 2010-01-02 14:56:02,548 DEBUG    manager.py (84): Selecting channel 
> 2114.0305.4022 on adapter 0
> 2010-01-02 14:56:02,571 DEBUG    __init__.py (562): Changing state from Idle 
> to Tuning
> 2010-01-02 14:56:02,629 DEBUG    osd.py (533): pygame event=<Event(3-KeyUp 
> {'scancode': 36, 'key': 13, 'mod': 0})>
> 2010-01-02 14:56:04,373 DEBUG    osd.py (533): pygame event=<Event(2-KeyDown 
> {'scancode': 9, 'key': 27, 'unicode': u'\x1b', 'mod': 0})>
> 2010-01-02 14:56:04,376 DEBUG    player.py (46): get() _player_=None
> -- snip --

Odd if it wasn't connecting to DVBStreamer I would expect to see a trace
back. Try running dvbstreamer with more logging (add -vvvv to the
command line) and then check the log in ~/.dvbstreamer/dvbstreamer-0.log
> 
> livepause-stdout:
> -- snip --
> !! 0 Mode set to raw
> !! 0 OK
> !! 0 Started filler udp
> !! 0 OK
> -- snip --

No problems here, if it was working I would expect to see !Data started
line followed by !Data Acquired every second.

> livepause-stderr is empty.
> 
> dvbstreamer has been started as the same user freevo is running:
> 
> dvbstreamer -a 0 -d
> 
> Any help appreciated.
> 
> Cheers and Happy New Year!
> Manuel

Hope this provides some leads, and Happy New Year to you to!

Cheers

Adam


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to