Video Editor: Opening several Sequencer area instances will cause bad playback rate #69927

Closed
opened 2019-09-16 09:10:27 +02:00 by tintwotin · 13 comments

Opening more sequencer timeline areas will cause bad playback rate, but in preview mode it doesn't.

Have a Video Editor area open with a Sequencer and Preview and notice the playback rate.
Open another Sequencer area and notice the drop in playback rate.
(Only Sequencer areas will have this effect, but not Sequencer Preview)

As seen in this gif:
SequencerTimelineInstances2.gif

Operating system: Windows-10-10.0.17763 64 Bits
Broken: version: 2.81 (sub 11), branch: master, commit date: 2019-09-14 14:25, hash: 38cc53a168

Opening more sequencer timeline areas will cause bad playback rate, but in preview mode it doesn't. Have a Video Editor area open with a Sequencer and Preview and notice the playback rate. Open another Sequencer area and notice the drop in playback rate. (Only Sequencer areas will have this effect, but not Sequencer Preview) As seen in this gif: ![SequencerTimelineInstances2.gif](https://archive.blender.org/developer/F7750370/SequencerTimelineInstances2.gif) Operating system: Windows-10-10.0.17763 64 Bits Broken: version: 2.81 (sub 11), branch: master, commit date: 2019-09-14 14:25, hash: `38cc53a168`
Author

Added subscriber: @tintwotin

Added subscriber: @tintwotin
tintwotin changed title from Vide Editor: Opening several Sequencer(timeline) instances will cause bad playback rate to Video Editor: Opening several Sequencer area instances will cause bad playback rate 2019-09-16 09:11:18 +02:00
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

I cannot reproduce it in my simple test case. Can you reproduce this with any video? A test file would probably be helpful.

I cannot reproduce it in my simple test case. Can you reproduce this with any video? A test file would probably be helpful.
Author

@JacquesLucke It is properly dependent on how powerful your computer is. Mine is not very powerful, so I'm just using a 720p clip for the gif above, where the effect is quite visible. Maybe you could try with some 4k footage and keep adding sequencer areas while the video is playing(uncached) timeline in an area with sequencer+preview.

If you need some 4k footage, maybe some of this would work: https://www.pexels.com/free-4k-footage/

@JacquesLucke It is properly dependent on how powerful your computer is. Mine is not very powerful, so I'm just using a 720p clip for the gif above, where the effect is quite visible. Maybe you could try with some 4k footage and keep adding sequencer areas while the video is playing(uncached) timeline in an area with sequencer+preview. If you need some 4k footage, maybe some of this would work: https://www.pexels.com/free-4k-footage/

Added subscriber: @ChristopherAnderssarian

Added subscriber: @ChristopherAnderssarian

TBO Timelines have always been a resource hog.
And what's also demonstrated in your gif is moving the mouse over different elements causes the UI to draw at different frame rates...
ref: #60336#596645

In #68433#751669
Which editors are refreshed depends on where you start the playback. This is by design, and starting playback over the 3D viewport will generally be fastest.

Optimizations to animation playback of other editors are possible, but not considered a bug.

Not sure if this applies here, if on a per workspace or a per editor type...

TBO Timelines have always been a resource hog. And what's also demonstrated in your gif is moving the mouse over different elements causes the UI to draw at different frame rates... ref: #60336#596645 > In #68433#751669 > Which editors are refreshed depends on where you start the playback. This is by design, and starting playback over the 3D viewport will generally be fastest. > > Optimizations to animation playback of other editors are possible, but not considered a bug. Not sure if this applies here, if on a per workspace or a per editor type...

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Richard Antalik self-assigned this 2019-09-22 04:40:35 +02:00

I can confirm, performance decrease with each timeline opened.

Obviously, resources are needed to draw each timeline area.
Overall I think, that VSE UI drawing code is in quite good condition with no obvious performance sinks.

Unless I am proven wrong here, I have to say, that you have either to upgrade hardware, or keep conservative editing layout.

I can confirm, performance decrease with each timeline opened. Obviously, resources are needed to draw each timeline area. Overall I think, that VSE UI drawing code is in quite good condition with no obvious performance sinks. Unless I am proven wrong here, I have to say, that you have either to upgrade hardware, or keep conservative editing layout.
Author

This is actually a regression. In 2.79 this does not happen, as seen in this gif.
In 2.80 the fps is halved each time a new sequencer-timeline is opened.
In 2.79 the fps maybe drops at little(0.5 fps) or maybe not at all.
Multi_seq_areas.gif

2.80:
SequencerTimelineInstances2.gif

Another thing to notice is that in 2.79 this same clip(720p) played at almost 24 fps(correct) and in 2.80 it played at 21-22 fps(not correct) with only one instance of sequencer-timeline.

This is actually a regression. In 2.79 this does not happen, as seen in this gif. In 2.80 the fps is halved each time a new sequencer-timeline is opened. In 2.79 the fps maybe drops at little(0.5 fps) or maybe not at all. ![Multi_seq_areas.gif](https://archive.blender.org/developer/F7767732/Multi_seq_areas.gif) 2.80: ![SequencerTimelineInstances2.gif](https://archive.blender.org/developer/F7750370/SequencerTimelineInstances2.gif) Another thing to notice is that in 2.79 this same clip(720p) played at almost 24 fps(correct) and in 2.80 it played at 21-22 fps(not correct) with only one instance of sequencer-timeline.

Try disable cache bar on the bottom if that helps (no regression when I did that.)

That cache viewing thing is a bit resource intensive, but it was written with performance in mind.

Perhaps I can optimize iterating even more, but this will make code a bit more complex. Will have to think about this a bit.

Try disable cache bar on the bottom if that helps (no regression when I did that.) That cache viewing thing is a bit resource intensive, but it was written with performance in mind. Perhaps I can optimize iterating even more, but this will make code a bit more complex. Will have to think about this a bit.

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

Closed as duplicate of #70229

Closed as duplicate of #70229
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
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#69927
No description provided.