Page MenuHome

Adding a scene strip to VSE in the same scene makes results vary depending on scene start frame
Closed, DuplicatePublicTO DO

Description

Original report:

I have a scene where my VSE contains a scene strip of the current scene. When rendering interactively, I get what I expect.. a full frame. When I render in batch mode, I get a zoomed in view of my image.

I've attached a copy of the file. Just render a single frame interactively, then render the same frame in batch mode and compare.

Easy way to see the bug:

https://developer.blender.org/T50139#413098

Event Timeline

Sergey Sharybin (sergey) lowered the priority of this task from 90 to 30.Nov 30 2016, 6:53 PM

The file is missing.

Please also explain what is interactive and batch rendering.

Hi Sergey, I've uploaded the file (not sure why it didn't attach before).

Interactive rendering is hitting F12

Batch is running from the commandline.

Sergey Sharybin (sergey) raised the priority of this task from 30 to 90.Nov 30 2016, 7:33 PM

I've tried a few variations, but always get the same size image as the one generated in interactive rendering.

Tried at 100% and 25%, and with released 2.78 and my current local build. Linux x64.

I didn't run the scripts in the .blend.

That's so strange - I get it zoomed in running from command line.. here's my command:

blender --enable-new-depsgraph -b ./sequenceEditorScalesRender.blend -t 0 -s 600 -e 600 -a -x 1 -y

Huh. Confirmed using your command - I was using -f to render one frame rather than start and end frames.

This command doesn't scale:
blender --enable-new-depsgraph -b ./sequenceEditorScalesRender.blend -t 0 -f 250 -x 1 -y

Interesting.. the plot thickens! so if you try and render a frame range, you'll get the zooming in as well!

--enable-new-depsgraph seems to be the issue for me, but not with size

blender --enable-new-depsgraph -b C:\Users\user\Downloads\sequenceEditorScalesRender.blend -s 3 -e 4 -o C:\scaletest.####.jpg -a

and ignored -o entirely for me, and rendered (but didnt save) the images.

im on win7 x64... both with and without new depsgraph the size was fine.

Dalai Felinto (dfelinto) changed the task status from Unknown Status to Unknown Status.EditedJan 20 2017, 12:06 PM
Dalai Felinto (dfelinto) claimed this task.

This is a tricky one. Technically it's not a bug. In your case you are rendering frame 1200, not 600.

How to reproduce your issue in a simpler file:

  • Open:
  • Render the frame 6, you will get the frame 6 (see sequencer on top):

  • Now change your scene frame start to 10 and re-render frame 6, you will get frame 15:

So what's happening?
When you add a Scene strip, the strip frames are relative to the scene range. The moment you change the frame start, the frame that will be used will change as well.

Why does it matter? Well in your case when you do blender -b -s 600 e 601 -a you are effectively changing the scene range before rendering the animation. Which leads to the problem above.

How to fix this? From the user point of view, a solution is to use a different scene to animate.

I will archive this and move to the TODO: https://wiki.blender.org/index.php/Dev:Source/Development/Todo/Editors#Video_Sequencer

Dalai Felinto (dfelinto) renamed this task from Adding a scene strip to the VSE in the scene you're in causes the image to be zoomed in batch render to Adding a scene strip to VSE in the same scene makes results vary depending on scene start frame.Jan 20 2017, 12:09 PM
Dalai Felinto (dfelinto) updated the task description. (Show Details)
Dalai Felinto (dfelinto) edited a custom field.