I think nice may play games with fork etc and may be confusing php.
Try putting the nice -n 19 ffmpeg -I bit into a mini shell script of its own,
and call that.
-Original Message-
From: Rene Veerman [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2008 1:54 PM
To:
On Mon, 2008-09-29 at 20:53 +0200, Rene Veerman wrote:
Hi, i have the following php statements;
I'm wondering why exec()'s $output remains empty..
Any help is greatly appreciated..
?php
$cmd = 'nice -n 19 ffmpeg -i '.$sourcePath.'';
exec ($cmd, $output, $result);
return array (
On Mon, Sep 29, 2008 at 2:53 PM, Rene Veerman [EMAIL PROTECTED] wrote:
Hi, i have the following php statements;
I'm wondering why exec()'s $output remains empty..
Any help is greatly appreciated..
?php
$cmd = 'nice -n 19 ffmpeg -i '.$sourcePath.'';
exec ($cmd, $output, $result);
bingo, this fixed it :)
thx (all) for answering so quickly :)
Daniel Brown wrote:
Try this instead, just to make sure everything's running as expected:
?php
$cmd = 'nice -n 19 ffmpeg -i '.$sourcePath.' 21';
exec($cmd,$ret,$err);
print_r($ret);
?
$ret (or whatever you name the
I have other ffmpeg statements that i execute in the same manner. They
do produce the desired result-files, but also do _not_ have $output set
to the text i see when i run the commands from the commandline..
I'd like to get output from all my executions of ffmpeg, its usefull for
detailing
5 matches
Mail list logo