# Looping movie has a black frame pop in on loop

**URL:** <https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901>\
**Category:** UI\
**Tags:** movie, unreal-engine, looping, question, UMG\
**Created:** [November 9, 2016, 11:56pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901 "2016-11-09T23:56:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Li-Shi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Li-Shi](https://forums.unrealengine.com/u/Li-Shi)\
**Post date:** [November 9, 2016, 11:56pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/1 "2016-11-09T23:56:59Z")

</div>

I’m using a media playlist to play a 30 second looping movie in the background of the front end.

At the loop point, there is a visible pop as it looks like an all black frame is being inserted. Is there any way to keep this from happening? I’ve tried using a WMV and a MP4, but the issue happens in both.

---

<div class="post-metadata">

**Author:** ![willbrowning](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@willbrowning](https://forums.unrealengine.com/u/willbrowning)\
**Post date:** [April 27, 2017, 2:16pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/2 "2017-04-27T14:16:51Z")

</div>

I have the same problem in 4.15.1. Were you able to find a solution?

---

<div class="post-metadata">

**Author:** ![Li-Shi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Li-Shi](https://forums.unrealengine.com/u/Li-Shi)\
**Post date:** [April 27, 2017, 3:29pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/3 "2017-04-27T15:29:16Z")

</div>

Originally, I think we’d only had the movie looping through UMG. It’s been a while, but I think the issue was fixed when it was set to loop in the actual media player. (see pic)

 ![135790-looping.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/2/f02f60b27426ff39267c34fe4b6c6c03a3df8e26.jpeg)

---

<div class="post-metadata">

**Author:** ![mertyildiran](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mertyildiran](https://forums.unrealengine.com/u/mertyildiran)\
**Post date:** [August 8, 2017, 11:54pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/4 "2017-08-08T23:54:37Z")

</div>

That’s not an answer!

---

<div class="post-metadata">

**Author:** ![jinzay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jinzay](https://forums.unrealengine.com/u/jinzay)\
**Post date:** [February 9, 2018, 11:34am UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/5 "2018-02-09T11:34:19Z")

</div>

Sitting here with 4.18 and no solution to be found. Any news? How is this possible…

---

<div class="post-metadata">

**Author:** ![myavuz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@myavuz](https://forums.unrealengine.com/u/myavuz)\
**Post date:** [February 9, 2018, 12:26pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/6 "2018-02-09T12:26:27Z")

</div>

Solution is easy.

Open your “media texture” and uncheck “auto clear”.

If auto clear is off there should be no black frame.

But it doesnt work if you have a lot of different media player which should be looping.

I think one video with loop is ok but when I tried using more than one it started to lag.

---

<div class="post-metadata">

**Author:** ![myavuz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@myavuz](https://forums.unrealengine.com/u/myavuz)\
**Post date:** [February 9, 2018, 12:37pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/7 "2018-02-09T12:37:44Z")

</div>

![230059-autoclear.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/2/dc2a067867b3e3ebcbc00a58c9b9b63b92433857.jpeg)

---

<div class="post-metadata">

**Author:** ![jinzay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jinzay](https://forums.unrealengine.com/u/jinzay)\
**Post date:** [February 9, 2018, 1:10pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/8 "2018-02-09T13:10:00Z")

</div>

does not work for me. Still get black frames with every video. even in the editor where just 1 runs.

---

<div class="post-metadata">

**Author:** ![myavuz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@myavuz](https://forums.unrealengine.com/u/myavuz)\
**Post date:** [February 9, 2018, 1:28pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/9 "2018-02-09T13:28:35Z")

</div>

try using .mov file. I tried using .mp4 and it didnt work but with .mov it does work for me.

---

<div class="post-metadata">

**Author:** ![Somebody\_Q](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Somebody\_Q](https://forums.unrealengine.com/u/Somebody_Q)\
**Post date:** [May 7, 2019, 12:55pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/10 "2019-05-07T12:55:59Z")

</div>

我使用了如下图的方法来解决这个黑色单帧的问题。蓝图为在播放一段视频后连续播放一段循环视频。

 ![276222-umg-play-movie.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/3/563d149b68968e311c39984b289e48dd3533966d.png)

---

<div class="post-metadata">

**Author:** ![Teapot\_Creation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Teapot\_Creation](https://forums.unrealengine.com/u/Teapot_Creation)\
**Post date:** [May 21, 2019, 1:13pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/11 "2019-05-21T13:13:47Z")

</div>

And still the same in 4.21…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0588a36d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0588a36d](https://forums.unrealengine.com/u/anonymous_user_0588a36d)\
**Post date:** [December 14, 2020, 1:20pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/12 "2020-12-14T13:20:22Z")

</div>

working just fine for me just for a while , i using mp4 with h264 codec , but sometimes stills popup , but no black , goes with the first frame . Anyone?

---

<div class="post-metadata">

**Author:** ![Peter.Whiting](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Peter.Whiting](https://forums.unrealengine.com/u/Peter.Whiting)\
**Post date:** [April 7, 2021, 11:28am UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/13 "2021-04-07T11:28:07Z")

</div>

The reason the black frames are happening is, I think, because Unreal takes a few milliseconds to load the video file. I can’t find any pre-streaming options to reduce or remove that load time.

Consequently, as the video is loading, what you’re seeing is either the ‘Clear Color’ (if ‘Auto Clear’ is ticked) or the last frame of the previous video (if ‘Auto Clear’ isn’t ticked).

There are four parts to the solution:

1. **Media Texture:** Set the alpha value of the ‘Clear Color’ to 0.0. This makes the black frames transparent
2. **Media Material:** If you haven’t already, right-click on the Media Texture and ‘Create Material’
3. **Media Material:** a - In the material connect RGB to ‘Final Color’, b - set the Blend Mode to ‘Masked’ and c - connect A to ‘Opacity Mask’
4. **Media Player:** Use the Media Material on your widget or brush. The initial black frames will now be transparent

 ![335044-untitled2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/c/e4c0c2a9f427de5bdf16cfcf6abf3f8410e52267.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter.Whiting](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Peter.Whiting](https://forums.unrealengine.com/u/Peter.Whiting)\
**Post date:** [April 7, 2021, 11:31am UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/14 "2021-04-07T11:31:45Z")

</div>

The reason the black frames are happening is, I think, because Unreal takes a few milliseconds to load the video file. I can’t find any pre-streaming options to reduce or remove that load time.

Consequently, as the video is loading, what you’re seeing is either the ‘Clear Color’ (if ‘Auto Clear’ is ticked) or the last frame of the previous video (if ‘Auto Clear’ isn’t ticked). The delay/load time will _always_ be there, but you can mask the blackness.

There are four parts to the solution:

1. **Media Texture:** Set the alpha value of the ‘Clear Color’ to 0.0. This makes the black frames transparent eventually
2. **Material:** If you haven’t already, right-click on the Media Texture and ‘Create Material’. This creates a Media Material that you can use with a Widget or assign to an object (assuming you’re using a Widget to display the video)
3. **Media Material:** a - In this Media Material connect RGB to ‘Final Color’, b - set the Blend Mode to ‘Masked’ and c - connect A to ‘Opacity Mask’. The ‘Clear Color’ attribute _needs_ a material to tell it that it’s transparent
4. **Media Player:** Use the **Media Material** on your widget or brush. The initial black frames will now be transparent

 ![335044-untitled2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/c/e4c0c2a9f427de5bdf16cfcf6abf3f8410e52267.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0588a36d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0588a36d](https://forums.unrealengine.com/u/anonymous_user_0588a36d)\
**Post date:** [April 7, 2021, 6:13pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/15 "2021-04-07T18:13:24Z")

</div>

WOW thanks a lot for the answers , i solve using an external NDI source , it works perfectly , i hope its a better solution for now

---

<div class="post-metadata">

**Author:** ![DigitalBlade969](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DigitalBlade969](https://forums.unrealengine.com/u/DigitalBlade969)\
**Post date:** [May 25, 2021, 8:52pm UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/16 "2021-05-25T20:52:53Z")

</div>

4.26.2 and this is still a problem !!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_071f0c8e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_071f0c8e](https://forums.unrealengine.com/u/anonymous_user_071f0c8e)\
**Post date:** [May 26, 2021, 7:44am UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/17 "2021-05-26T07:44:31Z")

</div>

The video editor makes it possible to remove black bars in a matter of minutes and get a full-fledged picture on the whole screen. To do this, you can go in two ways: automatic - when creating a new project from scratch, and manual - when editing and editing.

★ Automatic way

It is the simplest, all changes are made in auto mode, you do not need to thoroughly understand how to remove the black bars on the sides. The algorithm of actions is simple:

- run the program, choose to create a new project;
- add the desired video to the timeline;
- click on the cropping icon and select “Remove black bars”. They will disappear immediately;
- save the changes and adjust the conversion parameters.

★ Manual way

This method removes black bands on the sides, top, and bottom using Crop. Work is done on each video fragment separately. In this case, even if parts of the film will be filmed with different aspect ratios, by editing the video, you can bring them to a single standard.

To perform manual cropping, you must adhere to the following algorithm of action:

- start “Video Montage”;
- add files for editing by dragging and dropping them from the viewer to the artboard;
- click on the “Crop clip” icon and select “Crop” in the drop-down list;
- set the aspect ratio to 16: 9 and adjust the frame so that the black lines remain outside its borders;
- save changes.

The frame can be moved, stretched or shrunk with the mouse. The aspect ratio will automatically change. Manual sizing is good because many movies already have a base projection of 16: 9, so to remove empty areas, you just need to select an arbitrary aspect ratio and stretch the frame to the size of the actual image. Similar manipulations are performed in the case of removing the side frames.

Manual cropping allows you to edit video for viewing on devices with a resolution of 4: 3, if the original fragment has a resolution of 16: 9 or higher. For this, fragments of the picture that have no value are deleted. As a rule, these are the extreme parts of the shooting location - landscape, studio, scenery.  
Sizes of the sides can be set both in manual mode, moving the borders with the mouse and focusing on the values ​​located in the “Crop parameters” line, or using the semi-automatic mode. In this case, the user can choose to set the proportions:

- source file;
- 16: 9 screen;
- 4: 3 screen.

---

<div class="post-metadata">

**Author:** ![TheBossJoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheBossJoss](https://forums.unrealengine.com/u/TheBossJoss)\
**Post date:** [June 15, 2021, 8:15am UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/18 "2021-06-15T08:15:22Z")

</div>

If auto clear isn’t working for you than it might be the size of your video file. I had a 7GB movie file that was doing this and when I compressed it to 1GB it looped fine.

---

<div class="post-metadata">

**Author:** ![TheBossJoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheBossJoss](https://forums.unrealengine.com/u/TheBossJoss)\
**Post date:** [June 18, 2021, 7:05am UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/19 "2021-06-18T07:05:49Z")

</div>

So I spent like a day looking into this for work and here is what I learned:

-You will never have seamless looping video in UE4.26 in preview mode  
-You can only achieve seamless loops through a built game or a game running in standalone  
-For this to work you need use a media source internal to the uproject (creating a file in the content folder called “Movies” putting your mp4 file directly in the uproject file from your file explore [not in ue4] and then creating the media source to that)

This is what worked for me using an H.264 codec at a Highbitrate with footage that was 15.4mb.

---

<div class="post-metadata">

**Author:** ![tenitsky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tenitsky](https://forums.unrealengine.com/u/tenitsky)\
**Post date:** [September 28, 2021, 11:56am UTC](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901/20 "2021-09-28T11:56:35Z")

</div>

Can you share the graph please as text? I’m having trouble finding these nodes.

[Next page](https://forums.unrealengine.com/t/looping-movie-has-a-black-frame-pop-in-on-loop/375901.md?page=2)
