public function __construct() { parent::__construct(); // By default we need only one frame $this->addOutfileOption("-vframes 1"); // Force overwrite $this->addGlobalOption('y'); // Use image2 as default format $this->setFormat("image2"); }
public function __construct(ElggObject $video) { parent::__construct(); $this->setInputfile($video->getFilenameOnFilestore()); $this->fileinfo = $this->execute(); }
public function __construct() { $this->setOverwrite(); parent::__construct(); }