PHP-FFMpeg API
Interface

FFMpeg\FFProbe\MapperInterface

interface MapperInterface

Methods

Format|Stream map(string $type, string $data)

Maps data given its type.

Details

at line 26
public Format|Stream map(string $type, string $data)

Maps data given its type.

Parameters

string $type One of FFProbe::TYPE_* constant
string $data The data

Return Value

Format|Stream

Exceptions

InvalidArgumentException In case the type is not supported