What freevo version are you running?

On Wed, 2004-09-01 at 03:19, Markus Klein wrote:
> Unfortunatly neighter  "tv://%(channel)s -tv " + neighter the changes 
> described on
> 
> http://freevo.sourceforge.net/cgi-bin/moin.cgi/RecordingInfo
> 
> didn't have any effect in my case.
> My VCR_CMD now is:
> 
> VCR_CMD = ( 'aumix -l 100 -l R -i 1; '+
>              '/usr/bin/mencoder ' +
>              'tv:// -tv ' +
>              'driver=v4l:device=/dev/video0' +
>              ':input=0:norm=PAL:chanlist=europe-west ' +
> #           ':channel=%(channel)s' +
>              ':width=640:height=480' +
>              ':freq=%(frequencyMhz)s' +
>              ':adevice=/dev/dsp' +
>              ':audiorate=32000' +
>              ':forceaudio:forcechan=1:' +
>              'buffersize=64' +
>              ' -ovc lavc -lavcopts ' +
>              'vcodec=mpeg4' +
>              ':vbitrate=1200:' +
>              'keyint=30 ' +
>              '-oac mp3lame -lameopts ' +
>              'br=128:cbr:mode=3 ' +
>              '-endpos %(seconds)s ' +
>              '-o %(filename)s.avi ')
> 
> FREQUENCY_TABLE = {
>          'E3'    :       55250,
>          'E4'    :       62250,
>          'E6'    :       189250,
>          'E12'   :       224250,
> 
> and so on.. I took it from my cable provider at: 
> http://www.upc.at/tv/tv_wrneustadt.shtml
> 
> TV_CHANNELS = [
> ('C1.orf.at', 'ORF 1',              'E3'  ),        #1
> ('C2.orf.at', 'ORF 2',              'E4'  ),        #2
> ('ard.de', 'ARD',              'E6'  ),        #3
> ('zdf.de', 'ZDF',              'E12' ),        #4
> ('5', 'FE',              'E8'  ),        #5
> and so on...
> 
> I also did the changes in generic_record.py:
> 
>   These are my modifications
> Where it says:
> 
>   def Record(self, rec_prog):
>          frequency = self.fc.chanSet(str(rec_prog.tunerid), 'record 
> plugin')
> 
> I added:
> 
>         # modif gedeco
>          frequencyT = str(frequency)
>          frequencyT1 = len(frequencyT)
>          frequencyleftpointer = frequencyT1-3
>          frequencyA = frequencyT[0:frequencyleftpointer]
>          frequencyB = frequencyT[frequencyleftpointer:frequencyT1]
>          frequencyMh = frequencyA + '.' + frequencyB
>          frequencyMhz = str(frequencyMh)
>         # end modif gedeco
>          rec_prog.filename = tv_util.getProgFilename(rec_prog)
> 
> and where it says
>          cl_options = { 'channel'  : rec_prog.tunerid,
> I added
>                         # modif gedeco
>                         'frequencyMhz' : frequencyMhz,
>                         # modif gedeco
> 
> 
> but it still only records the channel that is actually shown. Otherwise 
> it doesn't record anything...
> 
> /var/log/recordserver says:
> 
> 2004/08/31 21:15 CEST [*RecordServer*] ERROR: Unable to get frequency 
> for channel E4.
> 2004/08/31 21:15 CEST [*RecordServer*] Traceback (most recent call 
> last):
>            File 
> "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in 
> callWithContext
>              return context.call({ILogContext: newCtx}, func, *args, 
> **kw)
>            File 
> "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 43, 
> in callWithContext
>              return func(*args,**kw)
>            File 
> "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 
> 126, in run
>              self.mainLoop()
>            File 
> "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 
> 134, in mainLoop
>              self.runUntilCurrent()
>          --- <exception caught here> ---
>            File 
> "/usr/lib/python2.3/site-packages/twisted/internet/base.py", line 423, 
> in runUntilCurrent
>              call.func(*call.args, **call.kw)
>            File 
> "/usr/lib/python2.3/site-packages/freevo/helpers/recordserver.py", line 
> 912, in minuteCheck
>              self.record_app.Record(rec_prog)
>            File 
> "/usr/lib/python2.3/site-packages/freevo/tv/plugins/generic_record.py", 
> line 127, in Record
>              rec_prog.filename = tv_util.getProgFilename(rec_prog)
>          exceptions.NameError: global name 'tv_util' is not defined
> 
> 
> What is the tv_util ?
> 
> 
> From: Gedeco <[EMAIL PROTECTED]>
> 
> ______________________________________________________________________
>   Re: how can i record another channel  
> 2004-08-27 00:22
> 
>   In the WIKI, you would find my version on howto change to frequency
>   instead of channels for mencoder. Needs to be redacted by someone who 
> has
>   a better knowledge of python.
> 
>   http://freevo.sourceforge.net/cgi-bin/moin.cgi/RecordingInfo  point 5
> 
>   In adition, since I"ve been switching to frequency for mencoder, it 
> looks
>   like the finetuning of the recorded programs is much better.(less 
> noise)
>   But this could be a faulty impression from my point of view.
> 
> 
>   > I would try changing the line:
>   >
>   >               "tv:// -tv " +
>   >
>   > to:
>   >
>   >               "tv://%(channel)s -tv " +
>   >
>   > mencoder options for tv have been a mess for a few versions while 
> they
>   > switch over to the new tv url syntax.
>   >
>   > otherwise you might have to resort to using raw frequencies if 
> mencoder
>   > doesn"t know the channel number. The whole channel numbering thing 
> is a
>   > mess since mencoder (mplayer), xawtv, and tvtime do not agree on 
> what to
>   > call some channels in certain locales. its very frustrating but we 
> are
>   > moving to frequencies in our software to try to get around this.
>   >
>   > --
>   > Michael Ruelle
>   > [EMAIL PROTECTED]
>   >
>   >


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to