You are here

public function TranscoderFactoryInterface::extractFrames in Video 7.2

Extract frames from the current video.

The thumbnails are be saved to the given scheme. The files are not be saved to the database, this will be done by the caller. The uid, filesize and timestamp properties are not set by this method.

Parameters

$destinationScheme: A valid stream wrapper scheme

$format: png or jpg

Return value

array of file objects, FALSE on error

2 methods override TranscoderFactoryInterface::extractFrames()
TranscoderAbstractionFactoryFfmpeg::extractFrames in transcoders/TranscoderAbstractionFactoryFfmpeg.inc
Extract frames from the current video.
TranscoderAbstractionFactoryZencoder::extractFrames in transcoders/TranscoderAbstractionFactoryZencoder.inc
For new videos, this function is never called, because all thumbnails are extracted and saved to the databases during the post back handler in TranscoderAbstractionFactoryZencoder::processPostback().

File

includes/TranscoderFactory.inc, line 26
Transcoder Abstract Factory classes

Class

TranscoderFactoryInterface
Interface for transcoder classes

Code

public function extractFrames($destinationScheme, $format);