Fix video upload, processing, and rendering issues in AEM
Videos fail during upload, processing, publishing, or rendering in Adobe Experience Manager (AEM) due to issues such as excessive video length, mismatched encoding presets, or Dynamic Media workflow timeouts. This article explains how to resolve these issues by optimizing video profiles and adjusting workflow timeout settings for improved performance.
Description description
Environment
Adobe Experience Manager (AEM) Managed Services Support, v6.5
Issue/Symptoms
Users encounter the following problems when working with videos in AEM:
- A Process failed error appears after prolonged encoding attempts.
- Videos take excessive time to encode or fail to complete.
- Renditions are missing when specific video profiles are used.
Causes
- The video exceeds Dynamic Media’s recommended 30-minute length limit.
- The encoding preset in the video profile doesn’t match the resolution or bitrate of the uploaded video.
- The workflow timeout setting is too short for longer encoding processes.
Resolution resolution
To address this issue, follow these steps:
-
Adjust encoding presets in the video profiles to match the resolution and bitrate of uploaded videos. Reduce duplicate encodes within profiles.
-
Extend the timeout setting for the Dynamic Media processing workflow from 1 hour to 2 hours:
- Go to AEM Tools
>
Workflows. - Search for dynamic media encode video.
- Edit the step labeled Dynamic media (Post-6.3) Video… and increase the polling time.
- Go to AEM Tools
-
Modify the video profile to reduce the number of encodes and lower the bitrate. Dynamic Media supports videos up to 30 minutes long and 15GB in size. Videos that exceed the 30-minute limit—even if under 15 GB—trigger the Process failed error.
-
Identify network-related issues by testing uploads from different regions (for example, APAC vs. North America) if upload failures occur.
-
When uploading low-resolution videos to AEM, create profiles that match the original quality. Dynamic Media doesn’t upscale videos, and processing fails only if the output exceeds 10 GB.
-
Create a video profile with a single encode to ensure successful processing of longer videos. Avoid using no-encode workarounds, as they often fail and bypass Dynamic Media benefits.
-
Avoid transcoding from a lower to a higher bitrate. It increases processing time without improving quality. The transcoding service supports any video profile.