On-the-Fly Packager (OTFP)

Dynamically package your video content in real time

Content deliveryNetwork servicesOnline mediaStreaming mediaOn-The-Fly-Packager

Instead of pre-packaging VOD files to suit different formats, let Fastly’s On-the-Fly Packager (OTFP) cut storage costs, tailor content and unlock operational efficiencies.

On this page

How OTFP can help

OTFP lets you store files and dynamically package and deliver optimized versions when requested. It supports common streaming formats and resolutions to give you flexibility when delivering online media. OTFP lets you package and deliver different versions for mobile users as their network connection improves or degrades. And since it only package what viewers request, you deliver only what is needed.

On-the-Fly Packager (OTFP) Datasheet diagram


Get personalized content in front of your viewers

Simplify your workflow and eliminate the need to generate static segments. Enjoy the flexibility of being able to package and deliver for the right streaming protocols (HLS, MPEG-DASH).

Reduce storage costs

Fastly’s OTFP helps lower costs associated with duplicate content for different packaging protocols. By tailoring media dynamically on-the-fly, you no longer need to store multiple versions of the same content.

Save time on the back end

Enjoy greater flexibility and control with OTFP’s multiple digital rights management (DRM) integrations and dynamic ad insertion (DAI) support. Integrate with leading DAI partners, and leverage HLS-timed metadata as well as content preconditioning to save time. 

JW Player logo

"One of the things Fastly provides that has allowed us to be successful is their On-the-Fly Packager. Our originals are being packaged for us rather than JW Player having to package everything ourselves. It’s worked really well, and Fastly has helped us a ton."

George Ponick

Senior Engineering Manager

OTFP Specifications

Packaging / Transmuxing

  • HLS (Transport Stream & Fragmented MP4), MPEG-DASH, HDS

  • Audio-only streaming supported

Source Formats

  • .mp4, .mov, .m4a, .m4v


  • Video: AVC/H.264, HEVC/H.265 

  • Audio: AAC, MP3, AC3, E-AC3


  • SD, HD and UHD 4K support • HFR support

Subtitles / Closed Captioning

  • Multi-language

  • In-band (CEA 608/708) & out-of-band (WebVtt)


  • TLS delivery (Manifests & segments)

  • Token authentication (Manifests & segments)

  • Content targeting (Geo IP, VPN/proxy, & device detection) 

  • Media encryption (HLS, MPEG-DASH)

  • Multi-DRM support & integration

Web Page
On-the-Fly Packager (OTFP)

Your video content, packaged dynamically in real time

On-The-Fly Packager Demo

See how OTFP eliminates offline video pre-processing tasks

Fastly for Streaming Media

Learn how you can accelerate your media delivery for improved user engagement with Fastly

Case Study
Skillsoft and Fastly Case Study

Read about how Skillsoft uses OTFP and other Fastly features to scale video by 400%

Meet a more powerful global network.

Our network is all about greater efficiency. With our strategically placed points of presence (POPs), you can scale on-demand and deliver seamlessly during major events and traffic spikes. Get the peace of mind that comes with truly reliable performance — wherever users may be browsing, watching, shopping, or doing business.

313 Tbps

Edge network capacity1

150 ms

Mean purge time2

>1.8 trillion

Daily requests served4

~90% of customers

Run Next-Gen WAF in blocking mode3

As of September 30, 2023

As of December 31, 2019

As of March 31, 2021

As of July 31, 2023

Support plans

Fastly offers several support plans to meet your needs: standard, gold and enterprise.


Free of charge and available as soon as you sign up with Fastly.


Proactive alerts for high-impact events, expedited 24/7 incident response times, and a 100% uptime Service Level Agreement (SLA) guarantee.


Gives you the added benefits of emergency escalation for support cases and 24/7 responses for inquiries (not just incidents).

Ready to get started?

Get in touch.