Initila Import
This commit is contained in:
commit
11345d6367
17 changed files with 773 additions and 0 deletions
26
src/FFMpeg/Format/WebM.php
Normal file
26
src/FFMpeg/Format/WebM.php
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?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