Documentation

FFProbeProvider extends AbstractProvider
in package

FFProbeProvider ffprobe provider implementation.

Table of Contents

$binary  : string
Binary that returns info about movie file
$EX_CODE_FILE_NOT_FOUND  : mixed
$EX_CODE_NO_FFPROBE  : mixed
$movieFile  : string
Movie File path
$persistent  : bool
Persistent functionality on/off
$persistentBuffer  : mixed
__construct()  : mixed
Constructor
__serialize()  : mixed
__unserialize()  : mixed
getOutput()  : string
Getting parsable output from ffprobe binary.
setMovieFile()  : mixed
Setting movie file path

Properties

$binary

Binary that returns info about movie file

protected string $binary

$EX_CODE_FILE_NOT_FOUND

protected static mixed $EX_CODE_FILE_NOT_FOUND = 334561

$EX_CODE_NO_FFPROBE

protected static mixed $EX_CODE_NO_FFPROBE = 334563

Methods

__construct()

Constructor

public __construct([string $ffprobeBinary = 'ffprobe' ][, bool $persistent = false ]) : mixed
Parameters
$ffprobeBinary : string = 'ffprobe'

path to ffprobe executable.

$persistent : bool = false

persistent functionality on/off.

Return values
mixed

__unserialize()

public __unserialize(mixed $serialized) : mixed
Parameters
$serialized : mixed
Return values
mixed

getOutput()

Getting parsable output from ffprobe binary.

public getOutput() : string
Return values
string

setMovieFile()

Setting movie file path

public setMovieFile(string $movieFile) : mixed
Parameters
$movieFile : string
Return values
mixed

Search results