Severe lag using Media track in 4.27 Sequencer

This can be done with empty UE project. When you have a media track inside your sequencer and you play it, there’s about 50/50 chance for it to freeze the entire engine for a good 10 seconds, printing out the error:

LogMediaUtils: Error: Blocking media playback timed out. Disabling it for this playback session.

This happens both in editor and PIE. Digging into the code I seems to found that somehow the MediaPlayerFacade, using the playbackSettingV2, failed to retrieve the latest video sample, causing it to loop indefinitely until the BlockOnTime timer ran out. The initial 10 second lag can be resolved via SetBlockOnTimeRange to 0, but it doesn’t seem to remedy the subsequent low video framerate, almost 1~3 frames per second.

1 Like

Hi, I fixed this error by using Electra decoder (both for in-game playback and for MRQ export/renders)
Tutorial: https://www.youtube.com/watch?v=38ztDowh7wI

(reviving this because it comes up in google search, and I couldn’t find answer for some time)

I am having this problem as well, but have made sure I’m using Electra as the decoder. It plays the first half second or so, then pauses for 10 seconds, times out, then plays normally.

I’ve tried adjusting the start offset, the preroll amount, checking the box to load the video entirely up front before playing… everything I can think of, but the hitch persists.

I’m using UE5.3