# Wrong png filenames when rendering from Sequencer

**URL:** <https://forums.unrealengine.com/t/wrong-png-filenames-when-rendering-from-sequencer/391881>\
**Category:** Cinematics & Media\
**Tags:** Render, wrong, unreal-engine, question\
**Created:** [April 25, 2017, 4:50pm UTC](https://forums.unrealengine.com/t/wrong-png-filenames-when-rendering-from-sequencer/391881 "2017-04-25T16:50:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastien\_Binet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sebastien\_Binet](https://forums.unrealengine.com/u/Sebastien_Binet)\
**Post date:** [April 25, 2017, 4:50pm UTC](https://forums.unrealengine.com/t/wrong-png-filenames-when-rendering-from-sequencer/391881/1 "2017-04-25T16:50:43Z")

</div>

We have noticed that when to render to png the name of resulting frames is not always correct.

Here are the steps to reproduce the problem:

- In Unreal 4.15.1, create a new Blueprint project - Blank - No Starter Content
- Add a cube in the scene
- Click “Cinematics” - “Add Master Sequence” - “Number Of Shots”=3 - “Create Master Sequence”
- In the Sequence Master, reduce each shot to be only 2 frame long.
- In the Sequence Master, click on the Render Icon
- In Render Movie Settings window, set “Output Format” = “image Sequence (png)”
- In Render Movie Settings window, set “Filename Format” = {shot}\_{frame}
- In Render Movie Settings window, click “Capture Movie”, “Save Selected”, “Save”

The resulting file names are:

- shot0010\_001\_0000.png
- shot0010\_001\_0001.png
- shot0020\_001\_0002.png
- shot0020\_001\_0003.png
- shot0020\_001\_0004.png … We would expect it to be named shot0030\_001\_0004.png
- shot0030\_001\_0005.png
- shot0030\_001\_0006.png … This frame is not part of our shots, so we ignore it

As we can see, there are 3 frames in shot 0020, while in Sequencer we see only two frames for that shot.

 ![135403-renderresultsinwrongqtyofframes.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/1/dd1d9ae2e0eb52639f387a84ae2ef64dec6a3b8c.jpeg)

It looks to us that the problem may be in ULevelSequencePlayer::TakeFrameSnapshot().  
We have locally replaced the following logic:

```
if (Section->IsActive() && Section->GetRange().Contains(CurrentTime) && (!ActiveShot || Section->GetRowIndex() < ActiveShot->GetRowIndex()))

```

by

```
if (Section->IsActive() && (Section->GetRange().GetUpperBoundValue() - CurrentTime > 0.00833f /*half the current framerate*/) && (!ActiveShot || Section->GetRowIndex() < ActiveShot->GetRowIndex()))

```

and with that modification the files are named as expected.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [May 11, 2017, 9:59pm UTC](https://forums.unrealengine.com/t/wrong-png-filenames-when-rendering-from-sequencer/391881/2 "2017-05-11T21:59:06Z")

</div>

Hey Sebastien,

I’m unable to reproduce this in 4.15.2. I’ve got it set up exactly like you do, but I can’t seem to get it to render 3 frames for shot 2.

 ![137664-extraframesrendered.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/4/944144c35d4264f01abca78719d0b89ec01aafaf.jpeg)

Can you send an example project that reproduces this? There might be something unique in your project that I’m missing. Maybe Start/End Time.

-

---

<div class="post-metadata">

**Author:** ![Sebastien\_Binet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sebastien\_Binet](https://forums.unrealengine.com/u/Sebastien_Binet)\
**Post date:** [May 12, 2017, 12:45pm UTC](https://forums.unrealengine.com/t/wrong-png-filenames-when-rendering-from-sequencer/391881/3 "2017-05-12T12:45:36Z")

</div>

@W: I downloaded 4.15.2 and opened my RenderIssue.uproject.  
I have done “Capture Movie” and got my problem (3 frames in shot0002).  
I will send you a link to my RenderIssue project in the next hours.

---

<div class="post-metadata">

**Author:** ![Sebastien\_Binet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sebastien\_Binet](https://forums.unrealengine.com/u/Sebastien_Binet)\
**Post date:** [May 12, 2017, 1:34pm UTC](https://forums.unrealengine.com/t/wrong-png-filenames-when-rendering-from-sequencer/391881/4 "2017-05-12T13:34:01Z")

</div>

The project is at [https://we.tl/N4R4gRbhDR](https://we.tl/N4R4gRbhDR)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [May 26, 2017, 8:59pm UTC](https://forums.unrealengine.com/t/wrong-png-filenames-when-rendering-from-sequencer/391881/5 "2017-05-26T20:59:33Z")

</div>

Hey Sebastien,

Apologies for the delay, but it appears your project is no longer available on the download link.

-

---

<div class="post-metadata">

**Author:** ![Sebastien\_Binet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sebastien\_Binet](https://forums.unrealengine.com/u/Sebastien_Binet)\
**Post date:** [May 29, 2017, 1:24am UTC](https://forums.unrealengine.com/t/wrong-png-filenames-when-rendering-from-sequencer/391881/6 "2017-05-29T01:24:56Z")

</div>

Hi ,

How do you suggest that I provide you my project?  
Do you have a FTP site or something like that?

Sébastien

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [June 23, 2017, 7:54pm UTC](https://forums.unrealengine.com/t/wrong-png-filenames-when-rendering-from-sequencer/391881/7 "2017-06-23T19:54:44Z")

</div>

Hey Sebastien,

You can share with google drive. I just think the link you sent had expired. We’re working through a large backlog right now, so responses have been a little sparse from us.

-

---

<div class="post-metadata">

**Author:** ![Sebastien\_Binet](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sebastien\_Binet](https://forums.unrealengine.com/u/Sebastien_Binet)\
**Post date:** [June 28, 2017, 8:27pm UTC](https://forums.unrealengine.com/t/wrong-png-filenames-when-rendering-from-sequencer/391881/8 "2017-06-28T20:27:30Z")

</div>

Hi ,  
I have put my May 12th project for 4.15.2 in a zip on google drive: [https://drive.google.com/open?id=0B7FirqO2\_YVHVjdIX184WHUybjg](https://drive.google.com/open?id=0B7FirqO2_YVHVjdIX184WHUybjg)  
The pngs are inside “RenderIssue 4.15.2\Saved\VideoCaptures”

- Sebastien Binet
