This is probably a dumb question, im trying to get the duration from a video using FFMpeg: Video Duration Time = 1m:47s
My function
$ffmpeg = \FFMpeg\FFProbe::create();
$duration = $ffmpeg->format($videos[0]->real_path)->get('duration');
Now if i print $duration : "109.713333"
How can i get the video duration time from $duration
??
Note:
I Tried this
109.713333 / 60 = 1.82
82/60 = 1.36 and 82-36 = 46