how to extract the video duration in upload with extension geid3 in php?
someone could help me?
how to extract the video duration in upload with getid3
-
- User
- Posts:1
- Joined:Sun Jun 21, 2015 9:26 pm
- Are you a spambot?:no
-
- getID3() v1 developer
- Posts:1477
- Joined:Fri May 04, 2001 4:00 pm
- Are you a spambot?:no
- Location:Northern Ontario, Canada
- Contact:
Re: how to extract the video duration in upload with getid3
https://github.com/JamesHeinrich/getID3 ... .basic.php
Code: Select all
$getID3 = new getID3;
$ThisFileInfo = $getID3->analyze($filename);
echo $ThisFileInfo['playtime'];