PHP code example of cecil / php-read-mp4info
1. Go to this page and download the library: Download cecil/php-read-mp4info library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cecil / php-read-mp4info example snippets
var_dump(\Mp4\Info::get('video.mp4'));
array(3) {
["rotate"] => int(0)
["width"] => int(960)
["height"] => int(544)
}