Add doc blocks
This commit is contained in:
parent
f89b820d78
commit
53efcb255f
5 changed files with 60 additions and 8 deletions
|
|
@ -13,23 +13,37 @@ namespace FFMpeg\Format\Video;
|
|||
|
||||
use FFMpeg\Format\DefaultVideoFormat;
|
||||
|
||||
/**
|
||||
* The WebM video format
|
||||
*
|
||||
* @author Romain Neutron imprec@gmail.com
|
||||
*/
|
||||
class WebM extends DefaultVideoFormat
|
||||
{
|
||||
|
||||
protected $audioCodec = 'libvorbis';
|
||||
protected $videoCodec = 'libvpx';
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getExtraParams()
|
||||
{
|
||||
return '-f webm';
|
||||
}
|
||||
|
||||
protected function getAvailableAudioCodecs()
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getAvailableAudioCodecs()
|
||||
{
|
||||
return array('libvorbis');
|
||||
}
|
||||
|
||||
protected function getAvailableVideoCodecs()
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getAvailableVideoCodecs()
|
||||
{
|
||||
return array('libvpx');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue