original_string: public function getEncoders() {
      $encoders = $this->Cache->read('encoders');
      if ($encoders !== null) {
        return $encoders;
      }
  
      $args = array('-codecs');
      if (!$this->isVersionIsGreaterOrEqual($this->getVersion(), array(0, 8))) {
        $args = array('-formats');
      }
      $lines = array();
      $errCode = $this->Process->run($this->config['ffmpeg.bin'], $args, $lines);
      if (!count($lines) || $errCode != 0) {
        return array();
      }
  
      $encoders = $this->parseEncoder($lines);
      $this->Cache->write('encoders', $encoders);
      return $encoders;
    }
code: public function getEncoders() {
      $encoders = $this->Cache->read('encoders');
      if ($encoders !== null) {
        return $encoders;
      }
  
      $args = array('-codecs');
      if (!$this->isVersionIsGreaterOrEqual($this->getVersion(), array(0, 8))) {
        $args = array('-formats');
      }
      $lines = array();
      $errCode = $this->Process->run($this->config['ffmpeg.bin'], $args, $lines);
      if (!count($lines) || $errCode != 0) {
        return array();
      }
  
      $encoders = $this->parseEncoder($lines);
      $this->Cache->write('encoders', $encoders);
      return $encoders;
    }
code_tokens: public function getEncoders ( ) { $ encoders = $ this -> Cache -> read ( 'encoders' ) ; if ( $ encoders !== null ) { return $ encoders ; } $ args = array ( '-codecs' ) ; if ( ! $ this -> isVersionIsGreaterOrEqual ( $ this -> getVersion ( ) , array ( 0 , 8 ) ) ) { $ args = array ( '-formats' ) ; } $ lines = array ( ) ; $ errCode = $ this -> Process -> run ( $ this -> config [ 'ffmpeg.bin' ] , $ args , $ lines ) ; if ( ! count ( $ lines ) || $ errCode != 0 ) { return array ( ) ; } $ encoders = $ this -> parseEncoder ( $ lines ) ; $ this -> Cache -> write ( 'encoders' , $ encoders ) ; return $ encoders ; }
docstring: Get supported encoder names
  
  @return array Sorted list of supported encoders
docstring_tokens: Get supported encoder names