Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how to get video duration in php

include_once('pathto/getid3.php');
$getID3 = new getID3;
$file = $getID3->analyze($filename);
echo("Duration: ".$file['playtime_string'].
" / Dimensions: ".$file['video']['resolution_x']." wide by ".$file['video']['resolution_y']." tall".
" / Filesize: ".$file['filesize']." bytes<br />");
Comment

PREVIOUS NEXT
Code Example
Php :: laravel model increase the value by one 
Php :: php reader read date from excel 
Php :: Laravel Unable to migrate or Make Seeds 
Php :: convert comma separated number to number in php 
Php :: php get first last loop 
Php :: google fonts change font in echo php 
Php :: woocommerce action order complete 
Php :: option value selected in laravel blade 
Php :: php download rate limit 
Php :: wordpress get text of wordpress post 
Php :: laravel drop column if exists 
Php :: how get year of field database in laravel collection 
Php :: ext-bcmath php 8.0 install 
Php :: remove 1 day from date in php 
Php :: php check if url parameter exists 
Php :: Carbon Add Months To Date In Laravel 
Php :: Allowed memory size of 1610612736 bytes exhausted 
Php :: password hashing in laravel 
Php :: install php 7.4 ubuntu 
Php :: run composer with different php version 
Php :: how to delete all data from table in php 
Php :: php get object keys 
Php :: laravel validate unique column 
Php :: default php program 
Php :: Laravel Auth Redirect based on role 
Php :: sortbydesc on a collection laravel 
Php :: laravellivewire is not defined 
Php :: php connect to data base 
Php :: disable quantity field in woocommerce 
Php :: php __construct 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =