VSE prefetch not showing clip's keyframe changes #82861

Open
opened 2020-11-20 01:43:25 +01:00 by Eric Jiang · 4 comments

System Information
Operating system: Ubuntu Linux 18.04.5 amd64
Graphics card: Nvidia GTX 1070

Blender Version
Broken: blender-2.90.1, blender-2.92.0-9d6d5b9bebd1-linux64
Worked: unknown

When VSE "Prefetch Frames" is turned on and you edit a clip's keyframes, the prefetch will continue rendering frames into the cache without your changes.

  1. Launch Blender
  2. Choose "Video Editing" under New File
  3. Drag a still image (any PNG should do) into the timeline.
  4. Drag clip extents so that it starts from frame 0 and goes to frame 2000.
  5. In video preview, enable "Prefetch Frames"
  6. Go to frame 20 in the timeline and select the clip.
  7. Create an Opacity keyframe by clicking the dot next to Opacity.
  8. Go to frame 80 in the timeline.
  9. Change the clip Opacity to 0.4 and click the dot to create a new keyframe.
  10. Start playback and see that the clip shows 100% opacity, even though the timeline shows that it should be 40%. Changing the proxy render size will clear the cache and show correct results.

If you clear the cache and do steps 8-10 quickly enough (i.e. before the prefetch finishes), you will also see that even though you modify the clip while prefetch is not done, the prefetching will continue to render incorrect frames. E.g. if you create the opacity keyframe while the prefetching is at frame 500, prefetched frames after 500 will still show as 100% opaque.

**System Information** Operating system: Ubuntu Linux 18.04.5 amd64 Graphics card: Nvidia GTX 1070 **Blender Version** Broken: blender-2.90.1, blender-2.92.0-9d6d5b9bebd1-linux64 Worked: unknown When VSE "Prefetch Frames" is turned on and you edit a clip's keyframes, the prefetch will continue rendering frames into the cache without your changes. 1. Launch Blender 2. Choose "Video Editing" under New File 3. Drag a still image (any PNG should do) into the timeline. 4. Drag clip extents so that it starts from frame 0 and goes to frame 2000. 5. In video preview, enable "Prefetch Frames" 6. Go to frame 20 in the timeline and select the clip. 7. Create an Opacity keyframe by clicking the dot next to Opacity. 8. Go to frame 80 in the timeline. 9. Change the clip Opacity to 0.4 and click the dot to create a new keyframe. 10. Start playback and see that the clip shows 100% opacity, even though the timeline shows that it should be 40%. Changing the proxy render size will clear the cache and show correct results. If you clear the cache and do steps 8-10 quickly enough (i.e. before the prefetch finishes), you will also see that even though you modify the clip while prefetch is not done, the prefetching will continue to render incorrect frames. E.g. if you create the opacity keyframe while the prefetching is at frame 500, prefetched frames after 500 will still show as 100% opaque.
Author

Added subscriber: @erjiang-3

Added subscriber: @erjiang-3
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

I can confirm there is something wrong with prefetching and animation.
#82776 (Sequencer: Driver on any strip property does not invalidate its cache [prefetch frames]) might be related.

So when following the steps I get the described behavior [prefetched frames not respecting the anim data].
However when the file is saved and reloaded, the cache gets recreated correctly.
Thus not sure if posting a file helps, but here it is:
#82861.blend

I can confirm there is something wrong with prefetching and animation. #82776 (Sequencer: Driver on any strip property does not invalidate its cache [prefetch frames]) might be related. So when following the steps I get the described behavior [prefetched frames not respecting the anim data]. However when the file is saved and reloaded, the cache gets recreated correctly. Thus not sure if posting a file helps, but here it is: [#82861.blend](https://archive.blender.org/developer/F9334174/T82861.blend)
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:35:57 +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 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#82861
No description provided.