ivoglent/ffmpeg-composer-bin

There is no license information available for the latest version (1.3) of this package.

A simple repository for FFMPEG binaries lib using PHP composer

1.3 2024-04-04 02:30 UTC

This package is auto-updated.

Last update: 2024-12-23 10:55:42 UTC


README

A simple repository for FFMPEG lib using PHP composer

Versions:

  • ffmpeg version 6.1-static
  • ffprobe version 6.1-static

Installation

composer require --prefer-dist -vvv --profile ivoglent/ffmpeg-composer-bin

Use a specified major version in composer.json to get updates for this version.

{
  "require": {
    "ivoglent/ffmpeg-composer-bin": "^6.0"
  }
}

Usage

Binaries of FFMPEG lib stored on @vendor/bin

vendor/bin/ffmpeg

and

vendor/bin/ffprobe

That's all

Example usage

For use for example with php-ffmpeg/php-ffmpeg which support Video manipulation and preview images on PHP.

$ffmpeg = FFMpeg\FFMpeg::create(
    [
        'ffmpeg.binaries' => 'vendor/bin/ffmpeg',
        'ffprobe.binaries' => 'vendor/bin/ffprobe'
    ]
);