Re: [Freevo-users] can't get pvr150/ivtv to work

2009-09-14 Thread Evan Hisey
On Sun, Sep 13, 2009 at 11:40 AM, Stephan Mueller d4...@web.de wrote:
 Hi,

 i'm trying to get my new pvr150 card to work with freevo. On a low level
 i got i working using ivtv-tune and then cat /dev/video0  file.mpg
 gives me a nice playable video file.

 But with freevo I just get an excpetion (see at the end of this mail).

 Can anybody give me a hint, what i am doing wrong? I am using freevo
 1.8.1 here as it is in debian lenny and playing video files works with
 xine.

 Some parts of my config that may be interesting:

 plugin.remove('tv.mplayer')
 plugin.activate('tv.ivtv_xine_tv')

 TV_VIDEO_GROUPS = [
    VideoGroup(vdev='/dev/video0',
               adev=None,
               input_type='Tuner 1',
               input_num=0,
               tuner_norm='pal',
               tuner_chanlist='europe-west',
               group_type = 'ivtv',
               record_group = None,
               desc='PVR-150 Video Group')
 ]

 TV_IVTV_OPTIONS = {
    'input'         : 0,
    'resolution'    : '720x576',
    'aspect'        : 1,
    'audio_bitmask' : 233,
    'bframes'       : 3,
    'bitrate_mode'  : 1,
    'bitrate'       : 800,
    'bitrate_peak'  : 960,
    'dnr_mode'      : 3,
    'dnr_spatial'   : 0,
    'dnr_temporal'  : 0,
    'dnr_type'      : 0,
    'framerate'     : 0,
    'framespergop'  : 12,
    'gop_closure'   : 1,
    'pulldown'      : 0,
    'stream_type'   : 10,
 }

 HANNELS = [
    ('arte-tv.com', 'arte', '23', '', 0),
    ('kabel1.de', 'kabel1', 'SE15', '', 0),
    ('prosieben.de', 'pro7', 'SE20', '', 0)
 ]

 Thanks for any help,

 cheers,

 Steph.
What are the rest of the TV settings?

Evan

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] can't get pvr150/ivtv to work

2009-09-14 Thread Stephan Mueller
Hi,

* Evan Hisey ehi...@gmail.com [14.09.2009]:

 What are the rest of the TV settings?

right you are. Here comes my full local_config yielded by

$ cat local_conf.py | grep -v ^# | egrep -v ^\s*$

Any hints?

Cheers and thanks,

Steph.


CONFIG_VERSION = 5.23
ROM_DRIVES = [ ('/media/cdrom0', '/dev/hdb', 'DVD') ]
ROM_SPEED = 8
EVENT_DEVS = []
CACHE_IMAGES = 1
plugin.remove('tv.generic_record')
plugin_record = plugin.activate('tv.ivtv_record')
VIDEO_PREFERED_PLAYER = 'xine'
XINE_AO_DEV = 'alsa' # alsa or oss
XINE_TV_TIMESHIFT_FILEMASK = '/mnt/small/timeshift/xine-buf-!/local/saved/!20'
XINE_TV_CONFIRM_STOP = True
XINE_TV_PROGRESSIVE_SEEK = True
XINE_TV_PROGRESSIVE_SEEK_THRESHOLD = 2
XINE_TV_PROGRESSIVE_SEEK_INCREMENT = 5
XINE_TV_LIVE_RECORD = True
XINE_TV_INPUT_REAL_CHANNELS = False
XINE_TV_INDENT_OSD = False
plugin.remove('tv.mplayer')
plugin.activate('tv.ivtv_xine_tv')
TV_VIDEO_GROUPS = [
VideoGroup(vdev='/dev/video0',
   adev=None,
   input_type='Tuner 1',
   input_num=0,
   tuner_norm='pal',
   tuner_chanlist='europe-west',
   group_type = 'ivtv',
   record_group = None,
   desc='PVR-150 Video Group')
]
TV_IVTV_OPTIONS = {
'input' : 0,
'resolution': '720x576',
'aspect': 1,
'audio_bitmask' : 233,
'bframes'   : 3,
'bitrate_mode'  : 1,
'bitrate'   : 800,
'bitrate_peak'  : 960,
'dnr_mode'  : 3,
'dnr_spatial'   : 0,
'dnr_temporal'  : 0,
'dnr_type'  : 0,
'framerate' : 0,
'framespergop'  : 12,
'gop_closure'   : 1,
'pulldown'  : 0,
'stream_type'   : 14,
}
TV_CHANNELS = [ 
('arte-tv.com', 'arte', '23', '', 0),
('kabel1.de', 'kabel1', 'SE15', '', 0),
('prosieben.de', 'pro7', 'SE20', '', 0)
]
LOGGING = logging.DEBUG
DEBUG = 1
DEBUG_CHILDAPP = 1


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] can't get pvr150/ivtv to work

2009-09-14 Thread Peter Colton

  Hello Stephan, 

Check out the link below for a thread on the topic: 

xine tv - problem with liverecord and channel change
http://www.mail-archive.com/freevo-users@lists.sourceforge.net/msg19088.html 

All so have a look at the Requirements for tv.ivtv_xine_tv 

freevo plugins -i tv.ivtv_xine_tv 

Requirements:
= 

The following software must be installed: 

- ivtv driver (for e.g. Haupage x50 series TV card)
  version ivtv: = 0.10.6 

- xine media player (built with xvmc / xxmc if available)
  version xine-lib: = 1.1.9
  version xine-ui: = 0.99.6 


On a debian lenny xine version is: 

xine -v 

This is xine (X11 gui) - a free video player v0.99.6cvs.
(c) 2000-2007 The xine Team. 

Or from: dpkg -l | grep xine 

ii  xine-ui  0.99.5+cvs20070914-2.1~lenny2 

I am running debian lenny and all I could get from the plugin: 
tv.ivtv_xine_tv 

Was a blank screen. I think the issue is with the version thats on Debian 
lenny not being xine-ui: = 0.99.6?? 

So I moved back to: tv.mplayer 

If you want to encode you need to use:
www.debian-multimedia.org 

and install: transcode mencoder mplayer 

If you just install transcode mencoder a problem come about. mplayer stops 
working. I installed mplayer from www.debian-multimedia.org and bingo. 

I am using the same pvr card. 

 Regards: Peter

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] DVD Playing

2009-09-14 Thread Bernard Mentink
Hi All,
Just done an install of Freevo 1.9.0 on an Archlinux box. Arch does not
mount DVD drives automatically unless I install Autofs etc.

My question is: By adding the line ROM_DRIVES = [ ('/media/dvd',
'/dev/sr0', 'DVD') ] to my local.config file, should it not allow Freevo to
mount the CD/DVD?

I find it is not seeing the DVD Title after inserting the DVD, and I cannot
therefor play it. I can play it fine in VLC after mounting it in the file
system.

Anyone know how to do this?

Also does anyone know how to set Freevo to use VLC as the prefered player
for DVD's ?

Cheers,
Bernie
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] dvbstreamer-livepause buffer-disk issues

2009-09-14 Thread Bernard Mentink
Anyone?

On Sun, Sep 13, 2009 at 8:18 PM, Bernard Mentink bment...@gmail.com wrote:

 Hi All,
 For some time I have been using dvbstreamer/livepause to watch TV and I use
 either VLC or mplayer to watch
 the stream.

 I am having a lot of issues with micro pauses and block playback,
 especially after 5 minutes or so from changing channels
 (i.e a new livepause buffer) the effect is more noticeable with mplayer
 than VLC but still an issue .

 It seems the pauses co-inside with disk activity.

 Does anyone know what I can do to improve this? I have played around with
 livepause buffer sizes and mplayer cache, but to little effect.

 Thanks,
 Bernie

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Recordserver won't stay running on RC and 1.9.0

2009-09-14 Thread James Trietsch
Okay, I'm officially giving up on ever getting current on the backlog of 
mailing list entries on the Freevo mailing lists. It just got out of control 
and I let it slide too long and now I'm making a fresh start of it all. So 
having said that, I apologize in advance if this is something that was just 
recently discussed and corrected. I did search through the mailing list 
archives but couldn't find anything.

I've been running the SVN version of Freevo for a long time, but I hadn't 
updated it in quite a while. So today I figured I'd update and see how many 
things on my personal to-fix list had been done by someone else (I've seen at 
least one already). Figured it would be a piece of cake, an hour's work at the 
most, right?

I got the latest SVN from the server and installed it. But then it said it 
needed the latest version of Kaa (I always forget that). So I got the latest 
version of Kaa, but only Kaa.base would install. Finally found out that I 
needed to get and install the python setup tools. Didn't realize that at first 
though, so upgraded to Python 2.6 thinking that might be the problem. 
Kaa.beacon wouldn't install, needed to get glib 2.4 so kaa.db would compile... 
etc etc etc.

Currently, the front-end works fine, at least through all the paces I've put 
it. But the recordserver won't keep running and the webserver wedges when 
trying to start (CTRL-C will shut it down).

To the best of my sniffing around, it looks like the RPC setup is failing, and 
it's failing because at least in the recordserver (not sure about the 
webserver) the socket variable is being passed as a tuple, but the kaa.socket 
module is expecting a 'string or 4tuple'. Here, I'll paste in the exception 
dump:

Traceback (most recent call last):
  File /usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py, 
line 1489, in module
main()
  File /usr/local/lib/python2.6/site-packages/freevo/helpers/recordserver.py, 
line 1458, in main
rpc = kaa.rpc.Server(socket, secret)
  File /usr/local/lib/python2.6/site-packages/kaa/base/rpc.py, line 171, in 
__init__
self._socket.listen(address)
  File /usr/local/lib/python2.6/site-packages/kaa/base/sockets.py, line 450, 
in listen
sock, addr = self._make_socket(bind_info, overwrite=True)
  File /usr/local/lib/python2.6/site-packages/kaa/base/sockets.py, line 380, 
in _make_socket
addr = self._normalize_address(addr)
  File /usr/local/lib/python2.6/site-packages/kaa/base/sockets.py, line 355, 
in _normalize_address
raise ValueError('Invalid address specification (must be str, or 4-tuple) 
[%s]' % len(addr))
ValueError: Invalid address specification (must be str, or 4-tuple) [2]
WARNING: Invalid address specification (must be str, or 4-tuple) [2]

In the main of recordserver, the socket variable is being set up with '' 
(blank) for the host and whatever socket is specified in the config (I swear I 
read in one of the modules that blank hostname would bind to all interfaces). 
That goes merrily down the list until _normalize_address performs some sanity 
checks and rejects it for only having two parts when its expecting four.

On the off-chance I caught the SVN version when something was in a known broken 
state, I stepped back to the hot-out-of-the-oven 1.9.0 release but alas, it 
does the exact same thing. I can't imagine everyone is having this problem or 
there would be a serious public outcry (and 1.9.0 wouldn't have been released 
in that state). I have completely cleared out the kaa and freevo directories in 
site-packages and done fresh installs a few times now, but to no avail.

Can anyone offer any help? Especially before my next show is slated to record? 
^_^ Of course it goes without saying that the time and effort all of you have 
put into this is deeply appriciated. Such a full-featured product for free is 
quite a rarity.

And I promise to do my best to keep up with the mail flow this time!

Quick overview:
(Hardware available on request, but I omitted it since I don't think it's a 
problem)
Debian 2.6.18-6
Python 2.6
Kaa SVN build 4253
Freevo 1.9.0 and Freevo SVN build 11630 (same symptoms on either one)

Problem: Front end runs fine, recordserver fails trying to start RPC listening, 
webserver wedges on startup



  

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] can't get pvr150/ivtv to work

2009-09-14 Thread Evan Hisey
On Mon, Sep 14, 2009 at 12:32 PM, Stephan Mueller d4...@web.de wrote:
 Hi,

 * Evan Hisey ehi...@gmail.com [14.09.2009]:

 What are the rest of the TV settings?

 right you are. Here comes my full local_config yielded by

 $ cat local_conf.py | grep -v ^# | egrep -v ^\s*$

 Any hints?

 Cheers and thanks,

 Steph.


 CONFIG_VERSION = 5.23
 ROM_DRIVES = [ ('/media/cdrom0', '/dev/hdb', 'DVD') ]
 ROM_SPEED = 8
 EVENT_DEVS = []
 CACHE_IMAGES = 1
 plugin.remove('tv.generic_record')
 plugin_record = plugin.activate('tv.ivtv_record')
 VIDEO_PREFERED_PLAYER = 'xine'
 XINE_AO_DEV = 'alsa'                     # alsa or oss
 XINE_TV_TIMESHIFT_FILEMASK = '/mnt/small/timeshift/xine-buf-!/local/saved/!20'
 XINE_TV_CONFIRM_STOP = True
 XINE_TV_PROGRESSIVE_SEEK = True
 XINE_TV_PROGRESSIVE_SEEK_THRESHOLD = 2
 XINE_TV_PROGRESSIVE_SEEK_INCREMENT = 5
 XINE_TV_LIVE_RECORD = True
 XINE_TV_INPUT_REAL_CHANNELS = False
 XINE_TV_INDENT_OSD = False
 plugin.remove('tv.mplayer')
 plugin.activate('tv.ivtv_xine_tv')
 TV_VIDEO_GROUPS = [
    VideoGroup(vdev='/dev/video0',
               adev=None,
               input_type='Tuner 1',
               input_num=0,
               tuner_norm='pal',
               tuner_chanlist='europe-west',
               group_type = 'ivtv',
               record_group = None,
               desc='PVR-150 Video Group')
 ]
 TV_IVTV_OPTIONS = {
    'input'         : 0,
    'resolution'    : '720x576',
    'aspect'        : 1,
    'audio_bitmask' : 233,
    'bframes'       : 3,
    'bitrate_mode'  : 1,
    'bitrate'       : 800,
    'bitrate_peak'  : 960,
    'dnr_mode'      : 3,
    'dnr_spatial'   : 0,
    'dnr_temporal'  : 0,
    'dnr_type'      : 0,
    'framerate'     : 0,
    'framespergop'  : 12,
    'gop_closure'   : 1,
    'pulldown'      : 0,
    'stream_type'   : 14,
 }
 TV_CHANNELS = [
    ('arte-tv.com', 'arte', '23', '', 0),
    ('kabel1.de', 'kabel1', 'SE15', '', 0),
    ('prosieben.de', 'pro7', 'SE20', '', 0)
 ]
 LOGGING = logging.DEBUG
 DEBUG = 1
 DEBUG_CHILDAPP = 1


You appear to be missing a loarge chunk of TV specific settings that
are need for any of the TV stuff to work. try setting the following:
TV_SETTINGS ='ntsc television us-cable /dev/video0'
TV_DRIVER = 'v4l'   Sometimes TV apps gets cranky with v4l2, but
that is getting fixed in the apps.

The following  settings  mostly optional but do help make things work nicer:
 TV_RECORD_DIR = '/home/recordings'
TV_PAD_CHAN_NUMBERS = 1
XMLTV_GRABBER = 'tv_grab_na_dd'
XMLTV_SORT = '/usr/bin/tv_sort'
XMLTV_DAYS = 7

You will need xmltv installed for the xmltv settings to actually work.

Evan

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users