1include_once('pathto/getid3.php');
2$getID3 = new getID3;
3$file = $getID3->analyze($filename);
4echo("Duration: ".$file['playtime_string'].
5" / Dimensions: ".$file['video']['resolution_x']." wide by ".$file['video']['resolution_y']." tall".
6" / Filesize: ".$file['filesize']." bytes<br />");