A site that takes video uploads, whether through a Drupal media field, a WordPress plugin, or a Laravel app, needs FFmpeg for poster images and for transcoding. Phone uploads make the transcode necessary. iPhones record HEVC unless the camera is switched to “Most Compatible” ( Apple’s notes ), and browser support for HEVC depends on the operating system and the hardware: Can I use lists it as partial in Chrome, Edge, and Firefox. H.264 in an MP4 plays in every current browser .
I set this up in a DDEV php project to see what it takes locally: FFmpeg in the web container, uploads larger than 100 MB, and a transcode that doesn’t hold the upload request open. Everything below ran on DDEV v1.25.5, and again on v1.25.6, with Colima on an Apple Silicon Mac.…