You are here

public function PHPVideoToolkit::unique in Video 7

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

* Generates a unique id. Primarily used in jpeg to movie production * * @access public *

Parameters

string $prefix: * @return string

4 calls to PHPVideoToolkit::unique()
PHPVideoToolkit::execute in libraries/phpvideotoolkit/phpvideotoolkit.php5.php
* Commits all the commands and executes the ffmpeg procedure. This will also attempt to validate any outputted files in order to provide * some level of stop and check system. * * @access public *
PHPVideoToolkit::prepareImagesForConversionToVideo in libraries/phpvideotoolkit/phpvideotoolkit.php5.php
* Compiles an array of images into a video. This sets the input file (setInputFile) so you do not need to set it. * The images should be a full absolute path to the actual image file. * NOTE 1; This copies and renames all the supplied images…
PHPVideoToolkit::setOutput in libraries/phpvideotoolkit/phpvideotoolkit.php5.php
* Sets the output. * * @access public *
PHPVideoToolkit::_joinInput in libraries/phpvideotoolkit/phpvideotoolkit.php5.php
* This is a protected function that joins multiple input sources into one source before * the final processing takes place. All videos are temporarily converted into mpg for * joining. * * PLEASE NOTE. This process is experimental an…

File

libraries/phpvideotoolkit/phpvideotoolkit.php5.php, line 3945

Class

PHPVideoToolkit

Code

public function unique($prefix = '') {
  return uniqid($prefix . time() . '-');
}