Reputation: 14600
The web app I'm working on allows a user to upload videos. The videos must meet specific criteria as outlined by our client (format, frame size, frame rate, etc) or they will be rejected. I found the ffmpeg-php library from some googling. However, I noticed that it doesn't appear to be actively maintained.
Upvotes: 2
Views: 156
Reputation: 17894
ffmpeg is a good option at: http://ffmpeg-php.sourceforge.net/doc/api/ffmpeg_movie.php
Or you could use a PHP class, here is one i have found which says "Access media metadata without using the ffmpeg-php library.": http://www.phpclasses.org/package/3747-PHP-Manipulate-and-convert-videos-with-ffmpeg-program.html
Like most meta datas, they are likely easily editable and untrustworthy.
Upvotes: 2