phpdefine('FFMPEG_PATH','/usr/local/ffmpeg2/bin/ffmpeg -i "%s" 2>&1');functiongetVideoInfo($file){$command=sprintf(FFMPEG_PATH,$file);ob_start();passthru($command);$info=ob_get_contents();ob_end_clean();$data=array();if(preg_match("/Duration: (.*?), start: (.*?), bitrat...