Am Sonntag, 13. September 2009 18.40:18 schrieb Stephan Mueller:
> 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' : 8000000,
> 'bitrate_peak' : 9600000,
> '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)
> ]
just to be sure: do you have HANNELS or CHANNELS ?
Andreas
>
> Thanks for any help,
>
> cheers,
>
> Steph.
>
>
> 2009-09-13 20:27:26,777 DEBUG channels.py (83):
getVideoGroup(chan='kabel1.de', isplayer=True)
> 2009-09-13 20:27:26,819 DEBUG ivtv_xine_tv.py (329):
XineIvtv.Play(mode='tv', channel='SE15', channel_change=0)
> 2009-09-13 20:27:26,820 DEBUG ivtv_xine_tv.py (879): XineControl.Start()
> 2009-09-13 20:27:26,821 DEBUG ivtv_xine_tv.py (773):
XineApp.__init__(app="/usr/bin/xine --auto-play=fq --hide-gui --borderless
--geometry
1280x1024+0+0 --no-splash --no-lirc --pos
> t='pp:quality=10;expand' -V None -A None --stdctl
pvr:///mnt/small/timeshift/xine-buf-!/local/saved/!20")
> 2009-09-13 20:27:26,821 DEBUG childapp.py (310):
ChildApp2.__init__(app="/usr/bin/xine --auto-play=fq --hide-gui --borderless
--geometry
1280x1024+0+0 --no-splash --no-lirc --post=
> 'pp:quality=10;expand' -V None -A None --stdctl
pvr:///mnt/small/timeshift/xine-buf-!/local/saved/!20", debugname=None,
doeslogging=0, stop_osd=2)
> 2009-09-13 20:27:26,835 DEBUG childapp.py (149): Running
(str) "/usr/bin/xine --auto-play=fq --hide-gui --borderless --geometry
1280x1024+0+0 --no-splash --no-lirc --post='pp:quali
> ty=10;expand' -V None -A None --stdctl
pvr:///mnt/small/timeshift/xine-buf-!/local/saved/!20" in shell with pid 3773
priority 0
> 2009-09-13 20:27:26,837 DEBUG childapp.py (405): logging stdout child
to "/home/freevo/log/xine-stdout-0.log"
> 2009-09-13 20:27:26,850 DEBUG childapp.py (405): logging stderr child
to "/home/freevo/log/xine-stderr-0.log"
> 2009-09-13 20:27:27,449 DEBUG ivtv_xine_tv.py (623): TunerControl:
Explicit channel selection by index = 'SE15'
> 2009-09-13 20:27:27,449 DEBUG ivtv_xine_tv.py (564): TunerControl:
Channel stack = []
> 2009-09-13 20:27:27,450 DEBUG ivtv_xine_tv.py (658): TunerControl:
Channel: 'SE15'
> 2009-09-13 20:27:27,450 DEBUG channels.py (83):
getVideoGroup(chan='SE15', isplayer=True)
> 2009-09-13 20:27:27,450 DEBUG ivtv_xine_tv.py (660): TunerControl: Group:
type='ivtv', desc='PVR-150 Video Group'
> 2009-09-13 20:27:27,451 DEBUG ivtv_xine_tv.py (661): TunerControl: Input:
type='tuner 1', num=0
> 2009-09-13 20:27:27,451 INFO ivtv_xine_tv.py (675): TunerControl: Set
VideoGroup: <ivtv: /dev/video0 0:'tuner 1' 'PAL'>
> 2009-09-13 20:27:27,529 DEBUG v4l2.py (261): Video opened
for '/dev/video0'
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/freevo/main.py", line 297, in
eventhandler
> app.eventhandler(event)
> File "/usr/share/pyshared/freevo/menu.py", line 764, in eventhandler
> if not isinstance(menu, Menu) and menu.eventhandler(event):
> File "/usr/share/pyshared/freevo/util/benchmark.py", line 68, in origfunc
> func(*args, **kwargs)
> File "/usr/share/pyshared/freevo/tv/tvguide.py", line 234, in eventhandler
> pi.actions()[0][0](menuw=self.menuw)
> File "/usr/share/pyshared/freevo/tv/programitem.py", line 172, in play
> self.parent.player('tv', self.prog.channel_id)
> File "/usr/share/pyshared/freevo/tv/tvmenu.py", line 82, in start_tv
> p.Play(mode, tuner_id)
> File "/usr/share/pyshared/freevo/tv/plugins/ivtv_xine_tv.py", line 343, in
Play
> self.tuner.SetChannelByName(channel, True)
> File "/usr/share/pyshared/freevo/tv/plugins/ivtv_xine_tv.py", line 616, in
SetChannelByName
> self.SetChannelByIndex(channel_index + 1)
> File "/usr/share/pyshared/freevo/tv/plugins/ivtv_xine_tv.py", line 625, in
SetChannelByIndex
> self.SetVideoGroup(next_channel)
> File "/usr/share/pyshared/freevo/tv/plugins/ivtv_xine_tv.py", line 677, in
SetVideoGroup
> ivtv_dev.init_settings()
> File "/usr/share/pyshared/freevo/tv/ivtv.py", line 351, in init_settings
> if not tv.v4l2.Videodev.init_settings(self):
> File "/usr/share/pyshared/freevo/tv/v4l2.py", line 818, in init_settings
> self.setstdbyname(v_norm)
> File "/usr/share/pyshared/freevo/tv/v4l2.py", line 508, in setstdbyname
> self.setstd(NORMS[v_norm])
> File "/usr/share/pyshared/freevo/tv/v4l2.py", line 487, in setstd
> r = fcntl.ioctl(self.device, i32(SETSTD_NO), val)
> IOError: [Errno 16] Das Ger<C3><A4>t oder die Ressource ist belegt
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users