Hi.
I can't record tv with freevo. It seems that the recordserver is running, and
the .fxd files for the records are created in the right place, but mencoder
is never called. Watching tv works fine (well, actually I still haven't
sound, but...) Here are some pieces of my local_conf.py:
TV_RECORD_DIR = '/home/freevo/video/tv/'
TV_SETTINGS = 'pal television europe-west /dev/video0'
TV_DRIVER = 'v4l2'
TV_DEVICE = '/dev/video0'
TV_INPUT = 0
TV_DATEFORMAT = '%e-%b' # Day-Month: 11-Jun
TV_TIMEFORMAT = '%H:%M' # Hour-Minute 14:05
TV_DATETIMEFORMAT = '%A %b %d %I:%M %p' # Thursday September 24 8:54 am
TV_RECORDFILE_MASK = '%%m-%%d %%H:%%M %(progname)s - %(titulo)s'
TV_RECORD_SCHEDULE = '%s/record_schedule.xml' % FREEVO_CACHEDIR
TV_RECORD_SERVER_IP = 'localhost'
TV_RECORD_SERVER_PORT = 18001
TV_RECORD_PADDING = 1 * 60
VCR_AUDIO = (':adevice=%s' % AUDIO_DEVICE +
':audiorate=44100' + # 44100 for better sound
':forceaudio:forcechan=1:' + # Forced mono for bug in my driver
'buffersize=64') # 64MB capture buffer, change?
TV_REC_SIZE = (320, 240) # Default for slower computers
TV_REC_OUTFMT = 'yuy2'
VCR_CMD = (CONF.mencoder + ' ' +
'tv:// ' + # New mplayer requires this.
'-tv driver=%s:input=%d' % (TV_DRIVER, TV_INPUT) +
':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=1200:' + # 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') # Filled in by Freevo
Other things related to tv are probably commented, but if you need more
details, please let me know. There is nothing in recorder_stdout.log or
recorder_sdterr.log. I don't see that mencoder is called anywhere.
Thx
Alberto
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users