VSE thumbnails improvements #91618

Open
opened 2021-09-23 00:58:11 +02:00 by Richard Antalik · 3 comments
  • Check if reusing strip hash used by rendering job speeds up initialization with large number of strips. if it doesn't, fix it anyway. (b534806ecb) Note: it wasn't initialization that caused freezing, it was rather strip anim freeing, reusing ghash seems to have no impact on performance.

  • To speed up loading, Check strategy to render "guaranteed" set of thumbnails. Especially if cache can be shared this could help a lot. (3a898db363) Note: better strategy seems to be other way around as far as performance goes.

  • Make first (and last) thumbnail reflect actual handle position. (29b9187b32) Note: Only first image is updated, though it's possilbe to update last one too.

  • Change cache so thumbnail (and possibly raw) types are keyed by path to file and disregard various context settings and Sequence pointer. Front-end should stay same. (D12771)

    • There are rabbitholes like effect strips producing raw images and scene strips rendering at "host" scene resolution so simple string key is probably not enough.
    • Added complexity is, that all cache types per frame should be invalidated at once, otherwise prefetch doesn't work and issues like that.
    • Above points don't quite apply to thumbnails, but there are issues of this type in general. For example if we would implement downscaling for movies, first point will apply.
- [x] Check if reusing strip hash used by rendering job speeds up initialization with large number of strips. if it doesn't, fix it anyway. (b534806ecb) Note: it wasn't initialization that caused freezing, it was rather strip `anim` freeing, reusing ghash seems to have no impact on performance. - [x] To speed up loading, Check strategy to render "guaranteed" set of thumbnails. Especially if cache can be shared this could help a lot. (3a898db3638d) Note: better strategy seems to be other way around as far as performance goes. - [x] Make first (and last) thumbnail reflect actual handle position. (29b9187b327c) Note: Only first image is updated, though it's possilbe to update last one too. - Change cache so thumbnail (and possibly raw) types are keyed by path to file and disregard various context settings and Sequence pointer. Front-end should stay same. ([D12771](https://archive.blender.org/developer/D12771)) - There are rabbitholes like effect strips producing raw images and scene strips rendering at "host" scene resolution so simple string key is probably not enough. - Added complexity is, that all cache types per frame should be invalidated at once, otherwise prefetch doesn't work and issues like that. - Above points don't quite apply to thumbnails, but there are issues of this type in general. For example if we would implement downscaling for movies, first point will apply.
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Member

Added subscribers: @iss, @fsiddi, @quantimoney

Added subscribers: @iss, @fsiddi, @quantimoney

This issue was referenced by 29b9187b32

This issue was referenced by 29b9187b327ce09362c3ad369ba24058a76cae45
Richard Antalik added this to the Video Sequencer project 2023-02-09 21:00:44 +01:00
Philipp Oeser removed the
Interest
VFX & Video
label 2023-02-10 09:31:43 +01:00
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 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#91618
No description provided.