Jody Gugelhupf wrote:
> hi ppl :) 
> i run freevo 1.7.3 on ubuntu feisty, having problem with the recordserver, 
> something is going
> wrong, recordlog shows following:
> 
> 2007/07/16 23:24 CEST [HTTPChannel,13,127.0.0.1] going to record: Mon 
> 2007-07-16 23:26->23:30
> (01:00)  mtv.com Manual Record
> 2007/07/16 23:24 CEST [HTTPChannel,13,127.0.0.1] start recording: Mon 
> 2007-07-16 23:26->23:30
> (01:00)  mtv.com Manual Record
> 2007/07/16 23:24 CEST [HTTPChannel,13,127.0.0.1] channels.py (162): Using 
> custom frequency:
> chan="MTV", freq="767250"
> 2007/07/16 23:24 CEST [HTTPChannel,13,127.0.0.1] Recorder::Record: 
> /usr/local/bin/mencoder tv://
> -tv
> driver=v4l2:input=0:norm=pal:channel=MTV:chanlist=europe-west:width=320:height=240:brightness=-16:contrast=-20:saturation=100:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp:audiorate=44100
> -ovc x264 -x264encopts bitrate=1000 -oac mp3lame -lameopts br=128:cbr:mode=3 
> -ffourcc divx -endpos
> 467 -o /home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi
> 2007/07/16 23:24 CEST [HTTPChannel,13,127.0.0.1] 127.0.0.1 - - 
> [16/Jul/2007:21:24:02 +0000] "POST
> / HTTP/1.0" 200 251 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
> 2007/07/16 23:24 CEST [-] Record_Thread::run: mode=record
> 2007/07/16 23:24 CEST [-] Record_Thread::run: cmd=/usr/local/bin/mencoder 
> tv:// -tv
> driver=v4l2:input=0:norm=pal:channel=MTV:chanlist=europe-west:width=320:height=240:brightness=-16:contrast=-20:saturation=100:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp:audiorate=44100
> -ovc x264 -x264encopts bitrate=1000 -oac mp3lame -lameopts br=128:cbr:mode=3 
> -ffourcc divx -endpos
> 467 -o /home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi
> 2007/07/16 23:24 CEST [-] Record logging to "/tmp/freevo/recorder_stdout.log" 
> and
> "/tmp/freevo/recorder_stderr.log"
> 2007/07/16 23:24 CEST [-] childapp.py (134): Running (str) 
> "/usr/local/bin/mencoder tv:// -tv
> driver=v4l2:input=0:norm=pal:channel=MTV:chanlist=europe-west:width=320:height=240:brightness=-16:contrast=-20:saturation=100:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp:audiorate=44100
> -ovc x264 -x264encopts bitrate=1000 -oac mp3lame -lameopts br=128:cbr:mode=3 
> -ffourcc divx -endpos
> 467 -o /home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi" with pid 7471 
> prioity 0
> 2007/07/16 23:24 CEST [-] childapp.py (406): logging stdout child to
> "/tmp/freevo/mencoder-stdout.log"
> 2007/07/16 23:24 CEST [-] childapp.py (406): logging stderr child to
> "/tmp/freevo/mencoder-stderr.log"
> 2007/07/16 23:24 CEST [*RecordServer*] RECORD_START Mon 2007-07-16 
> 23:26->23:30 (01:00)  mtv.com
> Manual Record
> 2007/07/16 23:24 CEST [*RecordServer*] fetch_image []
> 2007/07/16 23:24 CEST [HTTPChannel,14,127.0.0.1] 127.0.0.1 - - 
> [16/Jul/2007:21:24:09 +0000] "POST
> / HTTP/1.0" 200 230 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
> 2007/07/16 23:24 CEST [HTTPChannel,15,127.0.0.1] 127.0.0.1 - - 
> [16/Jul/2007:21:24:09 +0000] "POST
> / HTTP/1.0" 200 3759 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
> 2007/07/16 23:25 CEST [*RecordServer*] checkToRecord 23:25:00
> 2007/07/16 23:26 CEST [*RecordServer*] checkToRecord 23:26:00
> 2007/07/16 23:27 CEST [*RecordServer*] checkToRecord 23:27:00
> 2007/07/16 23:28 CEST [*RecordServer*] checkToRecord 23:28:00
> 2007/07/16 23:29 CEST [*RecordServer*] checkToRecord 23:29:00
> 2007/07/16 23:30 CEST [*RecordServer*] checkToRecord 23:30:00
> 2007/07/16 23:31 CEST [*RecordServer*] checkToRecord 23:31:00
> 2007/07/16 23:32 CEST [*RecordServer*] checkToRecord 23:32:00
> 2007/07/16 23:32 CEST [*RecordServer*] found a program to clean: Mon 
> 2007-07-16 23:26->23:30
> (01:00)  mtv.com Manual Record
> 2007/07/16 23:32 CEST [-] autokill timeout, stopping recording
> 2007/07/16 23:32 CEST [-] Record_Thread::run: past wait()!!
> 2007/07/16 23:32 CEST [-] childapp.py (233): killing pid 7471 signal 2
> 2007/07/16 23:32 CEST [-] childapp.py (239): Before wait(7471)
> 2007/07/16 23:32 CEST [*RecordServer*] killing pid 7471 with signal 15
> 2007/07/16 23:32 CEST [*RecordServer*] killing pid 7471 with signal 9
> 2007/07/16 23:32 CEST [-] childapp.py (255): childapp: After wait()
> 2007/07/16 23:32 CEST [-] childapp.py (423): stdout: no data, closing log
> 2007/07/16 23:32 CEST [-] childapp.py (423): stderr: no data, closing log
> 2007/07/16 23:32 CEST [*RecordServer*] failed to kill pid 7471
> 2007/07/16 23:32 CEST [-] childapp.py (271): Oops, command refuses to die, 
> try bad hack....
> 2007/07/16 23:32 CEST [-] childapp.py (280): Try harder to kill the app....
> 2007/07/16 23:32 CEST [-] childapp.py (287): PANIC can't kill program
> 2007/07/16 23:32 CEST [-] Record_Thread::run: finished recording
> 2007/07/16 23:32 CEST [-] Record_Thread::run: mode=idle
> 2007/07/16 23:32 CEST [*RecordServer*] RECORD_STOP Mon 2007-07-16 
> 23:26->23:30 (01:00)  mtv.com
> Manual Record
> 
> so it can't kill some processes, 'ps x' shows me these:
> 
> 7673 pts/1    S      0:00 /usr/bin/python /home/jody/freevo-test/bin/freevo 
> execute
> /home/jody/freevo-test/lib/python2.5/site-packages/freevo/util/videothumb.pyc
> /usr/local/bin/mplayer /home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi
> /home/jody/.freevo/vfs/home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi.raw.tmp
> 7676 pts/1    S      0:00 python
> /home/jody/freevo-test/lib/python2.5/site-packages/freevo/util/videothumb.pyc
> /usr/local/bin/mplayer /home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi
> /home/jody/.freevo/vfs/home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi.raw.tmp
> 7679 pts/1    S      0:00 /usr/local/bin/mplayer -nosound -vo png -frames 8 
> -ss 191 -zoom
> /home/jody/TVrecords/Manual_Record_-_07-16_23:26.avi
> 
> so, what could be the problem, permissions maybe? thx for any help
> jody :D

1.7.3 is a svn number, which revision are you using?

I ask because yesterday I fixed a bug in childapp that was incorrectly
running string commands from childapp line 134 it should report "in shell"

Can you try a svn update, python setup.py install and restart the record
server. Let me know if the recording is not okay?

Duncan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to