Return to Snippet

Revision: 48540
at July 4, 2011 21:41 by erraja_07


Initial Code
function getVideoLength($file_path)
{
  extension_loaded('ffmpeg');
  // F: Mv  1.wmv video file path.
  $ffmpegInstance = new ffmpeg_movie($file_path);
  return $ffmpegInstance->getDuration();	
}

Initial URL
http://www.kushu.net/604.html?lang=en

Initial Description

                                

Initial Title
PHP - Code to find the Duration of a Video file  using FFMPEG (WAMP5)

Initial Tags

                                

Initial Language
PHP