From: [EMAIL PROTECTED]
Reply-To: [email protected]
To: [email protected]
Subject: Freevo-users digest, Vol 1 #1868 - 1 msg
Date: Thu, 03 Nov 2005 20:08:27 -0800

Send Freevo-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/freevo-users
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Freevo-users digest..."


Today's Topics:

   1. Re: I only seem to be able to record channel "0" (John Molohan)

--__--__--

Message: 1
Date: Thu, 03 Nov 2005 16:16:02 +0000
From: John Molohan <[EMAIL PROTECTED]>
Organization: Griffith College Dublin
To: [email protected]
Subject: Re: [Freevo-users] I only seem to be able to record channel "0"
Reply-To: [email protected]

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

thanks for the reply john
I have finally got some manual recording to work
I still do not know why it insisted in the past for channel '0'
but changing the frequency name in both the frequency table and tv_channel list to a name so that it cannot be in any channel list (which does not seem to work for me) got it wanting to record the correct channel.

FREQUENCY_TABLE = {
    "abc":64250,
    "seven":182250,
    "nine":196250,
   "ten":209250,
   "sbs":527250
}

TV_CHANNELS = [
('free.Adelaide.7.d1.com.au','chanel 7','seven'),
('free.Adelaide.9.d1.com.au','chanel 9','nine')
# ('composite','Composite Input','0', '', 0)
]

then the next problem was it did not like the default record name with the time setting in it
h:m  got changed to h-m (hours-minutes) now it works

TV_TIMEFORMAT = '%H-%M' # Hour-Minute 14:05

I just got it working yesterday

I am going to start a new thread for which codec is suitable to make vcd's with what seems a slow cpu (amd 1800+) since the ksystemguard says that the cpu is at 98% with a capture screen of 576*768 and 40% 352*288

I am in australia and xmltv seem hard to set up. Thats why I am recording manually first.

_________________________________________________________________
Search the Web for cheap flights http://search.ninemsn.com.au/results.aspx?rf=1&q=cheap+flights&FORM=HM



-------------------------------------------------------
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