title: Retrieving resolution & duration of a video file before upload
body: <p>I want to retrieve the Resolution and Duration of the video file that a end user uploads in my site before it gets uploaded into my Server. 
  In this way, I want to check if the resolution and duration meets my requirement. Went through many APIs and they all give this Meta data information only after video gets uploaded into the Server. My Server is running on Linux and am using Java, Struts. Are there any APIs which will give this information before video file gets uploaded?</p>