Fix #125490: Scene strip incorrectly rendered as solid view. #125947

Merged
Richard Antalik merged 1 commits from iss/blender:125490 into main 2024-08-07 15:23:38 +02:00

Prevent VSE cache returning image when running render job.

Previously, before render job was started, cache was cleared, but since
disk cache is not cleared, it returned an image. Now cache is not
cleared, but it does not return or store images when rendering.

Prevent VSE cache returning image when running render job. Previously, before render job was started, cache was cleared, but since disk cache is not cleared, it returned an image. Now cache is not cleared, but it does not return or store images when rendering.
Richard Antalik added 1 commit 2024-08-06 08:48:24 +02:00
Prevent VSE cache returning image when running render job.

Previously, before render job was started, cache was cleared, but since
disk cache is not cleared, it returned an image. Now cache is not
cleared, but it does not return or store images when rendering.
Richard Antalik requested review from Sergey Sharybin 2024-08-06 08:50:57 +02:00
Richard Antalik requested review from Sebastian Parborg 2024-08-06 08:50:58 +02:00
Sebastian Parborg approved these changes 2024-08-06 14:51:50 +02:00
Sebastian Parborg left a comment
Member

LGTM

Just a question out of curiosity:
Would caching in a render time context make sense at some point in the future?

IE you pre-cache part of the frames your are going to render and then do encoding in batches?

So you pre-render 10-60 frames and then send that batch to the ffmpeg encoder while we start pre-rendering the next batch of frames.

LGTM Just a question out of curiosity: Would caching in a render time context make sense at some point in the future? IE you pre-cache part of the frames your are going to render and then do encoding in batches? So you pre-render 10-60 frames and then send that batch to the ffmpeg encoder while we start pre-rendering the next batch of frames.
Sergey Sharybin approved these changes 2024-08-07 10:37:21 +02:00
Author
Member

LGTM

Just a question out of curiosity:
Would caching in a render time context make sense at some point in the future?

IE you pre-cache part of the frames your are going to render and then do encoding in batches?

So you pre-render 10-60 frames and then send that batch to the ffmpeg encoder while we start pre-rendering the next batch of frames.

It would not work correctly in this case, where in VSE preview you use solid shading, but you want rendered shading for final render.

But in general, I am not sure. With scenes, that are fast to render it may help, but not sure how much. With more complex scenes, encoding could be 1% of CPU time with current implamentation. Making it 0.1% would not help you much.

> LGTM > > Just a question out of curiosity: > Would caching in a render time context make sense at some point in the future? > > IE you pre-cache part of the frames your are going to render and then do encoding in batches? > > So you pre-render 10-60 frames and then send that batch to the ffmpeg encoder while we start pre-rendering the next batch of frames. It would not work correctly in this case, where in VSE preview you use solid shading, but you want rendered shading for final render. But in general, I am not sure. With scenes, that are fast to render it may help, but not sure how much. With more complex scenes, encoding could be 1% of CPU time with current implamentation. Making it 0.1% would not help you much.
Richard Antalik merged commit 5ecb70964e into main 2024-08-07 15:23:38 +02:00
Richard Antalik deleted branch 125490 2024-08-07 15:24:59 +02:00

@iss FYI sequencer render tests on buildbot are crashing after this change merge.

@iss FYI sequencer render tests on buildbot are crashing after this change merge.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
4 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#125947
No description provided.