is there a way to get video length in php?
Is there a simple solution for this?开发者_开发技巧
In this post (Querying an audio/video file for information) I explained in detail how to use ffmpeg to get the length of a video file. Using the PHP shell_exec()
command you can pass the necessary functions to ffmpeg
Try Ffmpeg PHP library: http://ffmpeg-php.sourceforge.net/
精彩评论