David Stan wrote:
I only seem to be able to record channel "0" however
when I check the recordserver log and change the channel to "7" and the record name I can record video in a terminal
some of my local_conf.py file is


TV_DRIVER = 'v4l2'
TV_DEVICE = '/dev/video0:brightness=10:contrast=10:hue=-35:saturation=0'
TV_INPUT = 0

VCR_AUDIO = (':adevice=/dev/dsp' +
             ':audiorate=32000' +         # 44100 for better sound
':forceaudio:forcechan=1:' + # Forced mono for bug in my driver
             'buffersize=64')             # 64MB capture buffer, change?

VCR_CMD = ('aumix -1 100 -l R -i 1 ;mencoder ' +
           'tv:// ' +                      # New mplayer requires this.
           '-tv driver=v4l2:input=0' + #(TV_DRIVER=v4l , TV_INPUT=0)
           ':norm=%s' % CONF.tv +
           ':channel=%(channel)s' +        # Filled in by Freevo
           ':chanlist=%s' % CONF.chanlist +
           ':width=%d:height=%d' % (TV_REC_SIZE[0], TV_REC_SIZE[1]) +
           ':outfmt=%s' % TV_REC_OUTFMT +
           ':device=%s' % TV_DEVICE +
           VCR_AUDIO +                     # set above
           ' -ovc lavc -lavcopts ' +       # Mencoder lavcodec video codec
           'vcodec=mpeg4' +                # lavcodec mpeg-4
           ':vbitrate=1800:' +             # Change lower/higher, bitrate
'keyint=30 ' + # Keyframe every 10 secs, change? '-oac mp3lame -lameopts ' + # Use Lame for MP3 encoding, must be enabled in mencoder!
           'br=128:cbr:mode=3 ' +          # MP3 const. bitrate, 128 kbit/s
'-ffourcc divx ' + # Force 'divx' ident, better compat. '-endpos %(seconds)s ' + # only mencoder uses this so do it here.
           '-o %(filename)s; aumix -l 0')         # Filled in by Freevo

FREQUENCY_TABLE = {
         "7"    :       182250,
          "E4"    :       62250,
          "E6"    :       147000,
          "E12"   :       224250,
}

VIDEO_GROUPS = [
#    VideoGroup(vdev=TV_DEVICE,
#               adev=AUDIO_DEVICE,
#               input_type='composite',
#               input_num=0,
#               tuner_norm='PAL',
#               tuner_type='internal',
#               desc='Hauppauge Composite',
#               recordable=True)
#]
   VideoGroup(vdev='/dev/video0',
              adev=AUDIO_DEVICE,
              input_type='tuner',
              input_num=0,
             tuner_type='internal',
              tuner_norm='PAL',
             tuner_chanlist='australia',
              desc='Hauppauge Tuner',
              group_type='normal',
              recordable=True)
              ]

TV_CHANNELS = [
# ###('C2.telepoche.com','france2','00'),
# #######('C3.telepoche.com','france3','00'),
# ######('C4.telepoche.com','Canal +','00'),
('free.Adelaide.7.d1.com.au','chanel 7','9'),
('free.Adelaide.9.d1.com.au','chanel 9','11'),
# ('composite','Composite Input','0', '', 0)
]

I hope this can give some one an idea where i have gone wrong


Thanks for any help

Your mapping between TV_CHANNELS and FREQUENCY_TABLE seems messed up to me. Can you watch TV? It probably isn't necessary for you to use the frequency table at all. I'm guessing you're in France and as far as I remember there is a sample TV_CHANNELS in the wiki for France (whether it's for you provider or not I'm not sure but lets hope), try starting off with this.

Regards,

John


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to