Download the PHP package passionweb/webm without Composer

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

TYPO3 Extension WebM

Creates a WebM file for every configured (and supported) video format. Either via Symfony command or hook (can be configured).

original.mp4 --> original.webm

What is WebM?

WebM is an audiovisual media file format. It is primarily intended to offer a royalty-free alternative to use in the HTML5 video and the HTML5 audio elements. It has a sister project, WebP, for images. The development of the format is sponsored by Google, and the corresponding software is distributed under a BSD license. The WebM container is based on a profile of Matroska. WebM initially supported VP8 video and Vorbis audio streams. In 2013, it was updated to accommodate VP9 video and Opus audio. It also supports the new AV1 codec.

Source: WebM

Installation

Add via composer:

composer require "passionweb/webm"

Requirements

This extension uses the FFmpeg solution and the PHP-FFmpeg library. You need to prepare your server for the usage and must install the necessary packages. A complete guide and further information can be found here:

Source: FFmpeg

Source: PHP-FFmpeg

FFMpeg support with DDEV

You can extend the config.yaml in your .ddev folder and add webimage_extra_packages: [ffmpeg] to install the FFMpeg package

Extension settings

You can set parameters for the conversion handling in the extension configuration.

convertOnSave

# cat=basic; type=boolean; label=Convert video on save action in backend (default=convert with task/Symfony command)
convertOnSave = 0

Every video will be added to the queue and will be processed with the corresponding task/Symfony command by default. If you want to convert the video with saving it you can enable that with this option. The video will not be added to the queue.

mimeTypes

# cat=basic; type=string; label=Supported mime types (comma separated)
mimeTypes = video/mp4,video/ogg,video/x-m4v,application/ogg

You can decide the mime types which will be considered by the convertion.

maxVideoFileSize

# cat=basic; type=int+; label=Max file size of original video to convert (videos which are larger wil be ignored)
maxVideoFileSize = 0

You can set a maximum file size of the original video to convert to avoid a possible server overload. If this value is greater than 0 videos which are larger than the entered value wil be ignored during convertion.

storagePid

# cat=basic; type=int+; label=Save queue items in this folder/storage
storagePid = 0

You can set a specific folder/storage where queue items will be stored by entering the corresponding page uid.

Troubleshooting and logging

If something does not work as expected take a look at the log file. Every problem is logged to the TYPO3 log (normally found in var/log/typo3_*.log)

Drawbacks to keep in mind

Note that this extension produces an additional load on your server (each supported video will be processed) and possibly creates a lot of additional files that consume disk space. Size varies depending on your configuration.

Achieving more together or Feedback, Feedback, Feedback

I'm grateful for any feedback! Be it suggestions for improvement, extension requests or just a (constructive) feedback on how good or crappy the extension is.

Feel free to send me your feedback to contact me on Slack


All versions of webm with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
typo3/cms-core Version ^12.4
php-ffmpeg/php-ffmpeg Version ^1.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 passionweb/webm contains the following files

Loading the files please wait ....