ffmpeg-mappable-media/src/FFMpeg/Format/AudioInterface.php

42 lines
852 B
PHP
Raw Normal View History

2012-04-13 12:45:41 +02:00
<?php
2012-04-13 14:34:53 +02:00
/*
* 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.
*/
2012-04-13 12:45:41 +02:00
namespace FFMpeg\Format;
2013-06-25 10:03:20 +02:00
interface AudioInterface extends FormatInterface
2012-04-13 12:45:41 +02:00
{
2012-05-25 16:21:16 +02:00
/**
2013-06-25 10:03:20 +02:00
* Get the audio kiloBitrate value
2012-05-25 16:22:16 +02:00
*
2012-05-25 16:21:16 +02:00
* @return integer
*/
2013-06-25 10:03:20 +02:00
public function getAudioKiloBitrate();
2012-05-31 16:16:35 +02:00
2012-05-30 15:06:53 +02:00
/**
2012-10-08 14:20:59 +02:00
* Return an array of extra parameters to add to ffmpeg commandline
2012-05-31 16:16:35 +02:00
*
2012-10-08 14:20:59 +02:00
* @return array()
2012-05-30 15:06:53 +02:00
*/
public function getExtraParams();
2012-04-13 12:45:41 +02:00
2013-06-25 10:03:20 +02:00
/**
* Returns the audio codec
*
* @return string
*/
public function getAudioCodec();
/**
* Returns the list of available audio codecs for this format
*
* @return array
*/
public function getAvailableAudioCodecs();
2012-05-25 15:44:43 +02:00
}