PHP Class Pimcore\Video\Adapter\Ffmpeg

Inheritance: extends Pimcore\Video\Adapter
ファイルを表示 Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$file string

Protected Properties

Property Type Description
$arguments string
$processId string

Public Methods

Method 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 )

Protected Methods

Method Description
extractDuration ( $output ) : integer
getConversionLogFile ( ) : string

Method Details

addArgument() public method

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

deleteConversionLogFile() public method

destroy() public method

public destroy ( )

extractDuration() protected method

protected extractDuration ( $output ) : integer
$output
return integer

getConversionLogFile() protected method

protected getConversionLogFile ( ) : string
return string

getDuration() public method

public getDuration ( ) : integer
return integer

getFfmpegCli() public static method

public static getFfmpegCli ( ) : mixed
return mixed

getProcessId() public method

public getProcessId ( ) : string
return string

isAvailable() public method

public isAvailable ( ) : boolean
return boolean

load() public method

public load ( $file )
$file

resize() public method

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

save() public method

public save ( ) : mixed | void
return mixed | void

saveImage() public method

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

scaleByHeight() public method

public scaleByHeight ( $height )
$height

scaleByWidth() public method

public scaleByWidth ( $width )
$width

setAudioBitrate() public method

public setAudioBitrate ( $audioBitrate )
$audioBitrate

setProcessId() public method

public setProcessId ( $processId )
$processId

setVideoBitrate() public method

public setVideoBitrate ( $videoBitrate )
$videoBitrate

Property Details

$arguments protected_oe property

protected string $arguments
return string

$file public_oe property

public string $file
return string

$processId protected_oe property

protected string $processId
return string