Languages :: PHP :: Getting Movies width and height! |
|||
| By: PHP newbee |
Date: 02/02/2003 00:00:00 |
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 | 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 |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








