Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 440 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 440 Bytes

php-read-mp4info

Fork of https://github.com/clwu88/php-read-mp4info

The format of the MP4 video file is analyzed using PHP to return rotation degree, width and height.

Install

composer require cecil/php-read-mp4info

Usage

<?php

var_dump(\Mp4\Info::get('video.mp4'));
array(3) {
    ["rotate"] => int(0)
    ["width"]  => int(960)
    ["height"] => int(544)
}