What is the best way to determine a video's size (resolution) using PHP on a linux based server? Please give an example.
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$2 Answers
http://ffmpeg-php.sourceforge.net/
you can find some examples here:
http://ffmpeg-php.sourceforge.net/doc/api/ffmpeg_movie.php
$movie = new ffmpeg_movie(String path_to_media, boolean persistent) ;
$movie->getFrameRate();
$movie->getFrameHeight();
$movie->getFrameWidth();
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$Server management
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$