PHP Class Sulu\Bundle\MediaBundle\Media\Video\VideoThumbnailService

Inheritance: implements Sulu\Bundle\MediaBundle\Media\Video\VideoThumbnailServiceInterface
Show file Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$ffmpeg FFMpeg\FFMpeg

Public Methods

Method Description
__construct ( FFMpeg\FFMpeg $ffmpeg )
batchGenerate ( $video, array $times, $destinationPath )
generate ( $file, $time, $destination )

Protected Methods

Method Description
normalizeFilename ( string $filename ) : string

Method Details

__construct() public method

public __construct ( FFMpeg\FFMpeg $ffmpeg )
$ffmpeg FFMpeg\FFMpeg

batchGenerate() public method

public batchGenerate ( $video, array $times, $destinationPath )
$times array

generate() public method

public generate ( $file, $time, $destination )

normalizeFilename() protected method

protected normalizeFilename ( string $filename ) : string
$filename string
return string

Property Details

$ffmpeg protected property

protected FFMpeg,FFMpeg $ffmpeg
return FFMpeg\FFMpeg