PHP FFMpeg API
Class

FFMpeg\FFProbe

class FFProbe extends Binary

FFProbe driver

Methods

__construct(type $binary, Logger $logger)

Binary constructor

from Binary
__destruct()

Destructor

from Binary
static Binary load(Logger $logger)

Loads the adapter

from Binary
string probeFormat(string $pathfile)

Probe the format of a given file

string probeStreams(string $pathfile)

Probe the streams contained in a given file

Details

in Binary at line 39
public __construct(type $binary, Logger $logger)

Binary constructor

Parameters

type $binary The path file to the binary
Logger $logger A logger

in Binary at line 48
public __destruct()

Destructor

in Binary at line 61
static public Binary load(Logger $logger)

Loads the adapter

Parameters

Logger $logger A logger

Return Value

Binary The binary

at line 34
public string probeFormat(string $pathfile)

Probe the format of a given file

Parameters

string $pathfile

Return Value

string

Exceptions

InvalidArgumentException
RuntimeException

at line 53
public string probeStreams(string $pathfile)

Probe the streams contained in a given file

Parameters

string $pathfile

Return Value

string

Exceptions

InvalidArgumentException
RuntimeException