---
title: "Streamline: custom video pipelines with Cloudflare Stream and Workers"
description: "Cloudflare released Streamline, a developer playground that demonstrates how to build custom video pipelines using its Developer Platform. Streamline combines Workers, Containers, and Durable Objects to create long-running media processing sessions that can render dynamic annotations or burn in subtitles on livestreams and hosted videos. The architecture consists of a Media Engine running in a Container, controlled by a Worker application that handles orchestration and preview via Durable Objects. The Media Engine uses FFmpeg for processing and supports inputs from RTMPS, HLS, or webcam, with output to Cloudflare Stream or WebSocket preview. Streamline is open source, with repositories for the media engine and an example application, and a public playground is available for testing."
---

# Streamline: custom video pipelines with Cloudflare Stream and Workers

[Cloudflare](https://yomu.fyi/company/cloudflare) · Taylor Smith · Oct 2, 2026

**Type:** Announcement

## Summary

Cloudflare released Streamline, a developer playground that demonstrates how to build custom video pipelines using its Developer Platform. Streamline combines Workers, Containers, and Durable Objects to create long-running media processing sessions that can render dynamic annotations or burn in subtitles on livestreams and hosted videos. The architecture consists of a Media Engine running in a Container, controlled by a Worker application that handles orchestration and preview via Durable Objects. The Media Engine uses FFmpeg for processing and supports inputs from RTMPS, HLS, or webcam, with output to Cloudflare Stream or WebSocket preview. Streamline is open source, with repositories for the media engine and an example application, and a public playground is available for testing.

## Context

The post describes Streamline as a new developer playground that demonstrates how to build custom video pipelines on Cloudflare’s Developer Platform. It explains the architecture using Workers, Containers, and Durable Objects, and provides details on the Media Engine, API, and deployment.

## Approach / What changed

Streamline uses a Container running a Go-based controller and FFmpeg processor, controlled by a Worker application with Durable Objects for orchestration and preview relay. The system supports RTMPS, HLS, and webcam inputs, and outputs to Cloudflare Stream or WebSocket preview.

## Takeaways

- Streamline uses a Container-based Media Engine controlled by a Worker, with Durable Objects for session orchestration and preview relay.
- The Media Engine currently uses FFmpeg for processing, but the architecture is modular to allow replacing it with dedicated encoding products.
- Streamline is open source and includes a public playground for testing, with separate repositories for the media engine and example application.

## FAQ

### What video inputs does Streamline support?

Streamline supports RTMPS playback from Stream Live, HLS manifests and segments from hosted videos, and direct webcam input.

### How does Streamline handle long-running sessions?

The Container continues processing even if the controlling Worker disconnects, with a maximum duration to prevent indefinite runs.

### Is Streamline available for my own projects?

Yes, Streamline is open source on GitHub, and a public playground is available at playground.streamline-video.workers.dev.

**Tags:** [Cloudflare Stream](https://yomu.fyi/topic/cloudflare-stream), [Containers](https://yomu.fyi/topic/containers), [Durable Objects](https://yomu.fyi/topic/durable-objects), [Video Pipelines](https://yomu.fyi/topic/video-pipelines), [Workers](https://yomu.fyi/topic/workers)

- Source: [Cloudflare](https://blog.cloudflare.com/streamline)
- Source URL: https://blog.cloudflare.com/streamline
- Ingested by Yomu: 2026-10-02T18:00:10.241Z

[Read original post](https://blog.cloudflare.com/streamline)
