Multi-tuner support has been added to Freevo in Release 1.6.0

What is meant by multi-tuner support is that with two TV cards or a dual-tuner card you can watch one TV channel or listen to the radio at the same time while recording a TV programme. (Note that the following only works fine if the two TV cards are driven by the same driver; if this is not your case, you may want to refer to this explanation.)

It has been implemented by using VIDEO_GROUPS in local_conf.py. Lets start with a working example for a Hauppauge WinTV PVR-500MCE dual-tuner card.

VIDEO_GROUPS = [
    VideoGroup(vdev = '/dev/video0',
        adev = '/dev/adsp',
        input_type = 'tuner',
        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',
        input_num = 0,
        tuner_norm = CONF.tv,
        tuner_chanlist = CONF.chanlist,
        desc = 'PVR-500 Record Group',
        group_type = 'ivtv',
        record_group = None),
    VideoGroup(vdev = '/dev/video2',
        adev = None,
        input_type = 'webcam',
        desc = 'Logitech Quickcam',
        group_type = 'webcam',
        record_group = None),
]

In this example there are three VideoGroups. The first group is used to watch TV or listen to the radio, the second group is used to record TV programmes and the third group is used for web camera.

In the first group it has a setting record_group = 1 which means use the second VideoGroup to record. The groups are numbered from 0 (zero).

In the second and third group the record_group is set to None. This means, that they don't have a record group. In which case the same tuner is used for both watching and recording.

It is possible to have as many VideoGroups as tuners, DVB and analogue cards can be mixed and TV_CHANNELS is used to control which tuner is used for a channel.

TV_CHANNELS = [
    ('C1.sfdrs.ch',     u'SF 1', 'K05', '', '0'),
    ('C2.sfdrs.ch',     u'SF 2', 'K10', '', '1'),
    ('sfi.sfdrs.ch',    u'SFinfo', 'K35'),
]

In the above example the channel SF 1 would use the first tuner, SF 2 would use the second tuner and SFinfo would use the default tuner, number 0.

The above example will work with the VIDEO_GROUPS above but doesn't make much sense. I

MultiTunerConfig (last edited 2008-09-19 21:29:39 by mennucc1)