public function TranscoderAbstractionFactoryFfmpeg::getPixelFormats in Video 7.2
Returns a list of all supported pixel formats.
Returns NULL when pixel formats are not configurable for this transcoder.
Overrides TranscoderFactoryInterface::getPixelFormats
File
- transcoders/
TranscoderAbstractionFactoryFfmpeg.inc, line 461 - File containing class TranscoderAbstractionFactoryFfmpeg
Class
- TranscoderAbstractionFactoryFfmpeg
- Class that handles FFmpeg transcoding.
Code
public function getPixelFormats() {
$info = $this
->getCachedFFmpegInfo();
if (empty($info['pixelformats'])) {
return array();
}
return array_keys($info['pixelformats']);
}