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

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

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

generate() public méthode

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
Résultat boolean