<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/migrating-videos-across-platforms-reliably-zsqinyrjd" -->

---
title: Migrating videos across platforms reliably | daily.dev
description: Mux built Truckload, an open source framework for migrating large video collections between hosting platforms, using Inngest to orchestrate long-running,...
canonical: https://daily.dev/posts/migrating-videos-across-platforms-reliably-zsqinyrjd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Migrating videos across platforms reliably | daily.dev
og:description: Mux built Truckload, an open source framework for migrating large video collections between hosting platforms, using Inngest to orchestrate long-running,...
og:url: https://daily.dev/posts/migrating-videos-across-platforms-reliably-zsqinyrjd
og:image: https://api.daily.dev/og/posts/zSQinyRJd.png
og:image:alt: Migrating videos across platforms reliably
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrating videos across platforms reliably

**[Inngest Blog](https://daily.dev/sources/inngest)** · 9 min read · 0 upvotes · 0 comments

## Summary

Mux built Truckload, an open source framework for migrating large video collections between hosting platforms, using Inngest to orchestrate long-running, multi-step background jobs. The post walks through how Inngest functions fetch paginated video lists, fan out per-video processing events, invoke provider-specific fetch and transfer functions, encrypt user credentials between steps, and report progress to a client via PartyKit. Key takeaways include decoupling Inngest functions from a strict 1:1 event mapping, encrypting sensitive data between workflow steps, and surfacing job progress to end users.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/mux-migrating-video-collections>

## Questions this post answers

### How can I encrypt sensitive credentials between steps in an Inngest workflow?

Inngest provides encryption middleware that automatically encrypts sensitive data, such as end-user API credentials, as soon as it reaches the server, and only decrypts it at the moment a step needs to make a third-party API call. This avoids persisting credentials in a datastore, which is useful for one-off tasks like video migrations where long-term credential storage is unnecessary.

_daily.dev surfaces workflow patterns like this for developers handling sensitive data across job steps._

### How do you handle migrating a large collection of videos between hosting platforms without timeouts?

Break the migration into discrete steps orchestrated by a durable function runner: first paginate through the source platform's API to build a full video list, then fire a separate processing event per video so each transfer runs independently with automatic retries and concurrency limits. Mux's Truckload framework uses Inngest this way, fetching an MP4 rendition URL per video and creating a new asset on the destination platform.

_developers designing resilient migration pipelines can track patterns like this on daily.dev._

## Similar posts on daily.dev

- [Automating Complex Workflow in Your Next.js App with Inngest](https://daily.dev/posts/automating-complex-workflow-in-your-next-js-app-with-inngest-z21aksfdw) · Telerik · 2 upvotes · 0 comments
- [Customer story](https://daily.dev/posts/customer-story-eeflvqqvv) · Inngest Blog · 0 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#inngest](https://daily.dev/tags/inngest), [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/migrating-videos-across-platforms-reliably-zsqinyrjd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Migrating videos across platforms reliably","url":"https://daily.dev/posts/migrating-videos-across-platforms-reliably-zsqinyrjd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/migrating-videos-across-platforms-reliably-zsqinyrjd"},"datePublished":"2026-09-13T19:57:08.565Z","dateModified":"2026-10-15T02:22:32.530Z","description":"Mux built Truckload, an open source framework for migrating large video collections between hosting platforms, using Inngest to orchestrate long-running,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e552c23df1a76f262b266c7b0b952d3b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e552c23df1a76f262b266c7b0b952d3b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/migrating-videos-across-platforms-reliably-zsqinyrjd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,inngest,typescript","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"Migrating videos across platforms reliably"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/migrating-videos-across-platforms-reliably-zsqinyrjd#faq","mainEntity":[{"@type":"Question","name":"How can I encrypt sensitive credentials between steps in an Inngest workflow?","acceptedAnswer":{"@type":"Answer","text":"Inngest provides encryption middleware that automatically encrypts sensitive data, such as end-user API credentials, as soon as it reaches the server, and only decrypts it at the moment a step needs to make a third-party API call. This avoids persisting credentials in a datastore, which is useful for one-off tasks like video migrations where long-term credential storage is unnecessary. daily.dev surfaces workflow patterns like this for developers handling sensitive data across job steps."}},{"@type":"Question","name":"How do you handle migrating a large collection of videos between hosting platforms without timeouts?","acceptedAnswer":{"@type":"Answer","text":"Break the migration into discrete steps orchestrated by a durable function runner: first paginate through the source platform's API to build a full video list, then fire a separate processing event per video so each transfer runs independently with automatic retries and concurrency limits. Mux's Truckload framework uses Inngest this way, fetching an MP4 rendition URL per video and creating a new asset on the destination platform. developers designing resilient migration pipelines can track patterns like this on daily.dev."}}]}
```

