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);
    }
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);
    }
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 ) ; }
Write to output that a process has started.
Write to output that a process has started .