BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
EmbedVideo\FormatInfo Class Reference

Public Member Functions

 __construct ($info)
 
 getFilePath ()
 
 getDuration ()
 
 getBitRate ()
 

Constructor & Destructor Documentation

EmbedVideo\FormatInfo::__construct (   $info)

Main Constructor

public

Parameters
arrayFormat Info from FFProbe
Returns
void

Member Function Documentation

EmbedVideo\FormatInfo::getBitRate ( )

Bit rate in bPS.

public

Returns
mixed Bite rate in bPS or false if unavailable.
EmbedVideo\FormatInfo::getDuration ( )

Get the duration in seconds.

public

Returns
mixed Duration in seconds or false if unavailable.
EmbedVideo\FormatInfo::getFilePath ( )

Get the file path.

public

Returns
mixed File path or false if unavailable.

The documentation for this class was generated from the following file: