Background rendering with frame jump and sequencer is broken #52583

Closed
opened 2017-08-29 15:43:20 +02:00 by Massimiliano Leoni · 8 comments

System Information
Linux Ubuntu 16.04, Intel integrated graphics card

Blender Version
Broken: at least from 2.76b to latest build

Short description of error
While rendering in the background from the command line a scene with a non-empty video sequencer, the jump parameter is ignored and the incorrect frames are rendered.

Exact steps for others to reproduce the error
Consider the attached bug.blend file bug.blend and run in the terminal the command

    blender -b bug.blend -a

Now all the 30 frames are correctly created.

If, instead, the couple of commands

    blender -b bug.blend -s 1 -j 2 -a
    blender -b bug.blend -s 2 -j 2 -a

is run, the wrong frames are generated. In particular, the second command generates the even-numbered frames but with the contents of the odd-numbered frames. Moreover, the terminal output highlights the inconsistency:

Fra:29 Mem:16.95M (0.00M, Peak 17.47M) | Time:00:00.58 | Remaining:00:00.00 | Mem:0.49M, Peak:0.87M | Scene, RenderLayer | Path Tracing Tile 132/135
Fra:29 Mem:16.89M (0.00M, Peak 17.47M) | Time:00:00.58 | Remaining:00:00.00 | Mem:0.43M, Peak:0.87M | Scene, RenderLayer | Path Tracing Tile 133/135
Fra:29 Mem:16.83M (0.00M, Peak 17.47M) | Time:00:00.58 | Remaining:00:00.00 | Mem:0.36M, Peak:0.87M | Scene, RenderLayer | Path Tracing Tile 134/135, Sample 3/10
Fra:29 Mem:16.77M (0.00M, Peak 17.47M) | Time:00:00.58 | Mem:0.30M, Peak:0.87M | Scene, RenderLayer | Path Tracing Tile 135/135
Fra:29 Mem:16.77M (0.00M, Peak 17.47M) | Time:00:00.58 | Mem:0.30M, Peak:0.87M | Scene, RenderLayer | Finished
Fra:29 Mem:16.43M (0.00M, Peak 17.47M) | Time:00:00.58 | Sce: Scene Ve:0 Fa:0 La:0
Fra:29 Mem:34.25M (0.00M, Peak 44.14M) | Time:00:00.62 | Sce: Scene Ve:0 Fa:0 La:0
Fra:29 Mem:34.25M (0.00M, Peak 44.14M) | Time:00:00.62 | Sce: Scene Ve:0 Fa:0 La:0
Saved: '/tmp/0028.png'
 Time: 00:00.67 (Saving: 00:00.04)

where frame 29 is elaborated but frame 28 is saved.

**System Information** Linux Ubuntu 16.04, Intel integrated graphics card **Blender Version** Broken: at least from 2.76b to latest build **Short description of error** While rendering in the background from the command line a scene with a non-empty video sequencer, the jump parameter is ignored and the incorrect frames are rendered. **Exact steps for others to reproduce the error** Consider the attached bug.blend file [bug.blend](https://archive.blender.org/developer/F738889/bug.blend) and run in the terminal the command ``` blender -b bug.blend -a ``` Now all the 30 frames are correctly created. If, instead, the couple of commands ``` blender -b bug.blend -s 1 -j 2 -a blender -b bug.blend -s 2 -j 2 -a ``` is run, the wrong frames are generated. In particular, the second command generates the even-numbered frames but with the contents of the odd-numbered frames. Moreover, the terminal output highlights the inconsistency: ``` Fra:29 Mem:16.95M (0.00M, Peak 17.47M) | Time:00:00.58 | Remaining:00:00.00 | Mem:0.49M, Peak:0.87M | Scene, RenderLayer | Path Tracing Tile 132/135 Fra:29 Mem:16.89M (0.00M, Peak 17.47M) | Time:00:00.58 | Remaining:00:00.00 | Mem:0.43M, Peak:0.87M | Scene, RenderLayer | Path Tracing Tile 133/135 Fra:29 Mem:16.83M (0.00M, Peak 17.47M) | Time:00:00.58 | Remaining:00:00.00 | Mem:0.36M, Peak:0.87M | Scene, RenderLayer | Path Tracing Tile 134/135, Sample 3/10 Fra:29 Mem:16.77M (0.00M, Peak 17.47M) | Time:00:00.58 | Mem:0.30M, Peak:0.87M | Scene, RenderLayer | Path Tracing Tile 135/135 Fra:29 Mem:16.77M (0.00M, Peak 17.47M) | Time:00:00.58 | Mem:0.30M, Peak:0.87M | Scene, RenderLayer | Finished Fra:29 Mem:16.43M (0.00M, Peak 17.47M) | Time:00:00.58 | Sce: Scene Ve:0 Fa:0 La:0 Fra:29 Mem:34.25M (0.00M, Peak 44.14M) | Time:00:00.62 | Sce: Scene Ve:0 Fa:0 La:0 Fra:29 Mem:34.25M (0.00M, Peak 44.14M) | Time:00:00.62 | Sce: Scene Ve:0 Fa:0 La:0 Saved: '/tmp/0028.png' Time: 00:00.67 (Saving: 00:00.04) ``` where frame 29 is elaborated but frame 28 is saved.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @massimiliano.leoni

Added subscriber: @massimiliano.leoni

Added subscriber: @ideasman42

Added subscriber: @ideasman42

This is a problem with using the same scene as a strip in your sequence.

Setting the start frame also offsets it's position in the sequencer.

I've made a patch to support this - D2815, although I'm not convinced the fix is a net gain.

For 2.8x it may be best to remove this ability, see: #52586

This is a problem with using the same scene as a strip in your sequence. Setting the start frame also offsets it's position in the sequencer. I've made a patch to support this - [D2815](https://archive.blender.org/developer/D2815), although I'm not convinced the fix is a net gain. For 2.8x it may be best to remove this ability, see: #52586

Ok, so perhaps I am using the feature the wrong way? Suppose I want to superimpose a logo on a part of the strip. What I would do is to load the image on another channel of the VSE and use a transform to add it to the scene. Should I do it differently? Should I put everything into another scene? Maybe I can achieve the same with the compositor...

Another use case would be to stop the animation at some point to have an explanatory text appear, to later resume the animation. What's the correct way to do these things?

Ok, so perhaps I am using the feature the wrong way? Suppose I want to superimpose a logo on a part of the strip. What I would do is to load the image on another channel of the VSE and use a transform to add it to the scene. Should I do it differently? Should I put everything into another scene? Maybe I can achieve the same with the compositor... Another use case would be to stop the animation at some point to have an explanatory text appear, to later resume the animation. What's the correct way to do these things?

It's best to have a scene that's only for editing video - so you don't put the scene into its self (causing this bug).

It's best to have a scene that's only for editing video - so you don't put the scene into its self (causing this bug).

I can confirm that using another scene works as expected. Thanks for the advise, I also noticed that inputting the same scene in the VSE brings some inconveniences.

I can confirm that using another scene works as expected. Thanks for the advise, I also noticed that inputting the same scene in the VSE brings some inconveniences.

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
2 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#52583
No description provided.