class Mp3 extends DefaultAudio
The MP3 audio 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 | |
array |
createProgressListener(MediaTypeInterface $media, FFProbe $ffprobe, Integer $pass, Integer $total)
Creates the progress listener. |
from DefaultAudio |
__construct() | ||
array |
getAvailableAudioCodecs()
Returns the list of available audio codecs for this format. |
Details
in DefaultAudio at line 33
public array()
getExtraParams()
Returns an array of extra parameters to add to ffmpeg commandline.
in DefaultAudio at line 41
public string
getAudioCodec()
Returns the audio codec.
in DefaultAudio at line 54
public
setAudioCodec(string $audioCodec)
Sets the audio codec, Should be in the available ones, otherwise an exception is thrown.
in DefaultAudio at line 71
public integer
getAudioKiloBitrate()
Gets the audio kiloBitrate value.
in DefaultAudio at line 82
public
setAudioKiloBitrate(integer $kiloBitrate)
Sets the kiloBitrate value.
in DefaultAudio at line 96
public array
createProgressListener(MediaTypeInterface $media, FFProbe $ffprobe, Integer $pass, Integer $total)
Creates the progress listener.
at line 19
public
__construct()
at line 27
public array
getAvailableAudioCodecs()
Returns the list of available audio codecs for this format.