public function getVideoCodec()
    {
        if ($this->videoCodec === null) {
            $match = [];
            preg_match(self::$REGEX_VIDEO_CODEC, $this->output, $match);
            $this->videoCodec = array_key_exists(1, $match) ? trim($match[1]) : '';
        }

        return $this->videoCodec;
    }
public function getVideoCodec()
    {
        if ($this->videoCodec === null) {
            $match = [];
            preg_match(self::$REGEX_VIDEO_CODEC, $this->output, $match);
            $this->videoCodec = array_key_exists(1, $match) ? trim($match[1]) : '';
        }

        return $this->videoCodec;
    }
public function getVideoCodec ( ) { if ( $ this -> videoCodec === null ) { $ match = [ ] ; preg_match ( self :: $ REGEX_VIDEO_CODEC , $ this -> output , $ match ) ; $ this -> videoCodec = array_key_exists ( 1 , $ match ) ? trim ( $ match [ 1 ] ) : '' ; } return $ this -> videoCodec ; }
Return the name of the video codec used to encode this movie.

@return string
Return the name of the video codec used to encode this movie .