Hi Rob thanks for your replies.........


this is my list of running processes...



numlock 0:uit 1:uit 2:uit 3:uit 4:uit 5:uit 6:uit
tmdns 0:uit 1:uit 2:uit 3:uit 4:uit 5:uit 6:uit
internet 0:uit 1:uit 2:aan 3:aan 4:aan 5:aan 6:uit
mtink 0:uit 1:uit 2:uit 3:uit 4:uit 5:uit 6:uit
cups 0:uit 1:uit 2:aan 3:aan 4:aan 5:aan 6:uit
hpoj 0:uit 1:uit 2:aan 3:aan 4:aan 5:aan 6:uit
freevo_recordserver 0:uit 1:uit 2:aan 3:aan 4:aan 5:aan 6:uit
freevo_webserver 0:uit 1:uit 2:uit 3:uit 4:uit 5:uit 6:uit



There is 1 entry for recordserver. I tried running is as user because it wouldn't work otherwise (and now its not working at all (but tv is working great thanks for that again)


You're right about the plugin (and I don't use it) to be sure I didn't use the generic one I looked in my local_conf.py but the 2 lines at the top (plugin.remove('tv.generic_record')
plugin_record = plugin.activate('tv.ivtv_record') )
are uncommented and under tv-plugins I have the ivtv basic uncommented.


I thaught and you confirm it that ivtv doesn't use mencoder so somewhere the record function gets the wrong command. I have my local_conf.py places in /.freevo and I have gone through the whole thing at least 3 times but I can't find anything.


# # XXX Recording is still work in progress. You need to change # XXX the entire string below to fit your local settings. # XXX Eventually TV norm (PAL/NTSC) etc will be taken from the # XXX other flags. VCR_xxx and TV_REC_xxx is not used yet! # XXX You also need to have the recording daemon running, see # XXX the website docs or the mailing lists if that fails. # XXX Example cron script: # XXX * * * * * /usr/local/freevo/freevo execute src/tv/record_daemon.py

# if using record_daemon from cron
#REC_SCHEDULE_FILE = '/tmp/freevo_record.lst'

# if using the persitant recordserver
TV_RECORD_SCHEDULE = '%s/record_schedule.xml' % FREEVO_CACHEDIR

TV_RECORD_SERVER_IP = 'localhost'
TV_RECORD_SERVER_PORT = 18001

# start every recording X minutes before scheduled,
# and stop X minutes after scheduled - default to zero minutes.
# This must be a value in seconds although at the moment only has
# the percision of one minute.
TV_RECORD_PADDING = 0 * 60

#if os.uname()[0] == 'FreeBSD':
# FreeBSD's bsdbt848 TV driver doesn't support audio settings?
# VCR_AUDIO = ''
#else:
# 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?


# TV capture size for viewing and recording. Max 768x480 for NTSC,
# 768x576 for PAL. Set lower if you have a slow computer!
#
# For the 'tvtime' TV viewing application, only the horizontal size is used.
# Set the horizontal size to 400 or 480 if you have a slow (~500MHz) computer,
# it still looks OK, and the picture will not be as jerky.
# The vertical size is always either fullscreen or 480/576 (NTSC/PAL)
# for tvtime.
#TV_VIEW_SIZE = (640, 480)
#TV_REC_SIZE = (640, 480)


# Input formats for viewing and recording. The format affect viewing
# and recording performance. It is specific to your hardware, so read
# the MPlayer docs and experiment with mplayer to see which one fits
# your computer best.
#TV_VIEW_OUTFMT = 'yuy2'   # Better quality, slower on pure FB/X11
#TV_REC_OUTFMT = 'yuy2'

# XXX Please see the mencoder docs for more info about the settings
# XXX below. Some stuff must be changed (adevice), others probably
# XXX should be ("Change"), or could be in some cases ("change?")
#VCR_CMD = ('/usr/share/freevo/unmute; '+
# 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.avi ' + # Filled in by Freevo
# '; /usr/share/freevo/mute;')
#
#
# XXX Not used yet
# VCR_SETTINGS = '%s composite1 %s /dev/video0' % (CONF.tv, CONF.chanlist)


#
# Settings for ivtv based cards such as the WinTV PVR-250/350.
#
# XXX TODO: Add descriptions and valid settings for each option.
# bitrate in bps
# stream type
# Options are: 0 (mpeg2_ps), 1 (mpeg2_ts), 2 (mpeg1), 3 (mpeg2_pes_av),
#              5 (mpeg2_pes_v), 7 (mpeg2_pes_a), 10 (dvd)

IVTV_OPTIONS = {
  'input'         : 4,
  'resolution'    : '720x576',
  'aspect'        : 2,
  'audio_bitmask' : 233,
  'bframes'       : 3,
  'bitrate_mode'  : 1,
  'bitrate'       : 4000000,
  'bitrate_peak'  : 4000000,
  'dnr_mode'      : 0,
  'dnr_spatial'   : 0,
  'dnr_temporal'  : 0,
  'dnr_type'      : 0,
  'framerate'     : 0,
  'framespergop'  : 15,
  'gop_closure'   : 1,
  'pulldown'      : 0,
  'stream_type'   : 10,
}

I have looked at these lines 3 or 4 times but I have no idea what is wrong here. hope you canhelp regards, Leo






free vo wrote:
Hi, I've been doing some more searching in the logs and I have discovered I have a recordserver-0.log and a recordserver-502.log. The 502 is the user and the 0 the root log. In the root log I find the error as reprorted below. In the 502 I find some of the succesfull recordings like ......

Why are you running two recordservers? Until you know what you are doing I would suggest sticking with the root one.


2004/01/21 13:21 CET [*RecordServer*] Recorder::Record: 2004-01-21 09:00 to 2004-01-21 17:50 31.tvgids.nl RTL Z Nieuws
2004/01/21 13:21 CET [*RecordServer*] Record_Thread::run: mode=record
2004/01/21 13:21 CET [*RecordServer*] Record_Thread::run: started recording
2004/01/21 13:21 CET [*RecordServer*] Video Opened at /dev/video0
2004/01/21 13:21 CET [*RecordServer*] Setting Channel to s11+
2004/01/21 13:21 CET [HTTPChannel,2,127.0.0.1] 127.0.0.1 - - [21/Jan/2004:12:21:02 +0000] "POST / HTTP/1.0" 200 2794 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2004/01/21 13:21 CET [HTTPChannel,3,127.0.0.1] 127.0.0.1 - - [21/Jan/2004:12:21:14 +0000] "POST / HTTP/1.0" 200 2794 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2004/01/21 13:21 CET [twisted.web.server.Site] (Port 18001 Closed)
2004/01/21 13:21 CET [twisted.web.server.Site] Stopping factory <twisted.web.server.Site instance at 0x40f87fac>
2004/01/21 13:21 CET [*RecordServer*] Main loop terminated.

That is not a successful recording. It changes the channel then dies or is shut down.


But in this log I see nothing about the scheduled recordings I have made. Those I see only in the 0 log, where mencoder is used what seems to me wrong.

Here is what I do. As root I check if the recordserver has started (/etc/init.d/freevo_recordserver restart). I start freevo (as a user),

If you run restart as root after starting it as a user that might result in two running, I'm not sure.


enter the tv guide menu, select a program, press f6, choose record, the program becomes green, and I wait. Nothing happens, no recording is made. I check the logs, there is only an entry in the 0 log (about mencoder) and nothing in the 502 logs.

In my local_conf.py I have commented out evertthing to do with VCR_CMD, I checked even the freevo.conf. But nothing gives.

If you are using a pvr-250 don't use the reneric_record plugin / VCR_CMD. This is covered in the docs (website). I think that's half your problem.


In my log I find....


2004/01/22 16:25 CET [*RecordServer*] Recorder::Record: /usr/share/freevo/unmute; /usr/local/bin/mencoder tv:// -tv driver=v4l:input=0:norm=ntsc:channel=7+:chanlist=us-cable:width=640:height=480:outfmt=yuy2:device=/dev/video0: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 -ffourcc divx -endpos 708 -o /tmp/freevo/Videos/01-22_16:25_Kinderfilm_theater_-_.avi ;

mencoder tv:// doesn't work with ivtv.


-Rob



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to