Duncan Webb a écrit : > tomloh...@gmail.com wrote: > >> Jon Morris a écrit : >> >>> Hi, >>> >>> I just rebuilt my dedicated recording server and have one outstanding >>> problem I can’t seem to solve. I am using Ubuntu 8.10 and Freevo 1.8.3. >>> >>> When I schedule a show to record, it records great. I am mplayer to >>> output the raw dvb stream. Here is the ps output during the record: >>> >>> freevo 11625 9754 0 18:21 pts/0 00:00:00 /bin/sh -c /usr/bin/mplayer >>> -dumpstream -dumpfile >>> /sda1/Today/03-09_18_00_The_King_of_Queens_-_Acting_Out.ts "dvb://KSTW-DT" >>> >>> freevo 11626 11625 2 18:21 pts/0 00:00:00 /usr/bin/mplayer -dumpstream >>> -dumpfile /sda1/Today/03-09_18_00_The_King_of_Queens_-_Acting_Out.ts >>> dvb://KSTW-DT >>> >>> At the end of the scheduled time the primary process ends, but the >>> child doesn’t so the recording never stops: >>> >>> freevo 11626 1 1 18:21 pts/0 00:00:08 /usr/bin/mplayer -dumpstream >>> -dumpfile /sda1/Today/03-09_18_00_The_King_of_Queens_-_Acting_Out.ts >>> dvb://KSTW-DT >>> >>> I don’t think this is a permissions problem since the freevo users >>> (owner) can kill the pid without a problem: >>> >>> $ whoami >>> >>> freevo >>> >>> $ kill 11626 >>> >>> $ ps -ef | grep 11626 >>> >>> $ >>> >>> I didn’t see anything suspicious in the recordserver log file, but I >>> ‘m not sure what I am looking for and debug level has a lot of data to >>> go through. Can anyone help me out? >>> >>> Thanks, >>> >>> Jon >>> >>> >>> >> Same problem after a fresh install from source >> >> No error after adding this in my localconf.py : >> >> VCR_CMD = CONF.mplayer + ' -dumpstream -dumpfile %(filename)s >> "dvb://%(channel)s"' + '& sleep %(seconds)s ; kill -9 $!' >> > > This is a bit hard doesn't kill $! work? > > Yes, it's a bit hart, i will try with "kill $!" > There is an option to mplayer "-endpos %(seconds)s" that may work. > Unfortunately I don't have DVB so it is difficult for me to test. > > Isn't this option for mencoder only , ant not for a stream copy ? > I've quickly tested the generic_record module and can cancel a recording > and let one finish. > > What you can try is to start a recording and then try: > "pkill mplayer" - SIGTERM (15) > "pkill -2 mplayer" - SIGINT (2) Ctrl-C > "pkill -9 mplayer" - SIGKILL (9) Unconditional kill > > I have changed this sequence in svn childapp module from: > SIGINT, SIGTERM and SIGKILL > to: > SIGTERM, SIGINT and SIGKILL > > > Duncan > > Thomas
------------------------------------------------------------------------------ _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users