class WebM extends DefaultVideo
The WebM video format
Constants
| RESIZEMODE_FIT |
|
| RESIZEMODE_INSET |
|
Methods
| integer |
getWidth()
Returns the width setting. |
from DefaultVideo |
| integer |
getHeight()
Returns the height setting The return of this method should not depend on a media file size |
from DefaultVideo |
|
setDimensions(integer $width, integer $height)
Set the dimensions |
from DefaultVideo | |
| array |
getComputedDimensions(integer $originalWidth, integer $originalHeight)
{@inheritdoc) |
from DefaultVideo |
|
setResizeMode(string $mode)
Set the resize mode |
from DefaultVideo | |
| string |
getResizeMode()
Get the current resize mode name |
from DefaultVideo |
| integer |
getFrameRate()
Returns the frame rate |
from DefaultVideo |
|
setFrameRate(integer $frameRate)
Set the framerate |
from DefaultVideo | |
|
getVideoCodec()
{@inheritdoc} |
from DefaultVideo | |
|
setVideoCodec(string $videoCodec)
Set the video codec, Should be in the available ones, otherwise an exception is thrown |
from DefaultVideo | |
|
getGOPsize()
{@inheritdoc} |
from DefaultVideo | |
|
setGOPsize(integer $GOPsize)
Set the GOP size |
from DefaultVideo | |
|
getExtraParams()
{@inheritDoc} |
||
|
getAvailableAudioCodecs()
{@inheritDoc} |
||
|
getAvailableVideoCodecs()
{@inheritDoc} |
Details
in DefaultVideo at line 38
public integer
getWidth()
Returns the width setting.
The return of this method should not depend on a media file size
in DefaultVideo at line 46
public integer
getHeight()
Returns the height setting The return of this method should not depend on a media file size
in DefaultVideo at line 58
public
setDimensions(integer $width, integer $height)
Set the dimensions
in DefaultVideo at line 76
public array
getComputedDimensions(integer $originalWidth, integer $originalHeight)
{@inheritdoc)
in DefaultVideo at line 108
public
setResizeMode(string $mode)
Set the resize mode
in DefaultVideo at line 126
public string
getResizeMode()
Get the current resize mode name
in DefaultVideo at line 134
public integer
getFrameRate()
Returns the frame rate
in DefaultVideo at line 146
public
setFrameRate(integer $frameRate)
Set the framerate
in DefaultVideo at line 160
public
getVideoCodec()
{@inheritdoc}
in DefaultVideo at line 172
public
setVideoCodec(string $videoCodec)
Set the video codec, Should be in the available ones, otherwise an exception is thrown
in DefaultVideo at line 189
public
getGOPsize()
{@inheritdoc}
in DefaultVideo at line 201
public
setGOPsize(integer $GOPsize)
Set the GOP size
at line 27
public
getExtraParams()
{@inheritDoc}
at line 35
public
getAvailableAudioCodecs()
{@inheritDoc}
at line 43
public
getAvailableVideoCodecs()
{@inheritDoc}