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! 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) 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
Archived
This topic is now archived and is closed to further replies.