Jump to content

Reading Video MetaData


ashleysmithd
 Share

Recommended Posts

Hi, I'm currently working on my college project, and I'm trying to build functionality into a 'Media Asset Management' style administrative web site, whereby I can call PHP functions to read Metadata surrounding video files. So for instance, returning the run length, bit rate etc. I tried FFMpeg-PHP extension however it appears to have been abandoned and certainly doesn't work with newer versions of PHP/XAMPP. ID3() looks hopeful, but there doesn't appear to be much support let alone many tutorials on how to implement it. Has anyone else tried doing this? What method did you find worked best? Are there any good alternatives to FFMpeg or ID3()? Thanks in advance.

Link to comment
Share on other sites

here is the referene for id3() http://in2.php.net/m...n/intro.id3.php but it looks like its for mp3. one way is you can unpack() the file contents and decode its bits as per file format specifications. you have to do some research on file specifiation which you want to decode. each of them probably have different rules. http://php.net/unpack

Edited by birbal
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...