Skip to content
Media CloudDocs
Happy HolidaysSave 20% with codeValid through December 31Shop the sale
Migrating Existing Videos
On this page

Migrating Existing Videos

Encode existing library videos, transfer Mux renditions to your storage, relink them, and regenerate player filmstrips.

2 min read·4 tags

When you enable video encoding on a site that already has videos, or move encoded videos between Mux and your own storage, Media Cloud provides batch tasks for the library.

Always back up your database before running a batch task.

Encode existing videos

Use Encode Existing Videos under Media Cloud → Tools to send videos that have not yet been encoded by the currently selected provider. The task works with videos stored locally or in cloud storage.

Run it after:

  • Enabling video encoding for the first time.
  • Changing the video encoding provider.

Videos already encoded by the current provider are skipped.

Transfer Mux videos to storage

Pro users can copy HLS renditions out of Mux:

  1. Open Media Cloud → Tools → Transfer Mux Videos.
  2. Set the destination path, or leave the default /videos/hls/.
  3. Enable Delete Transferred Videos From Mux only after you have verified the transfer.

After transfer, the Media Cloud player serves the videos from your local server or cloud storage instead of Mux.

You can also run the transfer from WP-CLI:

wp mediacloud:video transfer --dest=/videos/hls/ [--limit=<number>] [--page=<number>] [--delete] [--local-only] [--skip-transferred]

--dest is required. --local-only stores the renditions on the web server instead of cloud storage. --delete removes the Mux asset after a successful transfer.

If a transferred video needs to be served from Mux again, run Relink Mux Videos under Media Cloud → Tools, or:

wp mediacloud:video relink [--limit=<number>] [--page=<number>]

Videos deleted from Mux during transfer cannot be relinked.

Regenerate filmstrips

Regenerate Filmstrips rebuilds the thumbnail filmstrip used by the player for videos encoded by Mux. Run it after changing player filmstrip settings or when thumbnails are missing.

Generate a storyboard

To generate a storyboard for a single attachment:

wp mediacloud:video storyboard <asset_id>

Media Cloud also generates storyboards when a video is uploaded (Media Cloud 4.7.3 and newer).

Notes

  • Transferring to storage requires working background processing.
  • Changing providers does not delete assets from the old provider. Remove them in the provider dashboard when you are sure you no longer need them.
  • For Mux-specific transfer settings, see Mux Integration.

Need a hand with this guide?

Send support the exact step you’re stuck on and we’ll help you finish the setup.

Contact support
Start typing to search the docs

Escto close·⌘Kto open

View all results →