PHP code example of appzz / ffprobe

1. Go to this page and download the library: Download appzz/ffprobe 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/ */

    

appzz / ffprobe example snippets


use AppZz\VideoTools\FFprobe;
o local binary files
**/
FFprobe::$binary = '/usr/local/bin/ffprobe';

$info = FFprobe::factory('video.mp4')->probe();
var_dump($info);