class WebM extends DefaultVideo
The WebM video format
Methods
integer |
getKiloBitrate()
Gets the kiloBitrate value. |
from DefaultVideo |
setKiloBitrate(integer $kiloBitrate)
Sets the kiloBitrate value. |
from DefaultVideo | |
string |
getVideoCodec()
Returns the video codec. |
from DefaultVideo |
setVideoCodec(string $videoCodec)
Sets the video codec, Should be in the available ones, otherwise an exception is thrown. |
from DefaultVideo | |
string |
getPasses()
Returns the number of passes. |
from DefaultVideo |
integer | getModulus() | from DefaultVideo |
array |
createProgressListener(MediaTypeInterface $media, FFProbe $ffprobe, Integer $pass, Integer $total)
Creates the progress listener. |
from DefaultVideo |
__construct($audioCodec = 'libvorbis', $videoCodec = 'libvpx') | ||
Boolean |
supportBFrames()
Returns true if the current format supports B-Frames. |
|
getExtraParams()
{@inheritDoc} |
||
getAvailableAudioCodecs()
{@inheritDoc} |
||
array |
getAvailableVideoCodecs()
Returns the list of available video codecs for this format. |
Details
in DefaultVideo at line 38
public integer
getKiloBitrate()
Gets the kiloBitrate value.
in DefaultVideo at line 49
public
setKiloBitrate(integer $kiloBitrate)
Sets the kiloBitrate value.
in DefaultVideo at line 63
public string
getVideoCodec()
Returns the video codec.
in DefaultVideo at line 75
public
setVideoCodec(string $videoCodec)
Sets the video codec, Should be in the available ones, otherwise an exception is thrown.
in DefaultVideo at line 92
public string
getPasses()
Returns the number of passes.
in DefaultVideo at line 100
public integer
getModulus()
in DefaultVideo at line 108
public array
createProgressListener(MediaTypeInterface $media, FFProbe $ffprobe, Integer $pass, Integer $total)
Creates the progress listener.
at line 19
public
__construct($audioCodec = 'libvorbis', $videoCodec = 'libvpx')
at line 29
public Boolean
supportBFrames()
Returns true if the current format supports B-Frames.
at line 37
public
getExtraParams()
{@inheritDoc}
at line 45
public
getAvailableAudioCodecs()
{@inheritDoc}
at line 53
public array
getAvailableVideoCodecs()
Returns the list of available video codecs for this format.