Pirlouwi wrote:

If I understand this correctly you have had several problems.
1) Initially nothing was being recorded, hence no image file
2) Now the MPlayer process is not being killed.

Are you using freevo-1.7.1 or the svn rel-1 version?

I ask because there is some odd code in the recordserver event handler
in the svn version which has been changed in r9596.

Would you be able to test this version and let me know if it is working

Duncan

> Ok, I am afraid I don't know what I have changed for it to work
> But it works now, I am able to schedule a record, and mplayer stays in
> memory dumping the .ts file on the hard disc.
> Just one little annoying thing:
> VCR_CMD variable contains the command which is launched by a /bin/sh shell.
> When the recording is cancelled or finished, on my setup, only the
> /bin/sh task is terminated, the mplayer task keeps recording data onto
> the disc.
> I has been forced to workaround this with this mod in
> helpers/recordserver.py:
> 
>     $ diff -Nru  helpers/recordserver.py.orig  helpers/recordserver.py
>     --- recordserver.py.orig      2007-05-21 16:40: 47.000000000 +0200
>     +++ recordserver.py           2007-05-24 22:04: 07.000000000 +0200
>     @@ -1558,6 +1558,8 @@
>                              if wpid == pid:
>                                  break
>                              time.sleep(0.1)
>     +                util.popen3.Popen3('killall mplayer')
>     +                print 'recordserver: killed all mplayer processes'
>                      print 'recorderver: After wait()'
>                                                                               
>      
> 
>                  elif event == RECORD_START:
> 
> Otherwise, the mplayer process was not killed. This workaround is ugly
> because it kills all mplayer processes without selecting the good one,
> but as I begin with Python language, it is all I was able to do for the
> moment.
> PS: I will post my local_config.py as soon as I have cleaned it and that
> my setup is more stable.
> Thx everyone for your help either!
> LOUIS
> 
> ---------- Forwarded message ----------
> From: Jonathan Isom < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> Date: 23 mai 2007 08:08
> Subject: Re: [Freevo-users] Cannot schedule a record
> To: freevo-users@lists.sourceforge.net
> <mailto:freevo-users@lists.sourceforge.net>
> 
> 
> could you post your local_conf.py and your
> ~/.mplayer/channels.conf.{sat,ter,cbl,atsc}  (based on your card type)
> also what version of twisted are you using
> 
> 
> On 5/23/07, Duncan Webb < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> wrote:
>> > It starts recording the stream in the mentioned file.
>>
>> How are you trying to record this program? It looks like the program you
>> wanted to record ran from 19:25 to 19:30 and it started and stopped at
>> 19:27.
>>
>> So how did you tell freevo to record the program, with a remote with the
>> keyboard and what did you press?
>>
>> Duncan
>>
>> PS
>> What does the MailScanner warning: numerical links are often malicious
>> mean? Somebody's mail scanner should check a bit harder for private IP
>> addresses.
>>
>> > 2007/5/21, John Molohan <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>:
>> >>
>> >>  Pirlouwi wrote:
>> >>
>> >> I just installed last version of KAA from svn, and I still did not
>> >> manage
>> >> to schedule a record.
>> >> Here is a log when I want to start recording of a pending
> broadcasting.
>> >> The recording should start immediately, but it is killed by the record
>> >> server.
>> >>
>> >> 2007/05/21 19:27 CEST [HTTPChannel,57,*MailScanner warning: numerical
>> >> links are often malicious:* 127.0.0.1 <http://127.0.0.1>
> <http://127.0.0.1>]
>> >> config.LOCALE=latin-1
>> >> 2007/05/21 19:27 CEST [HTTPChannel,57,*MailScanner warning: numerical
>> >> links are often malicious:* 127.0.0.1 <http://127.0.0.1>
> <http://127.0.0.1>] prog=lun
>> >> 2007-05-21 19:25->19:30 (19:25)  la%20deux D'art d'art
>> >> 2007/05/21 19:27 CEST [*RecordServer*] received event RECORD_START
>> >> 2007/05/21 19:27 CEST [*RecordServer*] popen  nice -n -10
>> >> /usr/local/bin/mplayer -dumpstream -dumpfile
>> >> "/home/croisez/records/05-21_19:25_D_art_d_art.ts" "dvb://LA DEUX"
>> >> 2007/05/21 19:27 CEST [*RecordServer*] received event RECORD_STOP
>> >> 2007/05/21 19:27 CEST [*RecordServer*] no imagefile found
>> >> 2007/05/21 19:27 CEST [*RecordServer*]
>> >>
> /var/cache/freevo/vfs/home/croisez/records/05-21_19:25_D_art_d_art.ts.raw.tmp
>> >>
>> >>
>> >> The idea of Duncan to upgrade kaa from svn on my machine was
> finally not
>> >> the solution to my problem.
>> >> What should I do? Write a bug ticket for freevo 1.x developpers?
>> >>
>> >> LOUIS
>> >>
>> >> Just jumping without having reread this thread but what happens
> when you
>> >> run /usr/local/bin/mplayer -dumpstream -dumpfile
>> >> "/home/croisez/records/05-21_19:25_D_art_d_art.ts" "dvb://LA DEUX" from
>> >> the
>> >> command line?


-------------------------------------------------------------------------
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
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to