abstract class DefaultVideo extends DefaultAudio implements VideoInterface
The abstract default Video format
Methods
array() |
getExtraParams()
Returns an array of extra parameters to add to ffmpeg commandline. |
from DefaultAudio |
string |
getAudioCodec()
Returns the audio codec. |
from DefaultAudio |
setAudioCodec(string $audioCodec)
Sets the audio codec, Should be in the available ones, otherwise an exception is thrown. |
from DefaultAudio | |
integer |
getAudioKiloBitrate()
Gets the audio kiloBitrate value. |
from DefaultAudio |
setAudioKiloBitrate(integer $kiloBitrate)
Sets the kiloBitrate value. |
from DefaultAudio | |
integer |
getAudioChannels()
Gets the audio channels value. |
from DefaultAudio |
setAudioChannels(integer $channels)
Sets the channels value. |
from DefaultAudio | |
array |
createProgressListener(MediaTypeInterface $media, FFProbe $ffprobe, Integer $pass, Integer $total)
Creates the progress listener. |
|
string |
getPasses()
Returns the number of passes. |
from DefaultAudio |
integer |
getKiloBitrate()
Gets the kiloBitrate value. |
|
setKiloBitrate(integer $kiloBitrate)
Sets the kiloBitrate value. |
||
string |
getVideoCodec()
Returns the video codec. |
|
setVideoCodec(string $videoCodec)
Sets the video codec, Should be in the available ones, otherwise an exception is thrown. |
||
integer |
getModulus()
|
Details
in DefaultAudio at line 36
public array()
getExtraParams()
Returns an array of extra parameters to add to ffmpeg commandline.
in DefaultAudio at line 44
public string
getAudioCodec()
Returns the audio codec.
in DefaultAudio at line 57
public
setAudioCodec(string $audioCodec)
Sets the audio codec, Should be in the available ones, otherwise an exception is thrown.
in DefaultAudio at line 74
public integer
getAudioKiloBitrate()
Gets the audio kiloBitrate value.
in DefaultAudio at line 85
public
setAudioKiloBitrate(integer $kiloBitrate)
Sets the kiloBitrate value.
in DefaultAudio at line 99
public integer
getAudioChannels()
Gets the audio channels value.
in DefaultAudio at line 110
public
setAudioChannels(integer $channels)
Sets the channels value.
at line 100
public array
createProgressListener(MediaTypeInterface $media, FFProbe $ffprobe, Integer $pass, Integer $total)
Creates the progress listener.
in DefaultAudio at line 138
public string
getPasses()
Returns the number of passes.
at line 38
public integer
getKiloBitrate()
Gets the kiloBitrate value.
at line 49
public
setKiloBitrate(integer $kiloBitrate)
Sets the kiloBitrate value.
at line 63
public string
getVideoCodec()
Returns the video codec.
at line 75
public
setVideoCodec(string $videoCodec)
Sets the video codec, Should be in the available ones, otherwise an exception is thrown.
at line 92
public integer
getModulus()