Martin Beck wrote:
> I get an error every time I start TV. I can still watch the channel I'm
> at but when I want to go back to Freevo I have a warning pop-up and
> Freevo is hanging. I've done countless reinstalls experimenting with
> system setups and I didn't have this problem before. I'm running Freevo
> 1.8.1. What's wrong? (See log further down!)

As is typical with the IVTV driver, they are changing controls with each
release. A bit of a pain.

Just comment out the line with a '#' that contains:
tv.v4l2.Videodev.getcontrol(self, 'Audio Encoding Layer')

Duncan

> My settings are:
> plugin.remove('tv.mplayer')
> plugin.activate('tv.ivtv_xine_tv')
> XINE_TV_VO_DEV = 'xv'
> XINE_TV_AO_DEV = 'oss'
> XINE_TV_TIMESHIFT_FILEMASK =
> '/home/freevo/Video/timeshift/livetv-.mpeg'
> plugin.remove('tv.generic_record')
> plugin_record = plugin.activate('tv.ivtv_record')
> XINE_TV_CONFIRM_STOP = False
> XINE_TV_LIVE_RECORD = True
> XINE_TV_PROGRESSIVE_SEEK = True
> XINE_TV_PROGRESSIVE_SEEK_THRESHOLD = 2
> XINE_TV_PROGRESSIVE_SEEK_INCREMENT = 5
> plugin.activate('tv.upsoon')#shuts down the tv-card needed for
> recording
> TV_RECORD_DIR = '/home/freevo/Video/TVInspelningar'
> TV_RECORD_FILE_MASK = '%(progname)s-%(title)s-%%m-%%d%%H%%M'
> RECORDSERVER_IP = '127.0.0.1'
> # RECORDSERVER_PORT = 18001
> RECORDSERVER_PORT2 = 18002
> TV_IVTV_OPTIONS = {
>      'input'         : 0,
>      'resolution'    : '720x576',
>      'aspect'        : 3,
>      'audio_bitmask' : 0xE9,
>      'bframes'       : 3,
>      'bitrate_mode'  : 0,
> #     'bitrate'       : 9600000,
> #     'bitrate_peak'  : 12000000,
>      'bitrate'       : 7800000,
>      'bitrate_peak'  : 9600000,
>      'dnr_mode'      : 0,
>      'dnr_spatial'   : 0,
>      'dnr_temporal'  : 0,
>      'dnr_type'      : 0,
>      'framerate'     : 1,
>      'framespergop'  : 12,
>      'gop_closure'   : 1,
>      'pulldown'      : 0,
>      'stream_type'   : 10,
>      }
> 
> 
> TV_CHANNELS = [ ('svt1.svt.se', 'SVT1', 'E5'),
>               #('svt1.svt.se', 'SVT1', 'E5', '', '3'),
>               ('svt2.svt.se', 'SVT2', 'E6'),
>               ('tv3.viasat.se', 'TV3', 'E11'),
>               ('tv4.se', 'TV4', 'E7'),
>               ('kanal5.se', 'Kanal 5', 'E9'),
>               ('tv6.viasat.se', 'TV6', 'S8'),
>               ('kanal9.se', 'Kanal 9', 'S19'),
>               ('plus.tv4.se', 'TV4+', 'S23'),
>               ('film.tv4.se', 'TV4 Film', 'S21'),
>               ('svt24.svt.se', 'SVT24', 'S7'),
>               ('', 'CNN', 'S18'),
>               ('sport.tv4.se', 'TV4 Sport', 'S11'),
>               ('disneychannel.se', 'Disney', 'S14'),
>               ('svtb-kunskap.svt.se', 'SVTB', 'E8'),
>               ]
> 
> TV_VIDEO_GROUPS = [
>     VideoGroup(vdev = '/dev/video0',
>         adev = '/dev/adsp',
>         input_type = 'Tuner 1',
>         input_num = 0,
>         tuner_norm = CONF.tv,
>         tuner_chanlist = CONF.chanlist,
>         desc = 'PVR-500 Play Group',
>         group_type = 'ivtv',
>         record_group = 1),
>     VideoGroup(vdev = '/dev/video1',
>         adev = '/dev/adsp',
>         input_type = 'Tuner 1',
>         input_num = 0,
>         tuner_norm = CONF.tv,
>         tuner_chanlist = CONF.chanlist,
>         desc = 'PVR-500 Record Group',
>         group_type = 'ivtv',
>         record_group = None),
> 
>                ]
> VIDEO_SHOW_DATA_DIR = '/home/freevo/Video/TVInspelningar'
> TV_RECORD_DUPLICATE_DETECTION=True
> TV_RECORD_ONLY_NEW_DETECTION=False
> TV_RECORD_CONFLICT_RESOLUTION=True
> 
> The logg says:
> 
> 2008-12-11 22:26:19,885 WARNING  v4l2.py (768): control "Audio Encoding
> Layer" does not exists
> 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 360, in
> init_settings
>     codec = self.getCodecInfo()
>   File "/usr/share/pyshared/freevo/tv/ivtv.py", line 144, in
> getCodecInfo
>     audio_bitmask |= (tv.v4l2.Videodev.getcontrol(self, 'Audio Encoding
> Layer') << 6)
> TypeError: unsupported operand type(s) for <<: 'NoneType' and 'int'
> 
> 
>       ___________________________________________________
> Sök efter kärleken!
> Hitta din tvillingsjäl på Yahoo! Dejting: 
> http://ad.doubleclick.net/clk;185753627;24584539;x?http://se.meetic.yahoo.net/index.php?mtcmk=148783
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
> 


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to