Paul Sijben wrote:
>
>> I don't think that you can remove the input from VideoGroups because
>> this can be used to set a different input device, such as the S-Video.
>>
>>
> that was not what I meant. I meant I can not pick it from videogroups
> when I am creating the lockfile.
Do you keep track of the VideoGroup index? IFAICS this is all you need,
with this you have the video device and hence the lockfile name.
>> Also you should be aware that it may not be a desirable feature if two
>> cards come from two different sources, such as Analogue and DVB-S, so
>> there needs to be a way to turn it off. I think using the record_group
>> is the best way.
>>
>>
> You may be right but at this point I am confused. Could you explain to
> me the current definition of record_group (and the context of
> video_groups) and in the in the case of a setup where one may have a
> PVR-500, used for parallel recording on analogue and a DVB card.
The record_group is an index into the VideoGroup list, starting at 0. If
the record_group is not None then it uses this VideoGroup to record. The
first group, by default, is the play-back group but this can be
overridden in the TV_CHANNELS list.
> An example of video_groups in that setting would also help me a lot I think
I gave you one, but here is again, this time adjusted.
VideoGroup(vdev = '/dev/video0',
vvbi = '/dev/vbi0',
adev = '/dev/adsp',
input_type = 'tuner',
input_num = 0,
tuner_norm = CONF.tv,
tuner_chanlist = CONF.chanlist,
desc = 'PVR-500 Play (2nd Record) Group',
group_type = 'ivtv',
record_group = 1),
VideoGroup(vdev = '/dev/video1',
vvbi = '/dev/vbi1',
adev = '/dev/adsp',
input_type = 'tuner',
input_num = 0,
tuner_norm = CONF.tv,
tuner_chanlist = CONF.chanlist,
desc = 'PVR-500 Record Group',
group_type = 'ivtv',
record_group = 0),
VideoGroup[0] is the play-back group, the record_group points to
VideoGroup[1] and in this example it points back to the first group (At
the moment it would be None)
Clearer?
Duncan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users