ffmpeg-mappable-media/src/FFMpeg/Format/Video/X264.php
2012-05-30 12:22:22 +02:00

39 lines
733 B
PHP

<?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\Video;
/**
* The X264 video format
*
* @author Romain Neutron imprec@gmail.com
*/
class X264 extends DefaultVideo
{
protected $audioCodec = 'libmp3lame';
protected $videoCodec = 'libx264';
/**
* {@inheritDoc}
*/
public function getAvailableAudioCodecs()
{
return array('libvo_aacenc', 'libfaac', 'libmp3lame');
}
/**
* {@inheritDoc}
*/
public function getAvailableVideoCodecs()
{
return array('libx264');
}
}