Video playback fails due to corrupt encoding in AEM Dynamic Media
Video playback stops midway in Adobe Experience Manager (AEM) Dynamic Media due to corruption in the encoding of certain video assets. This issue often appears in Microsoft Edge and triggers decoding errors. Re-encoding the affected videos and uploading them back into AEM Dynamic Media restores proper playback.
Description description
Environment
Adobe Experience Manager (AEM) Dynamic Media / Scene7
Issue/Symptoms
- Video playback stops partway through during streaming.
- An error code MEDIA_ERR_DECODE appears in Video.js, especially when using Microsoft Edge.
- Some video assets are missing the required metadata nodes compared to unaffected assets.
- The playback issue occurs intermittently and doesn’t affect all videos or all viewers.
Resolution resolution
Follow these steps to resolve the issue:
- Identify the video asset that fails during playback.
- Re-encode the asset using Adobe Media Encoder with the default preset (Format: H.264, Preset: Match Source – high bitrate).
- Upload the newly encoded video back into AEM Dynamic Media.
- Apply the correct encoding profile at the folder level where the asset is stored.
- Repeat these steps for any additional affected assets.
- Verify metadata nodes for each reprocessed asset in CRX/DE or an equivalent repository browser.
- Test playback in Microsoft Edge and confirm the video plays without MEDIA_ERR_DECODE errors.
Related reading
- Upload and encode videos in the Dynamic Media Classic Guide
- Fix video upload, processing, and rendering issues in AEM in the Experience League Documentation
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f