public static function set_ffmpeg_root($path) { if (substr($path, -1) != "/") { $path .= "/"; } self::$ffmpeg_root = $path; }