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