PHP Interface Sulu\Bundle\MediaBundle\Media\Video\VideoThumbnailServiceInterface

Mostrar archivo Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
batchGenerate ( string $video, array $times, string $destinationPath ) : array | boolean Generates images from video frames at given times.
generate ( string $file, string $time, string $destination ) : boolean Generates an image from a video frame at given time.

Method Details

batchGenerate() public method

Generates images from video frames at given times.
public batchGenerate ( string $video, array $times, string $destinationPath ) : array | boolean
$video string
$times array
$destinationPath string
return array | boolean

generate() public method

Generates an image from a video frame at given time.
public generate ( string $file, string $time, string $destination ) : boolean
$file string
$time string
$destination string
return boolean