| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function __construct(string $video_codec = 'libvpx-vp9', string $audio_codec = 'aac', bool $default_init_opts = true) |
||
| 28 | { |
||
| 29 | $this |
||
| 30 | ->setVideoCodec($video_codec) |
||
| 31 | ->setAudioCodec($audio_codec); |
||
| 32 | |||
| 33 | /** |
||
| 34 | * set the default value of h265 codec options |
||
| 35 | * see https://ffmpeg.org/ffmpeg-codecs.html#Options-26 for more information about options |
||
| 36 | */ |
||
| 37 | if ($default_init_opts) { |
||
| 38 | //@TODO: add default vp9 |
||
| 78 |