0
私のファイルのビデオから長さのビデオを取得し、getID3ライブラリを使用すると、ビデオの長さは00:02:03ですが、この出力は02:03:00です。どうすれば変更できますかgetID3で長さのビデオを取得する方法
move_uploaded_file($source,$direktori);
$durasi = getDuration($direktori);
$endtime = date('H:i:s', strtotime($durasi));
echo $endtime;
function getDuration($file){
include_once("getID3/getid3/getid3.php");
$getID3 = new getID3;
$file = $getID3->analyze($file);
return $file['playtime_string'];
}