FFProbe
extends FFProbe
in package
Table of Contents
Properties
Methods
- format() : Format
- Probes the format of a given file.
- make() : self
- Create a new instance of this class with the instance of the underlying library.
- setMedia() : self
- streams() : StreamCollection
- Probes the streams contained in a given file.
- probeStreams() : mixed
- This is just copy-paste from FFMpeg\FFProbe... It prepends the command with the input options.
- shouldUseCustomProbe() : bool
Properties
$media
protected
Media|MediaOnNetwork
$media
Methods
format()
Probes the format of a given file.
public
format(string $pathfile) : Format
Parameters
- $pathfile : string
Tags
Return values
Format —A Format object
make()
Create a new instance of this class with the instance of the underlying library.
public
static make([FFProbe|null $probe = null ]) : self
Parameters
- $probe : FFProbe|null = null
Return values
selfsetMedia()
public
setMedia(mixed $media) : self
Parameters
- $media : mixed
Return values
selfstreams()
Probes the streams contained in a given file.
public
streams(string $pathfile) : StreamCollection
Parameters
- $pathfile : string
Tags
Return values
StreamCollectionprobeStreams()
This is just copy-paste from FFMpeg\FFProbe... It prepends the command with the input options.
private
probeStreams(mixed $pathfile, mixed $command, mixed $type[, mixed $allowJson = true ]) : mixed
Parameters
- $pathfile : mixed
- $command : mixed
- $type : mixed
- $allowJson : mixed = true
shouldUseCustomProbe()
private
shouldUseCustomProbe(mixed $pathfile) : bool
Parameters
- $pathfile : mixed