corbpie/video-probe

A wrapper for ffprobe to get and view video information and data

v1.2 2023-02-16 00:51 UTC

This package is auto-updated.

Last update: 2024-09-16 04:34:21 UTC


README

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