You are here

public function PHPVideoToolkit::getLastCommand in Video 7.2

Same name and namespace in other branches
  1. 7 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::getLastCommand()

Returns the last command that ffmpeg was given. (Note; if setFormatToFLV was used in the last command then an array is returned as a command was also sent to FLVTool2)

@access public

Return value

mixed array|string

1 call to PHPVideoToolkit::getLastCommand()
PHPVideoToolkit::_logResult in libraries/phpvideotoolkit/phpvideotoolkit.php5.php
Adds lines to the current log file.

File

libraries/phpvideotoolkit/phpvideotoolkit.php5.php, line 3446
Libary to access FFmpeg

Class

PHPVideoToolkit

Code

public function getLastCommand() {
  return isset($this->_processed[0]) === TRUE ? $this->_processed[0] : FALSE;
}