LegacyFilterMapping
in package
Table of Contents
Properties
- $arguments : array<string|int, mixed>
- $in : mixed
- $out : mixed
Methods
- __construct() : mixed
- apply() : void
- Applies the filter to the FFMpeg driver.
- normalizeIn() : int
- Removes all non-numeric characters from the 'in' attribute.
- singleMediaCollection() : MediaCollection
- Filters the given MediaCollection down to one item by guessing the key by the 'in' attribute.
Properties
$arguments
private
array<string|int, mixed>
$arguments
$in
private
mixed
$in
$out
private
mixed
$out
Methods
__construct()
public
__construct(mixed $in, mixed $out, mixed ...$arguments) : mixed
Parameters
- $in : mixed
- $out : mixed
- $arguments : mixed
apply()
Applies the filter to the FFMpeg driver.
public
apply(PHPFFMpeg $driver, Collection $maps) : void
Parameters
- $driver : PHPFFMpeg
- $maps : Collection
normalizeIn()
Removes all non-numeric characters from the 'in' attribute.
public
normalizeIn() : int
Return values
intsingleMediaCollection()
Filters the given MediaCollection down to one item by guessing the key by the 'in' attribute.
private
singleMediaCollection(MediaCollection $mediaCollection) : MediaCollection
Parameters
- $mediaCollection : MediaCollection