/php-video-probe

A PHP wrapper for ffprobe to view video file information and data

Primary LanguagePHPMIT LicenseMIT

PHP Video probe

A PHP wrapper for ffprobe to view video file information, metadata and details.

ffprobe gathers information from multimedia streams (video files). With this class you can get this information outputted in json format for further analysis.

PHP 8 psr-4 auto loading

Usage

Install video-probe class with:

composer require corbpie/video-probe

If ffprobe is not installed:

sudo apt install ffmpeg

Now call the class before use

<?php
require_once('vendor/autoload.php');

$v = new videoProbe();

As of now view examples calls in test.php