/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function getVideoLength($file_path) { // F: Mv 1.wmv video file path. $ffmpegInstance = new ffmpeg_movie($file_path); return $ffmpegInstance->getDuration(); }
URL: http://www.kushu.net/604.html?lang=en