Multicard setup with freevo

Nikolaus Gradwohl2008-01-15T07:07:00+00:00

I'm using freevo for my vdr and like it very much. Recently in austria terestrial analog tv has bin turned off and everyone had to switch to DVB. So our block got a big Satelite-Receiver and a box that transcodes the DBV-S signal to DBV-C. and i hat to put a DVB-C card in my freevo box ...

to "make the hunt more interessting (shirkan - the jungle-book)" some of the channels still come over analog-tv. freevo handles mulit-card setups very well, but only if the cards are the same type. So i had to patch it a little to support my setup where some channels have to be recorded and viewed from one card and some from the other.

i extended the 'VideoGroup' class by a "vcr_cmd" member, and wrote a little record-pluin that sets the command depending on the channel description

VIDEO_GROUPS = [
    VideoGroup(vdev='/dev/video0',
            adev=None,
            input_type='tuner',
            input_num=0,
            tuner_norm='pal',
            tuner_chanlist='europe-west',
            desc='Default Video Group',
            group_type='ivtv',
            record_group=None,
            vcr_cmd='/usr/local/bin/ivtv-record.py %(filename)s %(channel)s %(seconds)s',
      ),
    VideoGroup(
            vdev='/dev/video0',
            adev=None,
            input_type='tuner',
            input_num=0,
            desc='DVB Viewer',
            group_type='dvb',
            record_group=None,
            vcr_cmd = 'mencoder -oac copy -ovc copy -o %(filename)s -dvbin card=1
                            "dvb://%(channel)s" -endpos %(seconds)s'
      )
    ]

ivtv-record is a small script i have written because i cant use the ivtv plugin anymore (it doesnt use the cmd variables). my record-plugin is a extenion to the "generic-record.py" where i changed the line 'self.rec_command = config.VCR_CMD % cl_options' to 'self.rec_command = vg.vcr_cmd % cl_options'

Tweet This! submit to reddit Digg! Tags: | 1 comments | no trackbacks

See also:

grease pencil experiment 6 - grid
grease pencil experiment 4 - filled shapes
grease pencil experiment 4 - depth of field
grease pencil experiment 3 - animated circles
grease pencil experiment 2 - freestyle

Trackbacks

Comments

Leave a response

  1. ludom 2008-03-10T12:11:15+00:00

    Great! That's what I was looking for. Thanks!

Leave a comment