updated ffmpeg class
This commit is contained in:
parent
0ec3baaf42
commit
5126b39625
1 changed files with 9 additions and 1 deletions
|
@ -376,9 +376,17 @@ class FFMpeg{
|
|||
//logData($duration);
|
||||
$tmpDir = TEMP_DIR.'/'.getName($input_file);
|
||||
//logData($input_file);
|
||||
//logData("Thumbs");
|
||||
/*
|
||||
The format of $this->options["outputPath"] should be like this
|
||||
year/month/day/
|
||||
the trailing slash is important in creating directories for thumbs
|
||||
*/
|
||||
if(substr($this->options["outputPath"], strlen($this->options["outputPath"]) - 1) !== "/"){
|
||||
$this->options["outputPath"] .= "/";
|
||||
}
|
||||
mkdir($tmpDir,0777);
|
||||
|
||||
|
||||
$output_dir = THUMBS_DIR;
|
||||
$dimension = '';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue