CCloud Releases
Home
Following

Cloud Releases

Service catalogues and updates come from each provider's public product listing and announcements.

Explore

  • Home
  • Latest updates
  • Following

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Use

Providers

  • Amazon Web Services
  • Microsoft Azure
  • Google Cloud
  • Cloudflare

Not affiliated with any cloud provider. Product names and logos belong to their owners.

  1. Providers
  2. ›Cloudflare
  3. ›Stream
  4. ›Update

Feature•Mar 18, 2026

Media Transformations binding for Workers

StreamCloudflare · Developer platform

You can now use a Workers binding to transform videos with Media Transformations. This allows you to resize, crop, extract frames, and extract audio from videos stored anywhere, even in private locations like R2 buckets.

The Media Transformations binding is useful when you want to:

  • Transform videos stored in private or protected sources
  • Optimize videos and store the output directly back to R2 for re-use
  • Extract still frames for classification or description with Workers AI
  • Extract audio tracks for transcription using Workers AI

To get started, add the Media binding to your Wrangler configuration:

{ "$schema": "./node_modules/wrangler/config-schema.json", "media": { "binding": "MEDIA" } }

[media] binding = "MEDIA"

Then use the binding in your Worker to transform videos:

export default { async fetch(request, env) { const video = await env.R2_BUCKET.get("input.mp4"); const result = env.MEDIA.input(video.body) .transform({ width: 480, height: 270 }) .output({ mode: "video", duration: "5s" }); return await result.response(); }, };

export default { async fetch(request, env) { const video = await env.R2_BUCKET.get("input.mp4"); const result = env.MEDIA.input(video.body) .transform({ width: 480, height: 270 }) .output({ mode: "video", duration: "5s" }); return await result.response(); }, };

Output modes include video for optimized MP4 clips, frame for still images, spritesheet for multiple frames, and audio for M4A extraction.

For more information, refer to the Media Transformations binding documentation.

Read the original announcement↗

More from Stream

All Stream updates →
  1. Rotate Stream broadcast keys for live inputs

    You can now rotate the broadcast credentials for a Stream live input without changing the live input identifier.

    Stream•Feature•Jul 31, 2026
  2. Introducing Stream Bindings for Workers

    You can now interact with your Stream video library using new bindings for Workers! This allows customers to upload content to Stream, provision direct uploads, manage videos, and generate signed URLs from a Worker without making authenticated API calls.

    Stream•Feature•May 7, 2026
  3. Stream live inputs can now be disabled and enabled

    You can now disable a live input to reject incoming RTMPS and SRT connections. When a live input is disabled, any broadcast attempts will fail to connect.

    Stream•Feature•Feb 24, 2026