hey guys :)
I'm running freevo 1.7.3 but i'm having problem with recording things, it seems
like that freevo
doesn't manage to stop mencoder to record or something like this, I use a
custom mencoder command,
modified it in the local_conf.py, works fine from the command line, so that
should not be the
probllem right? anyhow my recordserver logs show this:
2007/06/25 12:38 CEST [*RecordServer*] checkToRecord 12:38:00
2007/06/25 12:38 CEST [HTTPChannel,26,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:38:16 +0000] "POST
/ HTTP/1.0" 200 230 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:38 CEST [HTTPChannel,27,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:38:17 +0000] "POST
/ HTTP/1.0" 200 1653 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:38 CEST [HTTPChannel,28,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:38:17 +0000] "POST
/ HTTP/1.0" 200 1289 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:38 CEST [HTTPChannel,29,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:38:20 +0000] "POST
/ HTTP/1.0" 200 1653 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:38 CEST [HTTPChannel,30,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:38:23 +0000] "POST
/ HTTP/1.0" 200 230 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:38 CEST [HTTPChannel,31,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:38:23 +0000] "POST
/ HTTP/1.0" 200 1653 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:38 CEST [HTTPChannel,32,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:38:30 +0000] "POST
/ HTTP/1.0" 200 1653 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:39 CEST [*RecordServer*] checkToRecord 12:39:00
2007/06/25 12:39 CEST [HTTPChannel,33,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:39:08 +0000] "POST
/ HTTP/1.0" 200 230 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:39 CEST [HTTPChannel,34,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:39:26 +0000] "POST
/ HTTP/1.0" 200 230 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:39 CEST [HTTPChannel,35,127.0.0.1] Mon 2007-06-25 12:40->12:45
(01:00) mtv.com
test45 tuner: MTV
2007/06/25 12:39 CEST [HTTPChannel,35,127.0.0.1] record_types.py (56): added
"mtv.com:1182768000.0" Mon 2007-06-25 12:40->12:45 (01:00) mtv.com test45"
2007/06/25 12:39 CEST [HTTPChannel,35,127.0.0.1] checkToRecord 12:39:27
2007/06/25 12:39 CEST [HTTPChannel,35,127.0.0.1] going to record: Mon
2007-06-25 12:40->12:45
(01:00) mtv.com test45
2007/06/25 12:39 CEST [HTTPChannel,35,127.0.0.1] start recording: Mon
2007-06-25 12:40->12:45
(01:00) mtv.com test45
2007/06/25 12:39 CEST [HTTPChannel,35,127.0.0.1] channels.py (162): Using
custom frequency:
chan="MTV", freq="767250"
2007/06/25 12:39 CEST [HTTPChannel,35,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
443 -o /home/jody/TVrecords/test45_-_06-25_12:40.avi
2007/06/25 12:39 CEST [HTTPChannel,35,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:39:26 +0000] "POST
/ HTTP/1.0" 200 251 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:39 CEST [-] Record_Thread::run: mode=record
2007/06/25 12:39 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
443 -o /home/jody/TVrecords/test45_-_06-25_12:40.avi
2007/06/25 12:39 CEST [-] Record logging to "/tmp/freevo/recorder_stdout.log"
and
"/tmp/freevo/recorder_stderr.log"
2007/06/25 12:39 CEST [*RecordServer*] RECORD_START Mon 2007-06-25 12:40->12:45
(01:00) mtv.com
test45
2007/06/25 12:39 CEST [*RecordServer*] fetch_image []
2007/06/25 12:39 CEST [HTTPChannel,36,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:39:28 +0000] "POST
/ HTTP/1.0" 200 230 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:39 CEST [HTTPChannel,37,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:39:28 +0000] "POST
/ HTTP/1.0" 200 3745 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:39 CEST [HTTPChannel,38,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:39:28 +0000] "POST
/ HTTP/1.0" 200 1289 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:39 CEST [HTTPChannel,39,127.0.0.1] 127.0.0.1 - -
[25/Jun/2007:10:39:28 +0000] "POST
/ HTTP/1.0" 200 243 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2007/06/25 12:39 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
443 -o /home/jody/TVrecords/test45_-_06-25_12:40.avi" with pid 25164 prioity 0
2007/06/25 12:39 CEST [-] childapp.py (406): logging stdout child to
"/tmp/freevo/mencoder-stdout.log"
2007/06/25 12:39 CEST [-] childapp.py (406): logging stderr child to
"/tmp/freevo/mencoder-stderr.log"
2007/06/25 12:40 CEST [*RecordServer*] checkToRecord 12:40:00
2007/06/25 12:41 CEST [*RecordServer*] checkToRecord 12:41:00
2007/06/25 12:42 CEST [*RecordServer*] checkToRecord 12:42:00
2007/06/25 12:43 CEST [*RecordServer*] checkToRecord 12:43:00
2007/06/25 12:44 CEST [*RecordServer*] checkToRecord 12:44:00
2007/06/25 12:45 CEST [*RecordServer*] checkToRecord 12:45:00
2007/06/25 12:46 CEST [*RecordServer*] checkToRecord 12:46:00
2007/06/25 12:47 CEST [*RecordServer*] checkToRecord 12:47:00
2007/06/25 12:47 CEST [*RecordServer*] found a program to clean: Mon 2007-06-25
12:40->12:45
(01:00) mtv.com test45
2007/06/25 12:47 CEST [-] autokill timeout, stopping recording
2007/06/25 12:47 CEST [-] Record_Thread::run: past wait()!!
2007/06/25 12:47 CEST [-] childapp.py (233): killing pid 25164 signal 2
2007/06/25 12:47 CEST [-] childapp.py (239): Before wait(25164)
2007/06/25 12:47 CEST [*RecordServer*] killing pid 25164 with signal 15
2007/06/25 12:47 CEST [*RecordServer*] killing pid 25164 with signal 9
2007/06/25 12:47 CEST [-] childapp.py (423): stderr: no data, closing log
2007/06/25 12:47 CEST [-] childapp.py (255): childapp: After wait()
2007/06/25 12:47 CEST [*RecordServer*] failed to kill pid 25164
2007/06/25 12:47 CEST [-] childapp.py (423): stdout: no data, closing log
2007/06/25 12:47 CEST [-] childapp.py (271): Oops, command refuses to die, try
bad hack....
2007/06/25 12:47 CEST [-] childapp.py (280): Try harder to kill the app....
2007/06/25 12:47 CEST [-] childapp.py (287): PANIC can't kill program
2007/06/25 12:47 CEST [-] Record_Thread::run: finished recording
2007/06/25 12:47 CEST [-] Record_Thread::run: mode=idle
2007/06/25 12:47 CEST [*RecordServer*] RECORD_STOP Mon 2007-06-25 12:40->12:45
(01:00) mtv.com
test45
then i run 'ps x' to see that these things are still active:
25373 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/test45_-_06-25_12:40.avi
/home/jody/.freevo/vfs/home/jody/TVrecords/test45_-_06-25_12:40.avi.raw.tmp
25376 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/test45_-_06-25_12:40.avi
/home/jody/.freevo/vfs/home/jody/TVrecords/test45_-_06-25_12:40.avi.raw.tmp
25379 pts/1 S 0:01 /usr/local/bin/mplayer -nosound -vo png -frames 8
-ss 172 -zoom
/home/jody/TVrecords/test45_-_06-25_12:40.avi
then i kill those processes manually and get the following added in the
recordserver logs:
2007/06/25 12:56 CEST [*RecordServer*] Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/twisted/python/context.py",
line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.5/site-packages/twisted/python/context.py",
line 37, in callWithContext
return func(*args,**kw)
File
"/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 218, in
run
self.mainLoop()
File
"/usr/lib/python2.5/site-packages/twisted/internet/posixbase.py", line 226, in
mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/lib/python2.5/site-packages/twisted/internet/base.py",
line 555, in runUntilCurrent
call.func(*call.args, **call.kw)
File
"/home/jody/freevo-test/lib/python2.5/site-packages/freevo/helpers/recordserver.py",
line
1577, in handleEvents
vfs.getoverlay(os.path.splitext(prog.filename)[0] + '.png'))
<type 'exceptions.OSError'>: [Errno 2] No such file or directory
2007/06/25 12:56 CEST [*RecordServer*] top of the minute in 51 seconds
2007/06/25 12:56 CEST [*RecordServer*] checkToRecord 12:56:09
anyone has an idea what the problem is?
thx in advance,
jody :)
Ask a question on any topic and get answers from real people. Go to
Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users