Page 1 of 1

how to extract the video duration in upload with getid3

Posted: Sun Jun 21, 2015 10:01 pm
by gabrielxjose
how to extract the video duration in upload with extension geid3 in php?


someone could help me?

Re: how to extract the video duration in upload with getid3

Posted: Sun Jun 21, 2015 11:06 pm
by James Heinrich
https://github.com/JamesHeinrich/getID3 ... .basic.php

Code: Select all

$getID3 = new getID3;
$ThisFileInfo = $getID3->analyze($filename);
echo $ThisFileInfo['playtime'];