public function TranscoderBase::getAvailableCodecs in Video 8.2
Get the transcoder supported codecs.
Return value
array Array of supported codes.
File
- modules/
video_transcode/ src/ TranscoderBase.php, line 73 - Provides Drupal\video_transcode\TranscoderBase.
Class
Namespace
Drupal\video_transcodeCode
public function getAvailableCodecs() {
return [
'encode' => [
'video' => [
'h264' => 'H.264',
'vp8' => 'VP8',
'theora' => 'Theora',
'vp6' => 'VP6',
'mpeg4' => 'MPEG-4',
'wmv' => 'WMV',
],
'audio' => [
'aac' => 'AAC',
'mp3' => 'MP3',
'vorbis' => 'Vorbis',
'wma' => 'WMA',
],
],
'decode' => [],
];
}