[Openpvr-devel] Perl "record" script: mp1e doesn't stop??
Brought to you by:
brian_j_murrell,
jfunk
From: Alan M. <si...@ya...> - 2002-07-08 05:40:05
|
Hello, I am playing with mp1e using the Perl "record" script (running it manually for now; will play with doing scheduled recordings when I'm happy with the output), and when I specify a --end time, it doesn't stop when that time rolls around around; I have to kill the process to stop it. I have tried specifying the --end option in both 24hr time format (yes, my system time is correct) and in seconds. Here is the mp1e command it is running after I put 'record --channel 45 --end <time/sec> test_file': --- output --- v4lctl setchannel "45"; v4lctl bright 40000; v4lctl contrast 30000; v4lctl hue 32768; v4lctl color 37500; mp1e -vv -n 36503 -s 640x480 -b 5000 -f 29.97 -a 0 -B 128 -p /dev/dsp -S 32 -x /dont/set/mixer> "/pvr/Video/recorded/test_file.mpeg" 2>"/pvr/Video/recorded/test_file.output" --- output --- When I look at the coding, there doesn't seem to be anything in the options for mp1e which specifies an end time. Is it because I'm running it manually (i.e., if I were to do cut and paste the output from the schedule program into my console to put a schedule into 'at', would it start and stop properly? One other thing: at first, everytime I tried running the 'record' script manually with mp1e, it would immediately exit (bringing me back to the command line). It *looked* like it was trying to find mp1e in /tmp (i.e., /tmp/mp1e), so I commented the '/tmp' part out, and seems to have worked quite nicely (presumably, anyway; I still have to wait to see what the test output files look like). TIA, ===== -- Alan Murrell <si...@ya...> ______________________________________________________________________ Post your ad for free now! http://personals.yahoo.ca |