PHP-FFMpeg API
Class

FFMpeg\Format\ProgressListener\AbstractProgressListener

abstract class AbstractProgressListener extends EventEmitter implements ListenerInterface

Methods

__construct(FFProbe $ffprobe, string $pathfile, integer $currentPass, integer $totalPass)

FFProbe getFFProbe()

string getPathfile()

integer getCurrentPass()

integer getTotalPass()

handle($type, $data)

{@inheritdoc}

forwardedEvents()

{@inheritdoc}

Details

at line 83
public __construct(FFProbe $ffprobe, string $pathfile, integer $currentPass, integer $totalPass)

Parameters

FFProbe $ffprobe
string $pathfile
integer $currentPass The cureent pass number
integer $totalPass The total number of passes

Exceptions

RuntimeException

at line 94
public FFProbe getFFProbe()

Return Value

FFProbe

at line 102
public string getPathfile()

Return Value

string

at line 110
public integer getCurrentPass()

Return Value

integer

at line 118
public integer getTotalPass()

Return Value

integer

at line 126
public handle($type, $data)

{@inheritdoc}

Parameters

$type
$data

at line 136
public forwardedEvents()

{@inheritdoc}