# UE5.4 - UE5.5.4 WmfMedia MediaPlayer stuttering on loop play

**URL:** <https://forums.unrealengine.com/t/ue5-4-ue5-5-4-wmfmedia-mediaplayer-stuttering-on-loop-play/2460646>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, bug-report\
**Created:** [April 17, 2025, 3:02am UTC](https://forums.unrealengine.com/t/ue5-4-ue5-5-4-wmfmedia-mediaplayer-stuttering-on-loop-play/2460646 "2025-04-17T03:02:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoralSeawr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coralseawr/32/947600_2.png) [@CoralSeawr](https://forums.unrealengine.com/u/CoralSeawr)\
**Post date:** [April 17, 2025, 3:02am UTC](https://forums.unrealengine.com/t/ue5-4-ue5-5-4-wmfmedia-mediaplayer-stuttering-on-loop-play/2460646/1 "2025-04-17T03:02:31Z")

</div>

When using WmfMedia to play videos in the UE5.4 - UE5.5.4 versions, the phenomenon of video stuttering after multiple loops will occur. The result is the same whether RHI is set to DX11 or DX12.

---

<div class="post-metadata">

**Author:** ![CoralSeawr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coralseawr/32/947600_2.png) [@CoralSeawr](https://forums.unrealengine.com/u/CoralSeawr)\
**Post date:** [May 27, 2025, 1:19am UTC](https://forums.unrealengine.com/t/ue5-4-ue5-5-4-wmfmedia-mediaplayer-stuttering-on-loop-play/2460646/2 "2025-05-27T01:19:48Z")

</div>

solve：

 ![20250527091853](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/1/4/a14a6fbef5726ccb4f0871048e6d641910a27b8e.png)

---

<div class="post-metadata">

**Author:** ![monkeyluckyn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/monkeyluckyn/32/1060865_2.png) [@monkeyluckyn](https://forums.unrealengine.com/u/monkeyluckyn)\
**Post date:** [May 27, 2025, 4:50am UTC](https://forums.unrealengine.com/t/ue5-4-ue5-5-4-wmfmedia-mediaplayer-stuttering-on-loop-play/2460646/3 "2025-05-27T04:50:30Z")

</div>

> [@CoralSeawr](#):
>
> When using WmfMedia to play videos in the UE5.4 - UE5.5.4 versions, the phenomenon of video stuttering after multiple loops will occur. The result is the same whether RHI is set to DX11 or DX12.

### How to Fix Video Stuttering with WmfMedia in UE5.4 - UE5.5.4

**Problem:**  
When playing videos using **WmfMedia** in Unreal Engine 5.4 to 5.5.4, the video stutters or lags after looping multiple times. This happens regardless of whether you use DirectX 11 (DX11) or DirectX 12 (DX12).

**Simple Fix Steps:**

1. **Update Your Media Plugin:**  
Sometimes the WmfMedia plugin has bugs fixed in later versions. Check if there’s an updated version of the plugin or engine that improves video playback stability.
2. **Use a Different Media Player:**  
Instead of WmfMedia, try using **Platform Media Player** or another supported media plugin, which might handle looping videos better.
3. **Manually Reset Media Player on Loop:**  
After the video finishes playing, instead of looping automatically, stop the media player and then start it again. This can reduce memory leaks or resource buildup that causes stuttering.Example pseudo-code:

scss

Sao chépChỉnh sửa

```auto
OnVideoEnd() {
    MediaPlayer->Close();
    MediaPlayer->Open(VideoSource);
    MediaPlayer->Play();
}

```

1. **Lower Video Quality or Resolution:**  
High-resolution videos might cause performance issues over time. Try using lower resolution or bitrate for the videos to reduce load.
2. **Check GPU and Drivers:**  
Ensure your graphics drivers are updated and your GPU is not overloaded during playback.

* * *

### Summary

Video stuttering with WmfMedia looping in UE5.4-5.5.4 is a known issue. The easiest way to fix it is to **manually restart the media player after each loop** or **switch to a different media plugin**. Also, keep your engine and plugins updated.
