Frank [Antispam account] wrote:
>  
>
>   
>> -----Oorspronkelijk bericht-----
>> Van: Duncan Webb [mailto:dun...@freevo.org] 
>> Verzonden: 11 October 2009 11:36
>> Aan: freevo-users@lists.sourceforge.net
>> Onderwerp: Re: [Freevo-users] IVTV, can't get it to work for 
>> the life of me.
>>
>> Frank [Antispam account] wrote:
>>     
>>> TV_VIDEO_GROUPS = [
>>>         VideoGroup(
>>>                 vdev=TV_DEVICE,
>>>                 adev=AUDIO_DEVICE,
>>>                 input_type="tuner 1",
>>>                 input_num=0,
>>>                 tuner_norm=CONF.tv,
>>>                 tuner_type='internal',
>>>                 tuner_chanlist=CONF.chanlist,
>>>                 desc="TV",
>>>                 group_type="ivtv",
>>>                 record_group='TEST'),
>>>       
>> The record_group is either None or a number. The number is 
>> the index of the VideoGroup.
>>
>> TV_VIDEO_GROUPS = [...] is a list of VideoGroup objects, 
>> index items in a list start at 0. So for this to be sensible 
>> you need to tuners (2 PVR-150 cards or 1 PVR-500 card) and 
>> set the record_group to 1.
>>
>>     
>>>         VideoGroup(
>>>                 vdev=TV_DEVICE,
>>>                 adev=AUDIO_DEVICE,
>>>                 input_type="tuner 1",
>>>                 input_num=0,
>>>                 tuner_norm=CONF.tv,
>>>                 tuner_type='internal',
>>>                 tuner_chanlist=CONF.chanlist,
>>>                 desc="TV",
>>>                 group_type="ivtv",
>>>                 record_group=None),
>>>
>>> ]
>>>       
>> Anyway use "freevo vg" to generate the video groups for 
>> analogue devices.
>>
>> Duncan
>>     
>
> Just to be sure, because I don't think i understand the TV_INPUT var.
> I have a PVR250 and the following in my local_conf.py:
>
> TV_INPUT=2
>
> and
>
> TV_VIDEO_GROUPS = [
>         VideoGroup(
>                 vdev=TV_DEVICE,
>                 adev=AUDIO_DEVICE,
>                 input_type="tuner 1",
>                 input_num=0,
>                 tuner_norm=CONF.tv,
>                 tuner_type='internal',
>                 tuner_chanlist=CONF.chanlist,
>                 desc="TV",
>                 group_type="ivtv",
>                 record_group='TEST'),
>         VideoGroup(
>                 vdev=TV_DEVICE,
>                 adev=AUDIO_DEVICE,
>                 input_type="tuner 1",
>                 input_num=0,
>                 tuner_norm=CONF.tv,
>                 tuner_type='internal',
>                 tuner_chanlist=CONF.chanlist,
>                 desc="TV",
>                 group_type="ivtv",
>                 record_group=None),
> ]
>
>
> Do I have to change it to:
>
> TV_INPUT=0
>
> and
>
> TV_VIDEO_GROUPS = [
>         VideoGroup(
>                 vdev=TV_DEVICE,
>                 adev=AUDIO_DEVICE,
>                 input_type="tuner 1",
>                 input_num=0,
>                 tuner_norm=CONF.tv,
>                 tuner_type='internal',
>                 tuner_chanlist=CONF.chanlist,
>                 desc="TV",
>                 group_type="ivtv",
>                 record_group=None),
> ]
>   

Yes and no.

No you don't need TV_INPUT. TV_INPUT is only used for the VCR_CMD in
freevo_config.py and can be overwritten in local_conf.py.

VCR_CMD = (CONF.mencoder + ' ' +
           'tv:// ' +                      # New mplayer requires this.
           '-tv driver=%s:input=%d' % (TV_DRIVER, TV_INPUT) +

since you are using an ivtv card, mplayer will not work with the TV:// URI.

Yes you need one VideoGroup as you only have one TV card with a single
tuner.

Duncan


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to