We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This gives you an instance of the FFMpeg\Coordinate\Dimension class.
FFMpeg\Coordinate\Dimension
// v7.0 and later: FFMpeg::open('video.mp4') ->getVideoStream() ->getDimensions(); // pre v7.0: FFMpeg::open('video.mp4') ->getStreams() ->videos() ->first() ->getDimensions();
See also: https://github.com/PHP-FFMpeg/PHP-FFMpeg/blob/master/src/FFMpeg/Coordinate/Dimension.php