public function onTranscodeComplete(TranscodeEvent $e)
    {
        $outpath = $e->getOutputPath();

        $totalTime = microtime(true) - $this->startTime;
        $formatter = $this->getFormatter();
        $msg = sprintf(
            "Transcode completed in %s seconds.",
            $formatter->formatBlock(round($totalTime, 4), 'info')
        );
        $this->getOutput()->writeln($msg);

        $msg = sprintf(
            "Created new file %s",
            $formatter->formatBlock($outpath, 'info')
        );
        $this->getOutput()->writeln($msg);
    }
public function onTranscodeComplete(TranscodeEvent $e)
    {
        $outpath = $e->getOutputPath();

        $totalTime = microtime(true) - $this->startTime;
        $formatter = $this->getFormatter();
        $msg = sprintf(
            "Transcode completed in %s seconds.",
            $formatter->formatBlock(round($totalTime, 4), 'info')
        );
        $this->getOutput()->writeln($msg);

        $msg = sprintf(
            "Created new file %s",
            $formatter->formatBlock($outpath, 'info')
        );
        $this->getOutput()->writeln($msg);
    }
public function onTranscodeComplete ( TranscodeEvent $ e ) { $ outpath = $ e -> getOutputPath ( ) ; $ totalTime = microtime ( true ) - $ this -> startTime ; $ formatter = $ this -> getFormatter ( ) ; $ msg = sprintf ( "Transcode completed in %s seconds." , $ formatter -> formatBlock ( round ( $ totalTime , 4 ) , 'info' ) ) ; $ this -> getOutput ( ) -> writeln ( $ msg ) ; $ msg = sprintf ( "Created new file %s" , $ formatter -> formatBlock ( $ outpath , 'info' ) ) ; $ this -> getOutput ( ) -> writeln ( $ msg ) ; }
Write to output that a process has completed.
Write to output that a process has completed .