scratch – Blame information for rev 122
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
120 | office | 1 | <?php |
2 | |||
3 | /* |
||
4 | * This file is part of PHP-FFmpeg. |
||
5 | * |
||
6 | * (c) Alchemy <info@alchemy.fr> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | namespace FFMpeg\Format; |
||
13 | |||
14 | interface VideoInterface extends AudioInterface |
||
15 | { |
||
16 | /** |
||
17 | * Gets the kiloBitrate value. |
||
18 | * |
||
19 | * @return integer |
||
20 | */ |
||
21 | public function getKiloBitrate(); |
||
22 | |||
23 | /** |
||
24 | * Returns the modulus used by the Resizable video. |
||
25 | * |
||
26 | * This used to calculate the target dimensions while maintaining the best |
||
27 | * aspect ratio. |
||
28 | * |
||
29 | * @see http://www.undeadborn.net/tools/rescalculator.php |
||
30 | * |
||
31 | * @return integer |
||
32 | */ |
||
33 | public function getModulus(); |
||
34 | |||
35 | /** |
||
36 | * Returns the video codec. |
||
37 | * |
||
38 | * @return string |
||
39 | */ |
||
40 | public function getVideoCodec(); |
||
41 | |||
42 | /** |
||
43 | * Returns true if the current format supports B-Frames. |
||
44 | * |
||
45 | * @see https://wikipedia.org/wiki/Video_compression_picture_types |
||
46 | * |
||
47 | * @return Boolean |
||
48 | */ |
||
49 | public function supportBFrames(); |
||
50 | |||
51 | /** |
||
52 | * Returns the list of available video codecs for this format. |
||
53 | * |
||
54 | * @return array |
||
55 | */ |
||
56 | public function getAvailableVideoCodecs(); |
||
57 | |||
58 | /** |
||
59 | * Returns the list of available video codecs for this format. |
||
60 | * |
||
61 | * @return array |
||
62 | */ |
||
63 | public function getAdditionalParameters(); |
||
64 | } |