- print_r: documentation ( source)
- getimagesize: documentation ( source)
<?php
$file_path = "https://s3-ap-southeast-1.amazonaws.com/bucket-input-video/videos/3578b7a325e26b1b074f48c80b7e9641.mpeg";
list($width, $height, $type, $attr) = getimagesize($file_path);
print_r("Image width " . $width . "<br>" . "Image height " . $height . "<br>" . "Image type " . $type . "<br>" . "Attribute " . $attr . "<br>");
?>