2014-04-21 14:09:32 +01:00
|
|
|
<?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;
|
|
|
|
|
|
|
|
|
|
/**
|
2022-02-09 14:32:43 +01:00
|
|
|
* The AAC audio format.
|
2014-04-21 14:09:32 +01:00
|
|
|
*/
|
|
|
|
|
class Aac extends DefaultAudio
|
|
|
|
|
{
|
|
|
|
|
public function __construct()
|
|
|
|
|
{
|
|
|
|
|
$this->audioCodec = 'libfdk_aac';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* {@inheritDoc}
|
|
|
|
|
*/
|
|
|
|
|
public function getAvailableAudioCodecs()
|
|
|
|
|
{
|
2022-02-09 14:32:43 +01:00
|
|
|
return ['libfdk_aac'];
|
2014-04-21 14:09:32 +01:00
|
|
|
}
|
|
|
|
|
}
|