visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: PHP :: Getting Movies width and height!


By: PHP newbee U.S.A.  Date: 02/02/2003 00:00:00  English  Points: 50 Status: Answered
Quality : Excellent
Hey I was wondering:
is there a way to get the width and height of video files such as *mpg,*mov,*wmv ??

The script shall work like the following:

Users are able to upload movies to the server, afterwards these movies will be viewable through a script with <embed src="" width="" height="">
code.

Now, if i don't give the correct width or height the video will not show up correctly...

Is there a php function (just as getimagesize) or a way around to get the information without asking the users when they upload?

Also the control bar shall be viewable, no matter what format the video has.

Thanks for any help!
By: VGR Date: 03/02/2003 07:59:00 English  Type : Answer
IMHO, no.
This is feasible by looking at the contents of the binary format, but I'm no expert at this on movies

Do register to be able to answer

EContact
browser fav
page generated in 1191.859010 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page