Add Audio and Video interfaces
This commit is contained in:
parent
aa681f66b1
commit
94775176c9
14 changed files with 294 additions and 222 deletions
|
|
@ -1,21 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace FFMpeg\Format;
|
||||
|
||||
class X264 extends DefaultFormat
|
||||
{
|
||||
|
||||
protected $audioCodec = 'libmp3lame';
|
||||
protected $videoCodec = 'libx264';
|
||||
|
||||
protected function getAvailableAudioCodecs()
|
||||
{
|
||||
return array('libvo_aacenc', 'libfaac', 'libmp3lame');
|
||||
}
|
||||
|
||||
protected function getAvailableVideoCodecs()
|
||||
{
|
||||
return array('libx264');
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue