You are here

public function TranscoderAbstractionFactoryZencoder::getAvailableFormats in Video 7.2

Get available output file formats from the transcoder.

Overrides TranscoderFactoryInterface::getAvailableFormats

File

transcoders/TranscoderAbstractionFactoryZencoder.inc, line 900
File containing class TranscoderAbstractionFactoryZencoder

Class

TranscoderAbstractionFactoryZencoder
Class that handles Zencoder transcoding.

Code

public function getAvailableFormats($type = FALSE) {
  return array(
    '3g2' => '3G2',
    '3gp' => '3GP',
    '3gp2' => '3GP2',
    '3gpp' => '3GPP',
    '3gpp2' => '3GPP2',
    'aac' => 'AAC',
    'f4a' => 'F4A',
    'f4b' => 'F4B',
    'f4v' => 'F4V',
    'flv' => 'FLV',
    'm4a' => 'M4A',
    'm4b' => 'M4B',
    'm4r' => 'M4R',
    'm4v' => 'M4V',
    'mov' => 'MOV',
    'mp3' => 'MP3',
    'mp4' => 'MP4',
    'oga' => 'OGA',
    'ogg' => 'OGG',
    'ogv' => 'OGV',
    'ogx' => 'OGX',
    'ts' => 'TS',
    'webm' => 'WebM',
    'wma' => 'WMA',
    'wmv' => 'WMV',
  );
}