Support for Wav and Aac audio encoding

This commit is contained in:
MrHash 2014-04-21 14:09:32 +01:00
commit 5211e58dc9
4 changed files with 88 additions and 0 deletions

View file

@ -0,0 +1,31 @@
<?php
/*
* This file is part of PHP-FFmpeg.
*
* (c) Alchemy <info@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FFMpeg\Format\Audio;
/**
* The AAC audio format
*/
class Aac extends DefaultAudio
{
public function __construct()
{
$this->audioCodec = 'libfdk_aac';
}
/**
* {@inheritDoc}
*/
public function getAvailableAudioCodecs()
{
return array('libfdk_aac');
}
}