PHP Class Pimcore\Video\Adapter\Ffmpeg

Inheritance: extends Pimcore\Video\Adapter
Afficher le fichier Open project: pimcore/pimcore Class Usage Examples

Méthodes publiques

Свойство Type Description
$file string

Protected Properties

Свойство Type Description
$arguments string
$processId string

Méthodes publiques

Méthode Description
addArgument ( $key, $value )
deleteConversionLogFile ( )
destroy ( )
getDuration ( ) : integer
getFfmpegCli ( ) : mixed
getProcessId ( ) : string
isAvailable ( ) : boolean
load ( $file )
resize ( $width, $height )
save ( ) : mixed | void
saveImage ( $file, null $timeOffset = null )
scaleByHeight ( $height )
scaleByWidth ( $width )
setAudioBitrate ( $audioBitrate )
setProcessId ( $processId )
setVideoBitrate ( $videoBitrate )

Méthodes protégées

Méthode Description
extractDuration ( $output ) : integer
getConversionLogFile ( ) : string

Method Details

addArgument() public méthode

public addArgument ( $key, $value )
$key
$value

deleteConversionLogFile() public méthode

destroy() public méthode

public destroy ( )

extractDuration() protected méthode

protected extractDuration ( $output ) : integer
$output
Résultat integer

getConversionLogFile() protected méthode

protected getConversionLogFile ( ) : string
Résultat string

getDuration() public méthode

public getDuration ( ) : integer
Résultat integer

getFfmpegCli() public static méthode

public static getFfmpegCli ( ) : mixed
Résultat mixed

getProcessId() public méthode

public getProcessId ( ) : string
Résultat string

isAvailable() public méthode

public isAvailable ( ) : boolean
Résultat boolean

load() public méthode

public load ( $file )
$file

resize() public méthode

public resize ( $width, $height )
$width
$height

save() public méthode

public save ( ) : mixed | void
Résultat mixed | void

saveImage() public méthode

public saveImage ( $file, null $timeOffset = null )
$timeOffset null

scaleByHeight() public méthode

public scaleByHeight ( $height )
$height

scaleByWidth() public méthode

public scaleByWidth ( $width )
$width

setAudioBitrate() public méthode

public setAudioBitrate ( $audioBitrate )
$audioBitrate

setProcessId() public méthode

public setProcessId ( $processId )
$processId

setVideoBitrate() public méthode

public setVideoBitrate ( $videoBitrate )
$videoBitrate

Property Details

$arguments protected_oe property

protected string $arguments
Résultat string

$file public_oe property

public string $file
Résultat string

$processId protected_oe property

protected string $processId
Résultat string