2012-04-13 10:20:54 +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 10:20:54 +02:00
|
|
|
namespace FFMpeg\Format;
|
|
|
|
|
|
2012-10-31 00:53:26 +01:00
|
|
|
interface VideoInterface extends AudioInterface
|
2012-04-13 10:20:54 +02:00
|
|
|
{
|
2013-06-25 10:03:20 +02:00
|
|
|
/**
|
|
|
|
|
* Get the kiloBitrate value
|
|
|
|
|
*
|
|
|
|
|
* @return integer
|
|
|
|
|
*/
|
|
|
|
|
public function getKiloBitrate();
|
|
|
|
|
|
2012-10-31 00:30:24 +01:00
|
|
|
/**
|
|
|
|
|
* Returns the number of passes
|
|
|
|
|
*
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
public function getPasses();
|
2013-06-25 10:03:20 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns the modulus used by the Resizable video.
|
|
|
|
|
*
|
|
|
|
|
* This used to calculate the target dimensions while maintaining the best
|
|
|
|
|
* aspect ratio.
|
|
|
|
|
*
|
|
|
|
|
* @see http://www.undeadborn.net/tools/rescalculator.php
|
|
|
|
|
*
|
|
|
|
|
* @return integer
|
|
|
|
|
*/
|
|
|
|
|
public function getModulus();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns the video codec
|
|
|
|
|
*
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
public function getVideoCodec();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns true if the current format supports B-Frames
|
|
|
|
|
*
|
|
|
|
|
* @see https://wikipedia.org/wiki/Video_compression_picture_types
|
|
|
|
|
*
|
|
|
|
|
* @return Boolean
|
|
|
|
|
*/
|
|
|
|
|
public function supportBFrames();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns the list of available video codecs for this format
|
|
|
|
|
*
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
|
|
|
|
public function getAvailableVideoCodecs();
|
2012-05-25 15:44:43 +02:00
|
|
|
}
|