PHP 클래스 FFMpeg\Format\ProgressListener\AbstractProgressListener

저자: Robert Gruendler ([email protected])
상속: extends Evenement\EventEmitter, implements Alchemy\BinaryDriver\Listeners\ListenerInterface
파일 보기 프로젝트 열기: php-ffmpeg/php-ffmpeg

공개 메소드들

메소드 설명
__construct ( FFMpeg\FFProbe $ffprobe, string $pathfile, integer $currentPass, integer $totalPass )
forwardedEvents ( )
getCurrentPass ( ) : integer
getCurrentTime ( ) : integer
getFFProbe ( ) : FFMpeg\FFProbe
getPathfile ( ) : string
getTotalPass ( ) : integer
handle ( $type, $data )

보호된 메소드들

메소드 설명
getPattern ( ) Get the regex pattern to match a ffmpeg stderr status line

비공개 메소드들

메소드 설명
convertDuration ( string $rawDuration ) : number
getProgressInfo ( ) : array
initialize ( )
parseProgress ( string $progress ) : array

메소드 상세

__construct() 공개 메소드

public __construct ( FFMpeg\FFProbe $ffprobe, string $pathfile, integer $currentPass, integer $totalPass )
$ffprobe FFMpeg\FFProbe
$pathfile string
$currentPass integer The cureent pass number
$totalPass integer The total number of passes

forwardedEvents() 공개 메소드

public forwardedEvents ( )

getCurrentPass() 공개 메소드

public getCurrentPass ( ) : integer
리턴 integer

getCurrentTime() 공개 메소드

public getCurrentTime ( ) : integer
리턴 integer

getFFProbe() 공개 메소드

public getFFProbe ( ) : FFMpeg\FFProbe
리턴 FFMpeg\FFProbe

getPathfile() 공개 메소드

public getPathfile ( ) : string
리턴 string

getPattern() 추상적인 보호된 메소드

Get the regex pattern to match a ffmpeg stderr status line
abstract protected getPattern ( )

getTotalPass() 공개 메소드

public getTotalPass ( ) : integer
리턴 integer

handle() 공개 메소드

public handle ( $type, $data )