Documentation

FFMpegProvider extends AbstractProvider
in package

FFmpegOutputProvider ffmpeg provider implementation.

Table of Contents

$binary  : string
Binary that returns info about movie file
$EX_CODE_FILE_NOT_FOUND  : mixed
$EX_CODE_NO_FFMPEG  : 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 ffmpeg 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_FFMPEG

protected static mixed $EX_CODE_NO_FFMPEG = 334560

Methods

__construct()

Constructor

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

Path to ffmpeg 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 ffmpeg 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