Add audio formats MP3 and Flac
This commit is contained in:
parent
94775176c9
commit
5b53381904
9 changed files with 123 additions and 5 deletions
17
src/FFMpeg/Format/Audio/Mp3.php
Normal file
17
src/FFMpeg/Format/Audio/Mp3.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
namespace FFMpeg\Format\Audio;
|
||||
|
||||
use FFMpeg\Format\DefaultAudioFormat;
|
||||
|
||||
class Mp3 extends DefaultAudioFormat
|
||||
{
|
||||
|
||||
protected $audioCodec = 'libmp3lame';
|
||||
|
||||
protected function getAvailableAudioCodecs()
|
||||
{
|
||||
return array('libmp3lame');
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue