Download the PHP package ivebe/lffmpeg without Composer

On this page you can find all versions of the php package ivebe/lffmpeg. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package lffmpeg

LFFMPEG

PHP-FFMpeg implementation in Laravel with progress bar. Plug and play.

Installation

Install using composer.

After you install it add service provider to the providers array in the config/app.php

Publishing at least config from the vendor is required, this is tagged as defaults. Available tags are migrations, models, assets, views and defaults. If you are building from scratch you can just ommit tag completely and publish everything. However if you already have system in place, and want to adopt it to use Lffmpeg, then publish defaults (config) only, and add current models implementation in the config file.

Config

This is where encoding settings are placed, and also models that will handle the logic. Lffmpeg already have 3 eloquent models for Video, Thumb, and EncodingProgress

Paths

Paths should not end with slash.

FFmpeg

Location of the ffmpeg binaries.

Encoding

Desired profile used for encoding. Lffmpeg will automatically detect best possibile quality and encode from it. In other words if you have video that is not HD, then 1080p profile wont be encoded, it will start from the best match profile. There is no upscalling.

Video model

Videos are manipulated using VideoRepository. By default there is only Eloquent repository, so you need to set video model in the config file. If you are already having your video model, then just point proper column names and your model will be used instead. Note that variables are marked with # while colum names are marked with @.

Thumb model

Thumbs are manipulated using ThumbRepository. By default there is only Eloquent repository, so you need to set thumb model in the config file. If you are already having your thumb model, then just point proper column names and your model will be used instead. Note that variables are marked with # while colum names are marked with @.

EncodingProgress model

EncodingProgress doesn't have it's own repository, it is manipulated using VideoRepository. By default there is only Eloquent repository, so you need to set EncodingProgress model in the config file. If you are already having your EncodingProgress model, then just point proper column names and your model will be used instead. Note that variables are marked with # while colum names are marked with @.

Usage

Basic usage is as simple as typing Helper::runEncoding(123); where 123 is video ID in the Video repository. However you should know that each encoding process is done using jobs and queues, so you should setup your queue properly.

Publishing vendor files

Available tags are migrations, models, assets, views and defaults.


All versions of lffmpeg with dependencies

PHP Build Version
Package Version
Requires php-ffmpeg/php-ffmpeg Version ~0.5
laravel/framework Version ~5.1
imagine/imagine Version ~0.5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ivebe/lffmpeg contains the following files

Loading the files please wait ....