Download the PHP package foxws/laravel-av1 without Composer

On this page you can find all versions of the php package foxws/laravel-av1. 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 laravel-av1

Laravel AV1

Latest Version on Packagist Tests Total Downloads

A Laravel package for AV1 video encoding with support for ab-av1 VMAF-targeted quality optimization and direct FFmpeg encoding with hardware acceleration (Intel QSV, AMD AMF, NVIDIA NVENC).

Features

Requirements

Installation

Install the package via composer:

Publish the config file:

Installing ab-av1 (Optional)

ab-av1 is optional but recommended for VMAF-targeted quality optimization. Install using cargo:

Or download a prebuilt binary from the releases page.

Installing FFmpeg with AV1 Support

FFmpeg is required for direct AV1 encoding. Ensure FFmpeg is compiled with AV1 encoder support:

For hardware acceleration support, you'll need FFmpeg compiled with the appropriate hardware encoder for your GPU.

Verify Installation

After installation, verify that ab-av1 is properly configured:

This will check:

Package Information

View package and binary information:

Quick Start

FFmpeg Hardware Encoding

Encode videos using FFmpeg with automatic hardware acceleration detection:

FFmpeg with Auto CRF Optimization

Combine ab-av1's CRF optimization with FFmpeg's GPU encoding:

Using ab-av1 Encoder

Use ab-av1 for integrated VMAF-targeted encoding:

VMAF Encode

Automatically find the optimal CRF value to achieve a target VMAF quality score and encode the full video:

Hardware Acceleration

Check available hardware encoders and use the best available:

CRF Search (ab-av1)

Search for the optimal CRF value without encoding the full video:

Sample Encode (ab-av1)

Encode a sample of the video to test settings:

Full Encode (ab-av1)

Encode the entire video with a specific CRF:

VMAF Score

Calculate VMAF score between two videos:

XPSNR Score

Calculate XPSNR score between two videos:

FFmpeg Encoding

Basic FFmpeg Encoding

GPU Acceleration

Auto CRF with FFmpeg

Combine ab-av1's CRF optimization with FFmpeg's GPU encoding:

For detailed FFmpeg examples including hardware-specific configurations, see FFMPEG_ENCODING.md.

Working with Different Disks

From S3

From Local to S3

S3 with Hardware Encoding

Advanced Options

CRF Range

Max Encoded Size

Pixel Format

Full VMAF

VMAF Model

Verbose Output

Batch Processing

Process multiple files:

Callbacks

Add callbacks after encoding:

Debugging

Get the command that will be executed:

Or dump and die:

Configuration

Environment Variables

ab-av1 Configuration:

FFmpeg Configuration:

General:

Configuration File

Publish and edit config/av1.php for more control:

Error Handling

Available Commands

vmafEncode()

Automatically finds the optimal CRF value to achieve a target VMAF score, then encodes the full video at that quality level.

Required options:

Optional:

crfSearch()

Searches for the optimal CRF value to achieve a target VMAF score without encoding the full video. Useful for testing before full encoding.

Required options:

Optional: Same as vmafEncode()

sampleEncode()

Encodes a sample portion of the video for testing settings before committing to a full encode.

Required options:

Optional:

encode()

Encodes the entire video using a manually specified CRF value. Use this when you know the exact CRF you want.

Required options:

vmaf()

Calculates the VMAF (Video Multimethod Assessment Fusion) quality score between a reference and distorted video.

Required options:

Optional:

xpsnr()

Calculates the XPSNR (Extended Peak Signal-to-Noise Ratio) quality score between a reference and distorted video.

Required options:

Testing

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-av1 with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3 || ^8.4 || ^8.5
illuminate/contracts Version ^11.0 || ^12.0
illuminate/filesystem Version ^11.0 || ^12.0
illuminate/process Version ^11.0 || ^12.0
illuminate/support Version ^11.0 || ^12.0
psr/log Version ^3.0
spatie/laravel-package-tools Version ^1.16
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 foxws/laravel-av1 contains the following files

Loading the files please wait ...