View Full Version : Screenshots of uploaded wmv/mpeg files

01-08-2006, 12:54 AM
Ok, this is quite an abstract question but I want to know if this is possible with PHP only (no server commands):

Upload wmv/mpeg file.
Use some method of getting an image of the first frame of the movie
Save the image and movie.

Its for a site I'm working on, and if at all possible I would like to make it so that the user doesn't have to upload a screenshot with their movie.

ralph l mayo
01-08-2006, 01:55 AM
http://ffmpeg-php.sourceforge.net/ looks like what you want, minus the wmv part.

edit: oops, it does support wmv. what's in a name? :/
edit pt 2: I thought it was just a bunch of PHP files but it's an extension so you'd need rights to do some server stuff once.