Skip to content

This project is an API Drupal module that integrate with the PHP FFmpeg library.

License

Notifications You must be signed in to change notification settings

md-systems/drupal-php-ffmpeg

 
 

Repository files navigation

PHP-FFmpeg

This project is an API module that integrate with the PHP FFmpeg library. This module doesn't do anything by itself and is usually extended by other projects that do something useful with FFmpeg.

Build Status

Installation

Follow the standard module installation guide (http://drupal.org/documentation/install/modules-themes/modules-7) to install PHP FFmpeg. This module depends on the Composer Manager module (http://drupal.org/project/composer_manager), so follow the instructions on its project page to install the third-party libraries that this module requires.

After installation, visit the setting page at admin/config/development/php-ffmpeg to set the path to

Usage

The module provides an administrative UI for the various configuration options exposed by PHP FFmpeg library. To instantiate the PHP FFmpeg classes populated with the configuration options, call $ffmpeg = php_ffmpeg(); or $ffprobe = php_ffmpeg_probe in your module. Refer to the PHP FFmpeg library's documentation for details on how to use the library.

Adapters are provided so the PHP FFmpeg library will uses Drupal for logging and caching. The Monolog module is also supported as an alternative logging solution.

The PHP FFMpeg library uses ffmpeg and ffprobe CLI executable, all its method accepting file paths expect paths usable are arguments for these executables. When using the library to process Drupal managed, developer have to ensure usage of local files paths or URL supported by ffmpeg and ffprobe as sources, and local file paths as destinations.

About

This project is an API Drupal module that integrate with the PHP FFmpeg library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%