# Media Track out of Sync

**URL:** <https://forums.unrealengine.com/t/media-track-out-of-sync/435768>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, Rendering, sync, question\
**Created:** [October 16, 2018, 8:04pm UTC](https://forums.unrealengine.com/t/media-track-out-of-sync/435768 "2018-10-16T20:04:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![reedandrader](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@reedandrader](https://forums.unrealengine.com/u/reedandrader)\
**Post date:** [October 16, 2018, 8:04pm UTC](https://forums.unrealengine.com/t/media-track-out-of-sync/435768/1 "2018-10-16T20:04:53Z")

</div>

Hey all,

I’m poking around with using the media track in sequencer with an .mp4 (ue4 constantly crashes with a png or exr sequence) but it gets out of sync when I render from sequencer instead of recording every frame. I thought media track was supposed to fix this long standing issue.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![Max.Chen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/max.chen/32/1194502_2.png) [@Max.Chen](https://forums.unrealengine.com/u/Max.Chen)\
**Post date:** [October 17, 2018, 10:44pm UTC](https://forums.unrealengine.com/t/media-track-out-of-sync/435768/2 "2018-10-17T22:44:23Z")

</div>

The synchronized playback in sequencer for the media track only works for sequences of images - which unfortunately sounds like it crashes for you. Any callstack for the image sequences?

---

<div class="post-metadata">

**Author:** ![reedandrader](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@reedandrader](https://forums.unrealengine.com/u/reedandrader)\
**Post date:** [October 18, 2018, 5:46pm UTC](https://forums.unrealengine.com/t/media-track-out-of-sync/435768/3 "2018-10-18T17:46:09Z")

</div>

that makes sense.

maybe ue4 doesn’t like png sequences with the media track?

I’m attaching my .loglink text

---

<div class="post-metadata">

**Author:** ![KimLaughton](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kimlaughton/32/979013_2.png) [@KimLaughton](https://forums.unrealengine.com/u/KimLaughton)\
**Post date:** [November 3, 2018, 2:18pm UTC](https://forums.unrealengine.com/t/media-track-out-of-sync/435768/4 "2018-11-03T14:18:12Z")

</div>

Probably related - I’m using an 800 x 800 png sequence - it’s not crashing, but it’s not in sync, with the media texture appearing quite jerky compared to the rendered sequence.

---

<div class="post-metadata">

**Author:** ![Max.Chen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/max.chen/32/1194502_2.png) [@Max.Chen](https://forums.unrealengine.com/u/Max.Chen)\
**Post date:** [November 5, 2018, 5:19pm UTC](https://forums.unrealengine.com/t/media-track-out-of-sync/435768/5 "2018-11-05T17:19:13Z")

</div>

It should work fine for pngs. I just tried jpgs and exrs as well. Also, check that the img media source has a matching frame rate value as your sequence.

Does the sequence scrub properly in editor? Is it just out of sync when you render a movie?

![258611-img-framerate.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/6/1d683316703c56f1c93de300ea70dab8ab55ff31.png)

---

<div class="post-metadata">

**Author:** ![KimLaughton](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kimlaughton/32/979013_2.png) [@KimLaughton](https://forums.unrealengine.com/u/KimLaughton)\
**Post date:** [November 7, 2018, 8:43am UTC](https://forums.unrealengine.com/t/media-track-out-of-sync/435768/6 "2018-11-07T08:43:11Z")

</div>

Ah thanks! Yes - the framerate was the issue. What does ‘NaN s’ mean?

Might be handy to have a ‘sync frames’ option on the media track in the sequencer - I imagine most people using the media track would find that handy…

---

<div class="post-metadata">

**Author:** ![reedandrader](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@reedandrader](https://forums.unrealengine.com/u/reedandrader)\
**Post date:** [November 8, 2018, 5:24pm UTC](https://forums.unrealengine.com/t/media-track-out-of-sync/435768/7 "2018-11-08T17:24:38Z")

</div>

Well, I’m not exactly sure what I did differently but I have it working with 1024x1024 PNG with an alpha.

@Max Chen - is there any way to have a tracking matte combined with footage in sequencer to take out the background? PNGs with alpha seems a little heavy and I’m wondering if a png sequence with the content and then another with a black/white tracking matte might be less computationally intense.

I know in the composure example there are mattes in sequencer but I need could get them to work outside of that project. There isn’t a lot of documentation for these sorts of more video/animation related things.
