cgm225 Posted May 9, 2007 Share Posted May 9, 2007 Is there a PHP function, or some other way, to echo the length of an AVI file? Like the hours, minutes and seconds? Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/50589-echo-time-length-of-avi-file/ Share on other sites More sharing options...
maxim Posted May 9, 2007 Share Posted May 9, 2007 i dont believe there is a PHP fuction for that. sounds like you need to find the metadata of files, like the tags on a mp3 file, the resolution ect of movie files. im pretty sure python can do this. so you could get python to output a xml file of metadata of what ever files/s you wans and get php the get the info from the xml file. OR you could extend PHP by writing a C program do do what you which (very hard) Quote Link to comment https://forums.phpfreaks.com/topic/50589-echo-time-length-of-avi-file/#findComment-248673 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.