protected function getVideoCodecSpecificParams(KDLFlavor $design, KDLFlavor $target) { $vidObj = $target->_video; $paramsStr = null; switch ($vidObj->_id) { case KDLVideoTarget::H264: case KDLVideoTarget::H264B: return parent::getVideoCodecSpecificParams($design, $target) . " -vprofile baseline" . $this->calcForcedKeyFrames($vidObj, $target) . " -pix_fmt yuv420p"; case KDLVideoTarget::H264M: return parent::getVideoCodecSpecificParams($design, $target) . " -vprofile main" . $this->calcForcedKeyFrames($vidObj, $target) . " -pix_fmt yuv420p"; case KDLVideoTarget::H264H: return parent::getVideoCodecSpecificParams($design, $target) . " -vprofile high" . $this->calcForcedKeyFrames($vidObj, $target) . " -pix_fmt yuv420p"; case KDLVideoTarget::APCO: return "prores -profile 0 -pix_fmt yuv422p10le"; case KDLVideoTarget::APCS: return "prores -profile 1 -pix_fmt yuv422p10le"; case KDLVideoTarget::APCN: return "prores -profile 2 -pix_fmt yuv422p10le"; case KDLVideoTarget::APCH: return "prores -profile 3 -pix_fmt yuv422p10le"; case KDLVideoTarget::DNXHD: return "dnxhd -mbd rd -pix_fmt yuv422p"; default: return parent::getVideoCodecSpecificParams($design, $target) . " -pix_fmt yuv420p"; } }
public function FFMpeg_aux($extra = null) { /**/ $transcoder = new KDLOperatorFfmpeg(KDLTranscoders::FFMPEG_AUX); return $transcoder->GenerateCommandLine($this->_design, $this->_target, $extra); }