public static function getSupportedFormats()
    {
        // Run terminal command
        $command = self::getConverterPath().' -formats';
        $output  = shell_exec($command);

        // PREG pattern to retrive version information
        $output = preg_match_all("/(?P<mux>(D\s|\sE|DE))\s(?P<format>\S{3,11})\s/", $output, $parsed);

        // Verify output
        if ($output === false || $output == 0)
        {
            return false;
        }

        // Combine the format and mux information into an array
        $formats = array_combine($parsed['format'], $parsed['mux']);

        return $formats;
    }