AdvancedOutputMapping
in package
This class is basically a wrapper around the map() method of a the \FFMpeg\Media\AdvancedMedia class.
Table of Contents
Properties
- $forceDisableAudio : bool
- $forceDisableVideo : bool
- $format : FormatInterface
- $output : Media
- $outs : array<string|int, mixed>
Methods
- __construct() : mixed
- apply() : void
- Applies the attributes to the format and specifies the video bitrate if it's missing.
- getFormat() : FormatInterface
- getOutputMedia() : Media
- hasOut() : bool
Properties
$forceDisableAudio
private
bool
$forceDisableAudio
$forceDisableVideo
private
bool
$forceDisableVideo
$format
private
FormatInterface
$format
$output
private
Media
$output
$outs
private
array<string|int, mixed>
$outs
Methods
__construct()
public
__construct(array<string|int, mixed> $outs, FormatInterface $format, Media $output[, bool $forceDisableAudio = false ][, bool $forceDisableVideo = false ]) : mixed
Parameters
- $outs : array<string|int, mixed>
- $format : FormatInterface
- $output : Media
- $forceDisableAudio : bool = false
- $forceDisableVideo : bool = false
apply()
Applies the attributes to the format and specifies the video bitrate if it's missing.
public
apply(AdvancedMedia $advancedMedia) : void
Parameters
- $advancedMedia : AdvancedMedia
getFormat()
public
getFormat() : FormatInterface
Return values
FormatInterfacegetOutputMedia()
public
getOutputMedia() : Media
Return values
MediahasOut()
public
hasOut(string $out) : bool
Parameters
- $out : string