
11/6/2025 · Pakhi Sinha
What this post added
Introduced audio extraction capabilities for Cloudflare Stream. This involved extending both the Video-on-Demand (VOD) pipeline to allow for M4A downloads and the On-the-Fly Encoding (OTFE) pipeline to support on-the-fly audio extraction via Media Transformations. For VOD, new type-specific API endpoints were added, and the asynchronous queue consumer was updated to handle audio download types and use ffmpeg templates for M4A encoding. For OTFE, validation logic was extended to check for audio tracks, and a new transformation handler was built to discard visual tracks and deliver M4A files.