| Total Complexity | 6 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | final class X264 extends Video |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * X264 constructor. |
||
| 19 | * @param string $video_codec |
||
| 20 | * @param string|null $audio_codec |
||
| 21 | */ |
||
| 22 | public function __construct(string $video_codec = 'libx264', string $audio_codec = null) |
||
| 28 | } |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Returns the list of available audio codecs for this format. |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | public function getAvailableAudioCodecs() |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Returns the list of available video codecs for this format. |
||
| 43 | * |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | public function getAvailableVideoCodecs(): array |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return int |
||
| 53 | */ |
||
| 54 | public function getModulus() |
||
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Returns true if the current format supports B-Frames. |
||
| 61 | * |
||
| 62 | * @see https://wikipedia.org/wiki/Video_compression_picture_types |
||
| 63 | * |
||
| 64 | * @return Boolean |
||
| 65 | */ |
||
| 66 | public function supportBFrames() |
||
| 71 |