Duration of a video file (.wmv)
Posted: Fri Jul 28, 2006 1:42 pm
I have a system where users upload a video to a server. There is various pieces of information that the user enters for the video that is stored in a database. In addition to the user-entered information, I also want to get the size and duration of the video file that was uploaded automatically. To get the size of the file was simple using filesize(), but I have not been able to find a way to get the duration of a video file. Can anyone point me in the right direction to get the duration of a video file?