Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Extract Quicktime Metadata

Posted on 2002-06-17
3
1,022 Views
Last Modified: 2007-12-19
I would like to be able to extract Quicktime Metadata within PHP.  For example, I would like to be able to read a Quicktime File and extract the frame width and frame height.  I imagine that I might need a command line utility that does this, and grab the data from the command line.  If so, you would need to know that I'm running Redhat 7.  

Thanks!

-Nate
0
Comment
Question by:nathan8
3 Comments
 
LVL 8

Expert Comment

by:us111
ID: 7090232
never heard about this
0
 
LVL 7

Accepted Solution

by:
axis_img earned 200 total points
ID: 7091247
I have not seen anyone do this with PHP yet, but I am quite sure that it _is_ possible. I just have not grasped the Quicktime protocol yet. I do similar things with SWF files, ie: dynamically extracting or manipulating the framerate, etc. I have been taking a look at the Quicktime protocol, but I have been unable to extract what is needed yet. I will let you know if I have any luck with it.

In the meantime, there are libraries written in C that will run on linux that help decode quicktime files. I am not sure if they will help, as I have not been able to try them out yet.

http://openquicktime.sourceforge.net/

I will let you know if I have any luck...
Barry
0
 
LVL 1

Author Comment

by:nathan8
ID: 7091344
Barry,

Thank you for the Openquicktime link.  That will help me out a lot.  I'm thinking about writing a simple C routine that will take arguments from the command line and re-direct output to standard out.  I should be able to read that in PHP...

Your work with Flash files sounds interesting, too!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question