Hi all,


I got my freevo package working except for recording. When the recordserver
starts mencoder for recording, it will be killed immediately and the
recordserver-0.log file shows the following:



2004/03/24 07:38 CET [-] Log opened.

2004/03/24 07:38 CET [-] ACTIVATING GENERIC RECORD PLUGIN

2004/03/24 07:38 CET [-] Record_Thread::run: mode=idle

2004/03/24 07:38 CET [-] top of the minute in 1 seconds

..

2004/03/24 21:00 CET [*RecordServer*] in checkToRecord

2004/03/24 21:00 CET [*RecordServer*] GET: reading cached file
(/var/cache/freevo/record_schedule.xml)

2004/03/24 21:00 CET [*RecordServer*] Got ScheduledRecordings (version 2).

2004/03/24 21:00 CET [*RecordServer*] ScheduledRecordings has 1 items.

2004/03/24 21:00 CET [*RecordServer*] checkToRecord: progloop = 2004-03-24
21:00 to 2004-03-24 21:45  zdf.de ZDF.reporter

2004/03/24 21:00 CET [*RecordServer*] going to record: 2004-03-24 21:00 to
2004-03-24 21:45  zdf.de ZDF.reporter

2004/03/24 21:00 CET [*RecordServer*] SAVE: saving cached file
(/var/cache/freevo/record_schedule.xml)

2004/03/24 21:00 CET [*RecordServer*] SAVE: ScheduledRecordings has 1 items.

2004/03/24 21:00 CET [*RecordServer*] Recorder::Record: /usr/bin/mencoder
-tv
driver=v4l:input=0:norm=PAL:channel=E8:chanlist=europe-west:width=768:height=
76:outfmt=yuy2:audiorate=44100:buffersize=64 tv:// -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame -lameopts
br=128:cbr:mode=3 -endpos 2682 -o /media/movies/03-24_21:00_ZDF_reporter_-_
avi 

2004/03/24 21:00 CET [*RecordServer*] Record_Thread::run: mode=record

2004/03/24 21:00 CET [*RecordServer*] Record_Thread::run:
cmd=/usr/bin/mencoder -tv
driver=v4l:input=0:norm=PAL:channel=E8:chanlist=europe-west:width=768:height=
76:outfmt=yuy2:audiorate=44100:buffersize=64 tv:// -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame -lameopts
br=128:cbr:mode=3 -endpos 2682 -o /media/movies/03-24_21:00_ZDF_reporter_-_
avi 

2004/03/24 21:00 CET [*RecordServer*] Record logging to 
/tmp/freevo/recorder_stdout.log" and "/tmp/freevo/recorder_stderr.log"

2004/03/24 21:00 CET [*RecordServer*]   File 
/usr/local/freevo/runtime/lib/python2.3/threading.py", line 436, in
__bootstrap

2004/03/24 21:00 CET [*RecordServer*]     self.run()

2004/03/24 21:00 CET [*RecordServer*]   File 
/usr/local/freevo/src/tv/plugins/generic_record.py", line 177, in run

2004/03/24 21:00 CET [*RecordServer*]     self.app = RecordApp(self.command)

2004/03/24 21:00 CET [*RecordServer*]   File 
/usr/local/freevo/src/tv/plugins/generic_record.py", line 136, in __init__

2004/03/24 21:00 CET [*RecordServer*]     childapp.ChildApp.__init__(self,
app)

2004/03/24 21:00 CET [*RecordServer*]   File "/usr/local/freevo/src/childapp
py", line 130, in __init__

2004/03/24 21:00 CET [*RecordServer*]     traceback.print_stack()

2004/03/24 21:00 CET [*RecordServer*] RECORDSERVER GOT EVENT NOTICE

2004/03/24 21:00 CET [*RecordServer*] RECORDSERVER HANDLING EVENT

2004/03/24 21:00 CET [*RecordServer*] popen ./runtime/runapp
/usr/bin/mencoder -tv
driver=v4l:input=0:norm=PAL:channel=E8:chanlist=europe-west:width=768:height=
76:outfmt=yuy2:audiorate=44100:buffersize=64 tv:// -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame -lameopts
br=128:cbr:mode=3 -endpos 2682 -o /media/movies/03-24_21:00_ZDF_reporter_-_
avi 

2004/03/24 21:00 CET [*RecordServer*] childapp.py (342): stdout: No data,
stopping (pid 7401)!

2004/03/24 21:00 CET [*RecordServer*]  self.t1.isAlive()=True, self.t2
isAlive()=True

2004/03/24 21:00 CET [*RecordServer*] childapp.py (342): stderr: No data,
stopping (pid 7402)!

2004/03/24 21:00 CET [*RecordServer*] ChildApp.__init__(), pid=7400, app=
/runtime/runapp /usr/bin/mencoder -tv
driver=v4l:input=0:norm=PAL:channel=E8:chanlist=europe-west:width=768:height=
76:outfmt=yuy2:audiorate=44100:buffersize=64 tv:// -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame -lameopts
br=128:cbr:mode=3 -endpos 2682 -o /media/movies/03-24_21:00_ZDF_reporter_-_
avi , poll=-1

2004/03/24 21:00 CET [*RecordServer*] Record_Thread::run: past wait()!!

2004/03/24 21:00 CET [*RecordServer*] RECORDSERVER GOT EVENT NOTICE

2004/03/24 21:00 CET [*RecordServer*] childapp.py (232): killing my child

2004/03/24 21:00 CET [*RecordServer*]   File 
/usr/local/freevo/runtime/lib/python2.3/threading.py", line 436, in
__bootstrap

2004/03/24 21:00 CET [*RecordServer*]     self.run()

2004/03/24 21:00 CET [*RecordServer*]   File 
/usr/local/freevo/src/tv/plugins/generic_record.py", line 186, in run

2004/03/24 21:00 CET [*RecordServer*]     self.app.kill()

2004/03/24 21:00 CET [*RecordServer*]   File 
/usr/local/freevo/src/tv/plugins/generic_record.py", line 140, in kill

2004/03/24 21:00 CET [*RecordServer*]     childapp.ChildApp.kill(self,
signal.SIGINT)

2004/03/24 21:00 CET [*RecordServer*]   File "/usr/local/freevo/src/childapp
py", line 233, in kill

2004/03/24 21:00 CET [*RecordServer*]     traceback.print_stack()

2004/03/24 21:00 CET [*RecordServer*] RECORDSERVER GOT EVENT NOTICE

2004/03/24 21:00 CET [*RecordServer*] childapp.py (247): done the easy way

2004/03/24 21:00 CET [*RecordServer*] Record_Thread::run: mode=idle

2004/03/24 21:00 CET [*RecordServer*] RECORDSERVER HANDLING EVENT

2004/03/24 21:00 CET [*RecordServer*] killing pid 7400 with sig 15

2004/03/24 21:00 CET [*RecordServer*] recorderver: After wait()

2004/03/24 21:00 CET [*RecordServer*] RECORDSERVER HANDLING EVENT

2004/03/24 21:00 CET [*RecordServer*] waiting on pid 7400

2004/03/24 21:01 CET [*RecordServer*] in checkToRecord

2004/03/24 21:01 CET [*RecordServer*] GET: reading cached file
(/var/cache/freevo/record_schedule.xml)

2004/03/24 21:01 CET [*RecordServer*] Got ScheduledRecordings (version 2).

2004/03/24 21:01 CET [*RecordServer*] ScheduledRecordings has 1 items.

2004/03/24 21:01 CET [*RecordServer*] checkToRecord: progloop = 2004-03-24
21:00 to 2004-03-24 21:45  zdf.de ZDF.reporter 

 

Launching mencoder with the same arguments manually works fine.

I think the problem lies around the lines 

"2004/03/24 21:00 CET [*RecordServer*] childapp.py (342): stdout: No data,
stopping (pid 7401)!" 

and 

"2004/03/24 21:00 CET [*RecordServer*] childapp.py (342): stderr: No data,
stopping (pid 7402)!".

But what do they mean? What can I do?



Kind regards,

Stephan



 

 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to