PHP code example of clwu / php-read-mp4info
1. Go to this page and download the library: Download clwu/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/ */
clwu / php-read-mp4info example snippets
p(\Clwu\Mp4::getInfo('/tmp/faae8ca03b6e6c06cf47dad6dde46830.mp4'));
array(3) {
["rotate"]=> int(0)
["width"]=> int(960)
["height"]=> int(544)
}