Richard Scott wrote:
> Thanks for the replies.
> 
>> > mencoder-stdout-500.log:
>> > MEncoder dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2008 MPlayer Team
>> > CPU: Intel(R) Core(TM)2 Duo CPU     E6850  @ 3.00GHz (Family: 6, Model: 
>> > 15, Stepping: 11)
>> > CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
>> > Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
>> > 
>> > 
>> > Exiting... (error parsing command line)
>> > 
>> > mencoder-stderr-500.log:
>> >
>>  Option tv: Unknown suboption forceaudio
> 
> This is more a mplayer change than a freevo one, did you also upgrade
> mplayer?
> 
> 
> No.  I have been using mplayer 1.0_rc2_p25993 since February 19.

I forgot to ask for the VCR_ settings.

The defaults are:
VCR_AUDIO = (
   ':adevice=%s' % AUDIO_DEVICE +
   ':audiorate=32000' +         # 44100 for better sound
   ':forceaudio:forcechan=1:' + # Forced mono for bug in my driver
   'buffersize=64')             # 64MB capture buffer, change?

I used these settings.
TV_VIEW_OUTFMT = 'yuy2'
TV_REC_OUTFMT = 'yuy2'
VCR_AUDIO = (
     #':alsa:adevice=hw.0,0' +
     ':alsa' +
     ':amode=1' +
     ':audiorate=32000' +
     ':buffersize=64'
)
VCR_CMD = (CONF.mencoder + ' ' +
     'tv:// ' +
     '-tv driver=%s:input=%d' % (TV_DRIVER, TV_INPUT) +
     ':norm=%s' % CONF.tv +
     ':freq=%(frequencyMHz)s' +
     ':width=%d:height=%d' % (TV_REC_SIZE[0], TV_REC_SIZE[1]) +
     ':outfmt=%s' % TV_REC_OUTFMT +
     ':device=%s' % TV_DEVICE +
     VCR_AUDIO +
     ' -ovc lavc -lavcopts ' +
     'vcodec=mpeg4' +
     ':vbitrate=1200:' +
     'keyint=30 ' +
     '-oac mp3lame -lameopts ' +
     'br=128:cbr:mode=3 ' +
     '-ffourcc divx ' +
     '-endpos %(seconds)s ' +
     '-o %(filename)s')
This is quite a bit python like but can be written like this:
VCR_CMD = ('/usr/bin/mencoder ' +
     'tv:// -tv driver=v4l2:input=/dev/video0' +
     ...
     '-endpos %(seconds)s ' +
     '-o %(filename)s')
You simple join everything together and it results in the command line 
that is called.

> The first thing to try is can you use mencoder to record from the TV 
> using the command line that is used by freevo. To find out the command 
> line set in local_conf.py:
> DEBUG=1
> DEBUG_CHILDAPP=1
> 
> Then look through the recordserver log to find the command lines and try 
> 
> I already had the two DEBUG variables set to '1', so I grepped  for 
> mencoder and didn't find 'mencoder' anywhere in /var/log/freevo, where 
> all of my freevo logs go.  (I also temporarily  moved local_conf.py to 
> ensure freevo was using the proper local_conf.py:  it is.)
> 
> So I don't know what mencoder command freevo wants to use.

Strange, the childapp should print the command to the recordserver-X.log
Try adding to ~richard/.freevo/local_conf.py:
LOGGING_RECORDSERVER = logging.DEBUG
DEBUG_RECORDSERVER = 2
You will get much more information.

> It would help if you posted you TV_* variables from local_conf.py, say 
> 
> Here are the TV_* except for TV_CHANNELS
> 
> TV_RECORD_DIR = "/sda4/freevo/tvRecorde/"
> TV_RECORD_DUPLICATE_DETECTION = True
> TV_SETTINGS = 'ntsc television us-bcast /dev/video0'
> TV_DATE_FORMAT = '%b-%e'
> TV_RECORD_PADDING_POST = 1 * 60
> TV_VIDEO_GROUPS[0].group_type='dvb'

I don't know what the difference is but there are some specific DVB 
plug-ins. AFAIK just about all DVB devices record directly to MPEG2 so 
you only lose quality and increase CPU load when using mencoder.

For a list use:
freevo plugins -l | grep -i dvb

HTH
Duncan

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to