original_string: public function onTranscodeStart(TranscodeEvent $e)
      {
          $inpath = $e->getInputPath();
          $presetKey = $e->getPreset();
  
          $formatter = $this->getFormatter();
          $msg = sprintf(
              "Starting transcode of file %s with preset %s ...",
              $formatter->formatBlock($inpath, 'info'),
              $formatter->formatBlock($presetKey, 'info')
          );
  
          $this->getOutput()->writeln($msg);
          $this->startTime = microtime(true);
      }
code: public function onTranscodeStart(TranscodeEvent $e)
      {
          $inpath = $e->getInputPath();
          $presetKey = $e->getPreset();
  
          $formatter = $this->getFormatter();
          $msg = sprintf(
              "Starting transcode of file %s with preset %s ...",
              $formatter->formatBlock($inpath, 'info'),
              $formatter->formatBlock($presetKey, 'info')
          );
  
          $this->getOutput()->writeln($msg);
          $this->startTime = microtime(true);
      }
code_tokens: public function onTranscodeStart ( TranscodeEvent $ e ) { $ inpath = $ e -> getInputPath ( ) ; $ presetKey = $ e -> getPreset ( ) ; $ formatter = $ this -> getFormatter ( ) ; $ msg = sprintf ( "Starting transcode of file %s with preset %s ..." , $ formatter -> formatBlock ( $ inpath , 'info' ) , $ formatter -> formatBlock ( $ presetKey , 'info' ) ) ; $ this -> getOutput ( ) -> writeln ( $ msg ) ; $ this -> startTime = microtime ( true ) ; }
docstring: Write to output that a process has started.
docstring_tokens: Write to output that a process has started .