x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Wrong png filenames when rendering from Sequencer

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. alt text 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.

[1]: https://docs.unrealengine.com/latest/INT/Engine/Sequencer/HowTo/TracksShot/

Product Version: UE 4.15
Tags:
more ▼

asked Apr 25 '17 at 04:50 PM in Bug Reports

avatar image

Sebastien Binet
1 1 3

avatar image Matt.Williams May 11 '17 at 09:59 PM

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.

alt text

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.

-Matt W.

avatar image Sebastien Binet May 12 '17 at 12:45 PM

@Matt 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.

avatar image Sebastien Binet May 12 '17 at 01:34 PM

The project is at https://we.tl/N4R4gRbhDR

avatar image Matt.Williams May 26 '17 at 08:59 PM

Hey Sebastien,

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

-Matt W.

avatar image Sebastien Binet May 29 '17 at 01:24 AM

Hi Matt,

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

Sébastien

avatar image Matt.Williams Jun 23 '17 at 07:54 PM

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.

-Matt W.

avatar image Sebastien Binet Jun 28 '17 at 08:27 PM

Hi Matt, 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 The pngs are inside "RenderIssue 4.15.2\Saved\VideoCaptures"

  • Sebastien Binet

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question