I am in the middle of a project where I need to get image & video dimensions of uploaded files. In order to cover all variables, URLs need to be supported. I use getimagesize() successfully for multiple image formats.
For video (avi, mpg, mpeg,....) files, I have tried to use imagemagick's identify function. This works for directly uploaded files, or files on my server. However, for URLs, this method has proven unsuccessful.
Question: How can I succesfully obtain the dimensions (height & width) of video files (multiple formats) from a URL?
Grateful for any help