If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

/**
* Add an input video to the current processing chain
*
*@param string $path 'Path to the video input file'
* @return boolean 'Returns false if the video could not be located, or true if added'
*/

public function addInputFile($path) {
if ((file_exists($path)) &&
(!is_dir($path))) {
//get the basename of the file and use that as the key
$this->_inputVideos[basename($path)]['path'] = $path;
$this->_getFileInfo($path);
return true;
}
return false;
}