title: PHP - get video and image dimensions on upload
body: <p>Is it possible to get the video dimensions from a video file? I'm uploading mp4s and wmvs as well as some image files. I would like to grab the dimensions and make it part of the new filename. </p>
  
  <p>I know you can use <code>getImageSize()</code> for pictures but how would I do the same for video. Is there a way to do this?</p>