how to extract the video duration in upload with getid3

The place for "I can't figure out how to..." questions.

how to extract the video duration in upload with getid3

Postby gabrielxjose » Sun Jun 21, 2015 10:01 pm

how to extract the video duration in upload with extension geid3 in php?


someone could help me?
gabrielxjose
User
 
Posts: 1
Joined: Sun Jun 21, 2015 9:26 pm

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

Postby James Heinrich » Sun Jun 21, 2015 11:06 pm

https://github.com/JamesHeinrich/getID3 ... .basic.php
Code: Select all
$getID3 = new getID3;
$ThisFileInfo = $getID3->analyze($filename);
echo $ThisFileInfo['playtime'];
James Heinrich
getID3() v1 developer
 
Posts: 1411
Joined: Fri May 04, 2001 4:00 pm
Location: Northern Ontario, Canada


Return to Support 1.x

Who is online

Users browsing this forum: No registered users and 1 guest

cron