Install
Works with Drupal: ^11.3 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Second beta of FFmpeg Media 1.0 and the rescue release after an external review of 1.0.0-beta1. It is a pre-release: it is not covered by Drupal's security advisory policy. The extension API in ffmpeg_media.api.php keeps its compatibility promise for all of 1.x; configuration, storage layout and every @internal type may still change.
I used AI coding assistants to build this release. They wrote most of the code, tests and documentation based on my instructions.
Upgrading
Sites on 1.0.0-beta1 follow Updating from 1.0.0-beta1: stop every conversion worker and cron job, deploy the complete module tree, clear the compiled container before the first full bootstrap (drush updb included), run drush updb, and replace the two worker units by one drush ffmpeg:worker.
This release removes the update hooks of the 1.0.0-alpha releases. A site on an alpha must first update to 1.0.0-beta1 and run all its database updates (see the Beta 1 upgrade guide); the database update refuses a direct jump from an alpha.
Requirements
- Drupal 11.3 and later 11.x are declared; the release gates run Drupal 11.4.10, and Drupal 11.3 itself is not tested. Drupal 12 is experimental, tested on 12.0.0-beta2; it needs Composer Drupal Lenient, Drush 14 and minimum-stability dev.
- PHP 8.5 or later; FFmpeg and FFprobe 8.x or 9.x on every web, cron and queue-worker host; Linux with local storage.
- Advanced Queue ~1.7.0. The module now declares its Advanced Queue patch itself, so Composer Patches 2.x applies it during the same run (required on Drupal 12, removes deprecations on Drupal 11). The installation guide lists the remaining root-project patches with their SHA-256 checksums.
Main changes since 1.0.0-beta1
- Uploads are always queued, however many conversions run. One queue and one worker command (drush ffmpeg:worker) replace the two queues; the large-file threshold is gone. Sites that lost uploads on Beta 1 run drush ffmpeg:requeue-missing once.
- The recipes now import their configuration, so the README quick start converts. H.264 with AAC is the default for new sites; AV1 and VP9 stay available. There is no default size limit any more.
- Outputs of a private source are stored in the private file system, never in public storage. Private HLS and DASH keep playing after a backup restore, an rsync or a storage move; optional web-server delivery and signed segment URLs are new.
- Hardware encoders are used only after FFmpeg encoded test frames with them. Workers check free disk space before a conversion and wait instead of failing.
- Two workers no longer deadlock on expired leases and fail the first attempt of a conversion.
- DASH with a time-based segment pattern no longer references an audio chunk that was never written. Whisper on music or silence ends as "No speech detected" without retries.
- Recovery, retention, CDN and file-mutation code was split into small, individually tested classes. The module is no longer marked experimental in its .info.yml files.
The complete list, including removed settings, commands and internal constructors, is in the changelog.
Quality evidence and known limitations
A local gate on the release candidate ran unit, kernel, functional and browser tests (Chromium, Firefox, WebKit) on Drupal 11.4.10 and 12.0.0-beta2, plus fresh-install and Beta 1 upgrade acceptance runs on both. Module-wide line coverage was 95.98 % and critical-code coverage 99.81 %. The release pipeline named below then passed on the tagged commit.
Mutation testing is advisory in this release and did not reach its 90 % goal: the last complete local campaign scored 85.6 % over 38 of 40 shards. The pipeline job reports its result without failing the pipeline; the 90 % requirement becomes blocking again in 1.0.0-beta3.
This release's evidence contains no positive run on real GPU hardware (Beta 1 was tested with NVIDIA NVENC only). CDN delivery was tested only against MinIO, playback was not verified on real Apple devices, and throughput was measured only with synthetic clips. PostgreSQL and SQLite are untested for production use. Live streaming is not supported.
Release gate: pipeline 1006670 on commit 8504af2229142aac60d68aed3755c9cf8210c181.