add debugging
This commit is contained in:
parent
c33b8a8780
commit
e45316dcd1
|
@ -1043,7 +1043,9 @@ function createVideo( $event, $format, $rate, $scale, $overwrite=false ) {
|
||||||
$command .= " -s ".sprintf( "%.2f", ($scale/SCALE_BASE) );
|
$command .= " -s ".sprintf( "%.2f", ($scale/SCALE_BASE) );
|
||||||
if ( $overwrite )
|
if ( $overwrite )
|
||||||
$command .= " -o";
|
$command .= " -o";
|
||||||
$result = exec( escapeshellcmd( $command ), $output, $status );
|
$command = escapeshellcmd( $command );
|
||||||
|
$result = exec( $command, $output, $status );
|
||||||
|
Debug("generating Video $command: result($result outptu:(".implode("\n", $output )." status($status");
|
||||||
return( $status?"":rtrim($result) );
|
return( $status?"":rtrim($result) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue