hello, i'm writing a little dvd to divx perl script using mencoder and a 3 pass method. i want to allow auto cropdetection and cropping. to find the crop parameters, you gotta run mplayer and watch the output for the crop parameters. well, i suppose in perl i can capture mplayer's output with the backtick operators and search for the crop parameters, but the problem with that is its going to take forever for the movie to finish (or even one chapter to finish). i want to be able to parse the output of mplayer as its running and as soon as i parse the crop parameters, i want to kill the process. how do i do that? i mean how can i do it easily? without starting a seperate thread or something...=P
thanks for the help, christopher -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]