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

65 lines
1.4 KiB
PHP
Raw Normal View History

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;
interface VideoInterface extends AudioInterface
2012-04-13 10:20:54 +02:00
{
2013-06-25 10:03:20 +02:00
/**
2013-06-25 10:40:20 +02:00
* Gets the kiloBitrate value.
2013-06-25 10:03:20 +02:00
*
* @return integer
*/
public function getKiloBitrate();
/**
* 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();
/**
2013-06-25 10:40:20 +02:00
* Returns the video codec.
2013-06-25 10:03:20 +02:00
*
* @return string
*/
public function getVideoCodec();
/**
2013-06-25 10:40:20 +02:00
* Returns true if the current format supports B-Frames.
2013-06-25 10:03:20 +02:00
*
* @see https://wikipedia.org/wiki/Video_compression_picture_types
*
* @return Boolean
*/
public function supportBFrames();
/**
2013-06-25 10:40:20 +02:00
* Returns the list of available video codecs for this format.
2013-06-25 10:03:20 +02:00
*
* @return array
*/
public function getAvailableVideoCodecs();
/**
* Returns the list of available video codecs for this format.
*
* @return array
*/
public function getAdditionalParameters();
2012-05-25 15:44:43 +02:00
}