Adding a scene strip to VSE in the same scene makes results vary depending on scene start frame #50139

Closed
opened 2016-11-29 23:01:15 +01:00 by Jason schleifer · 18 comments

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

**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
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @JasonSchleifer

Added subscriber: @JasonSchleifer

Added subscriber: @Sergey

Added subscriber: @Sergey

The file is missing.

Please also explain what is interactive and batch rendering.

The file is missing. Please also explain what is interactive and batch rendering.
Author
Member

sequenceEditorScalesRender.blend

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.

[sequenceEditorScalesRender.blend](https://archive.blender.org/developer/F412157/sequenceEditorScalesRender.blend) 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.

Added subscriber: @Funkster-3

Added subscriber: @Funkster-3

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.

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.
Author
Member

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

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

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
Author
Member

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

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

Added subscriber: @candreacchio

Added subscriber: @candreacchio
  • 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.

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

Added subscriber: @NikosPriniotakis

Added subscriber: @NikosPriniotakis

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Dalai Felinto self-assigned this 2017-01-20 12:06:58 +01:00

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: sequencer.blend
  • Render the frame 6, you will get the frame 6 (see sequencer on top):

seq_fine.png

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

seq_start_10.png

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

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: [sequencer.blend](https://archive.blender.org/developer/F437318/sequencer.blend) * Render the frame 6, you will get the frame 6 (see sequencer on top): ![seq_fine.png](https://archive.blender.org/developer/F437319/seq_fine.png) * Now change your scene frame start to 10 and re-render frame 6, you will get frame 15: ![seq_start_10.png](https://archive.blender.org/developer/F437321/seq_start_10.png) 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 changed title 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 2017-01-20 12:09:14 +01:00

Added subscriber: @mardy

Added subscriber: @mardy

Closed as duplicate of #30663

Closed as duplicate of #30663
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#50139
No description provided.