public function transcodeWithAdapter($inFile, $adapterName, $options = array(), $outFile = false, $conflictMode = self::ONCONFLICT_INCREMENT, $dirMode = self::ONDIR_EXCEPTION, $failMode = self::ONFAIL_DELETE)
    {
        //build a preset on the fly based on the options provided
        $preset = new Preset('dynamic', $adapterName, $options);

        return $this->transcodeWithPreset($inFile, $preset, $outFile, $conflictMode, $dirMode, $failMode);
    }
public function transcodeWithAdapter($inFile, $adapterName, $options = array(), $outFile = false, $conflictMode = self::ONCONFLICT_INCREMENT, $dirMode = self::ONDIR_EXCEPTION, $failMode = self::ONFAIL_DELETE)
    {
        //build a preset on the fly based on the options provided
        $preset = new Preset('dynamic', $adapterName, $options);

        return $this->transcodeWithPreset($inFile, $preset, $outFile, $conflictMode, $dirMode, $failMode);
    }
public function transcodeWithAdapter ( $ inFile , $ adapterName , $ options = array ( ) , $ outFile = false , $ conflictMode = self :: ONCONFLICT_INCREMENT , $ dirMode = self :: ONDIR_EXCEPTION , $ failMode = self :: ONFAIL_DELETE ) { //build a preset on the fly based on the options provided $ preset = new Preset ( 'dynamic' , $ adapterName , $ options ) ; return $ this -> transcodeWithPreset ( $ inFile , $ preset , $ outFile , $ conflictMode , $ dirMode , $ failMode ) ; }
Transcode a file with a specific adapter directly.  Internally builds a dynamic preset with the specified options.

@param  mixed                $inFile       - either string filepath or instance of \AC\Transcoding\File
@param  string               $adapterName  - string name of adapter to use
@param  array                $options      - key/val option hash to pass to adapter
@param  string               $outFile      - optional output file path, if not provided will be derived automatically by the Transcoder
@param  string               $conflictMode - flag for how to handle output file conflicts
@param  string               $failMode     - flag for how to handle failed transcodes
@return \AC\Transcoding\File
Transcode a file with a specific adapter directly . Internally builds a dynamic preset with the specified options .