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 (
'cmd' = $cmd,
'output' = $output,
@lists.php.net
Subject: [PHP] can't get output of exec ('nice -n 19 ffmpeg -i file')
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
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
6 matches
Mail list logo