Improve initial playback quality for short looping videos in AEM Dynamic Media
Short looping videos (4 seconds or shorter) in AEM Dynamic Media may start playback in a low-resolution rendition and continue looping without switching to higher quality, even when sufficient bandwidth is available. To fix the issue, adjust the viewer’s initial bitrate setting to prioritize higher-quality renditions at startup.
Description description
Environment
Adobe Experience Manager (AEM) Dynamic Media, all versions.
Issue/Symptoms
When using adaptive video encoding with the Smart Crop Video Viewer, short looping videos (4 seconds or shorter) may initially play in a low-resolution rendition. For these short videos, especially when set to loop, playback may never switch to a higher-quality rendition, resulting in a consistently low-quality viewing experience even under good bandwidth conditions. No error messages are displayed; the issue is a visual quality concern.
Cause
The Smart Crop Video Viewer selects the initial video rendition based on the initialbitrate setting. By default, this value is set to approximately 1400 kbps, which causes the viewer to start playback with the nearest lower rendition (e.g., 700–1,200 kbps). For very short or looping videos, there isn’t enough time for the adaptive streaming logic to switch to a higher-quality rendition before the video loops, so playback remains in the lower-quality rendition.
Resolution resolution
To fix the issue where short looping videos start and remain in low-resolution playback due to adaptive streaming settings, follow these steps:
- Identify the viewer preset used for Smart Crop Video playback (SmartCropVideoViewer or SmartCropVideoPlayer).
- Open the Smart Crop Video Viewer configuration in AEM Dynamic Media.
- Locate the
initialbitratesetting in the configuration. By default, this is set to around 1,400 kbps. - Increase the value of
SmartCropVideoPlayer.initialbitrateto a higher bitrate (for example, 3,000-5,000 kbps), based on the available renditions in your video profile. - Save the updated viewer configuration.
- Test playback of short looping videos to confirm that playback now starts with the desired high-quality rendition.
- If further tuning is needed, adjust the
initialbitratevalue according to your renditions and target user experience.
For more details on configuring the Smart Crop Video Viewer, refer: SmartCropVideoPlayer.initialbitrate