Video Encoding Troubleshooting
Diagnose stuck encodes, missing webhooks, playback failures, signed URL errors and provider credential problems.
3 min read·3 tags
Video encoding depends on two things working together: Media Cloud sending the video to the provider, and the provider calling Media Cloud’s webhook when encoding finishes. Most failures are one of those two steps.
First checks
- Run Media Cloud → System Compatibility to confirm background processing and outbound HTTP requests work.
- Open Media Cloud → Logs and set the logging level to Info while you reproduce the problem.
- Confirm the site is publicly reachable. A local site needs a tunnel such as ngrok.
- Confirm the selected provider’s credentials are saved under Video Encoding → Credentials.
Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Video stays in a queued or processing state | The webhook never reached Media Cloud, or the provider could not fetch the source video. | Check the webhook URL and public accessibility; confirm the source URL is reachable. |
| 401 or 403 from the provider | Wrong API key, token permissions, or environment. | Re-enter the credentials for the selected provider. |
| Video imports into the wrong environment | Sandbox and production credentials are mixed. | Check api.video Sandbox Mode or the Mux test-mode setting. |
| No poster image | The webhook has not delivered the ready event, or the provider has not generated a thumbnail yet. | Wait for encoding to finish; check the log for webhook errors. |
| HLS video does not play | The provider CDN URL is wrong, the player is disabled, or the page is mixing HTTP and HTTPS. | Verify the CDN URL includes https://; enable the Video Player feature; use HTTPS. |
| Signed URLs fail | OpenSSL is missing, the signing key is wrong, or the URL expired. | Enable the PHP OpenSSL extension; check the security settings and expiration. |
| Embedded player does not appear | The provider’s embedded-player option is off, or the Video Player tool is disabled. | Enable the option under Video Encoding → Player Options and enable Video Player. |
| Transferred Mux video does not play | The transfer did not finish, or the destination path is wrong. | Check the transfer task report and the file at the destination. |
| Filmstrip or storyboard missing | Filmstrips were not generated for the video. | Run Regenerate Filmstrips or wp mediacloud:video storyboard <asset_id>. |
Provider-specific checks
Mux
- The Web Hook URL and Web Hook Secret must match the webhook in the Mux dashboard.
- The site must be publicly accessible for Mux to call the webhook.
- If you transferred videos out of Mux and deleted them there, they cannot be relinked.
Cloudflare Stream
- The API token needs Account → Stream → Edit.
- The Customer Subdomain must include
https://. - The plugin registers the webhook automatically. If the site URL changes, re-save the settings.
Bunny Stream
- The webhook must be added manually in the Bunny Stream library.
- The CDN URL must be the library’s CDN hostname, including the scheme.
- If token authentication is enabled in Bunny, enable Secure Videos and add the token authentication key.
api.video
- Sandbox and production use different API keys.
- Media Cloud registers the webhook automatically; the Webhook Host must be public.
- If you change domains, re-save the video encoding settings.
Logs and reports
Media Cloud’s log viewer records provider API errors and webhook events. Task reports are written to wp-content/mcloud-reports and can be opened in the Report Viewer.
If a video still fails after these checks, contact support with:
- The provider and the video attachment ID.
- The log entries around the upload and webhook.
- Whether the site is publicly accessible.
Need a hand with this guide?
Send support the exact step you’re stuck on and we’ll help you finish the setup.