VSE Scene Strip (in "Use Sequence" mode) Incompatible with certain Effect Strips #49424

Closed
opened 2016-09-22 07:07:21 +02:00 by Matt · 17 comments

System Information
Windows 10, Quadro K2000

Blender Version
Broken: 2.77, 2.78

Short description of error
The Scene strip (in "Use Sequence" mode) doesn't handle certain types of strips within the referenced scene correctly. For Multicam Selector strip, the output is blank. For Adjustment strip, blender crashes!

Exact steps for others to reproduce the error

Using the attached blend file you can follow these steps:

  1. Scan through the short scene. Notice that it switches from black to white.
  2. Switch to scene 2: multicam scene
  3. Scan through the scene. Notice that it is not rendered as expected. It should be the same as the first scene but it's just blank.
  4. Switch to scene 3: adjustment. Notice that because of the adjustment. The output is a light grey.
  5. Switch to scene 4: adjustment scene. Blender crashes.

Finally, I've never worked on blender's code base before but I believe I have a solid attempt at a fix but I'm not sure what the best way to convey it is. I have my change committed locally in git. What would be the best way to go about trying to get this change reviewed?

scene_effects.blend

**System Information** Windows 10, Quadro K2000 **Blender Version** Broken: 2.77, 2.78 **Short description of error** The Scene strip (in "Use Sequence" mode) doesn't handle certain types of strips within the referenced scene correctly. For Multicam Selector strip, the output is blank. For Adjustment strip, blender crashes! **Exact steps for others to reproduce the error** Using the attached blend file you can follow these steps: 1. Scan through the short scene. Notice that it switches from black to white. 2. Switch to scene 2: multicam scene 3. Scan through the scene. Notice that it is not rendered as expected. It should be the same as the first scene but it's just blank. 4. Switch to scene 3: adjustment. Notice that because of the adjustment. The output is a light grey. 5. Switch to scene 4: adjustment scene. Blender crashes. Finally, I've never worked on blender's code base before but I believe I have a solid attempt at a fix but I'm not sure what the best way to convey it is. I have my change committed locally in git. What would be the best way to go about trying to get this change reviewed? [scene_effects.blend](https://archive.blender.org/developer/F366093/scene_effects.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @HyperSphere

Added subscriber: @HyperSphere
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

@HyperSphere: didnt have a look at the issue yet, but you can post your diff here

@HyperSphere: didnt have a look at the issue yet, but you can post your diff here - https://developer.blender.org/differential/diff/create/ (if its ready for review) or - https://developer.blender.org/paste/ (just to have a quick look -- no real review features, but can still be commented on)
Author

Thanks for the info!

Here is the diff:
https://developer.blender.org/D2252

Thanks!

Matt

Thanks for the info! Here is the diff: https://developer.blender.org/D2252 Thanks! Matt
Member

@HyperSphere: thanx for the patch!
Sequencer is not really a part of blender that I am very familiar with, at first glance I can confirm the patch seems to solve issues mentioned in the report. Hope I can spend some more time checking more in depth...

@HyperSphere: thanx for the patch! Sequencer is not really a part of blender that I am very familiar with, at first glance I can confirm the patch seems to solve issues mentioned in the report. Hope I can spend some more time checking more in depth...
Member

btw: issues from report confirmed

btw: issues from report confirmed

Added subscriber: @Sergey

Added subscriber: @Sergey

I've committed D2252 now. Does it fix all the issues reported here?

I've committed [D2252](https://archive.blender.org/developer/D2252) now. Does it fix all the issues reported here?
Author

Before I sent it out, I confirmed that the reported issues with the linked blend file don't occur when using blender built on Windows with the fix Diff you linked.

I can pull from head and reconfirm on Windows and check it on Linux (Ubuntu) as well if you would like.

Before I sent it out, I confirmed that the reported issues with the linked blend file don't occur when using blender built on Windows with the fix Diff you linked. I can pull from head and reconfirm on Windows and check it on Linux (Ubuntu) as well if you would like.

Added subscriber: @Funkster-3

Added subscriber: @Funkster-3

Hi folks,

Is this related to keyframed changes on strips not being used correctly when the scene is inserted into another in "use sequence" mode?

In 2.78, if you keyframe some audio levels in a scene and then insert that scene into another some time after the start, the keyframed values happen at the wrong time - it seems like the time is measured from the start of the second scene, rather from the time the first scene's start position.

To reproduce:
scene 1) audio strip 10s long, volume at 1 at start, keyframe at 5s at volume 1, another keyframe at 6s at volume 0.
scene 2) insert scene 1 as sequence, at position 3s.

Render scene 2 as animation, audio will change volume at 5s from start (2s from start of scene 1), rather than at 8s.

Hi folks, Is this related to keyframed changes on strips not being used correctly when the scene is inserted into another in "use sequence" mode? In 2.78, if you keyframe some audio levels in a scene and then insert that scene into another some time after the start, the keyframed values happen at the wrong time - it seems like the time is measured from the start of the second scene, rather from the time the first scene's start position. To reproduce: scene 1) audio strip 10s long, volume at 1 at start, keyframe at 5s at volume 1, another keyframe at 6s at volume 0. scene 2) insert scene 1 as sequence, at position 3s. Render scene 2 as animation, audio will change volume at 5s from start (2s from start of scene 1), rather than at 8s.

incorrect_sequence_keyframes.blend

Since I found that this applies to other strip types, I have made a blend file as an example. In the scene "sub" you can see the text count from 1 to 5. In the scene "master", "sub is inserted at 2s, and the numbers start counting from 3 instead of 1.

[incorrect_sequence_keyframes.blend](https://archive.blender.org/developer/F378272/incorrect_sequence_keyframes.blend) Since I found that this applies to other strip types, I have made a blend file as an example. In the scene "sub" you can see the text count from 1 to 5. In the scene "master", "sub is inserted at 2s, and the numbers start counting from 3 instead of 1.
Author

Hey Olly,

It's definitely conceptually similar. although it relates to the way strips reference the animation data as opposed to referencing other strips. I took a quick look and it looks like it's more complicated than I originally thought. I think this is a different enough issue to merit another task.

If you're interested in looking into the code you can look at the solution to the original issue which is here:

https://developer.blender.org/D2252#d494a504

Thanks,

Matt

Hey Olly, It's definitely conceptually similar. although it relates to the way strips reference the animation data as opposed to referencing other strips. I took a quick look and it looks like it's more complicated than I originally thought. I think this is a different enough issue to merit another task. If you're interested in looking into the code you can look at the solution to the original issue which is here: https://developer.blender.org/D2252#d494a504 Thanks, Matt

Thanks Matt. I've created a new task (https://developer.blender.org/T49658), hope that's okay!

I've had a dig through with the debugger and don't see any data that could be used to correct the error at the point where the curves are being evaluated.

Thanks Matt. I've created a new task (https://developer.blender.org/T49658), hope that's okay! I've had a dig through with the debugger and don't see any data that could be used to correct the error at the point where the curves are being evaluated.
Author

I've just checked this out in the 2.79 rc 1 and none of the issues reported in the original issue persist. Closing unless there are objections. Apologies for the long delay here, I didn't realize I had never closed this.

Thanks!

Matt

I've just checked this out in the 2.79 rc 1 and none of the issues reported in the original issue persist. Closing unless there are objections. Apologies for the long delay here, I didn't realize I had never closed this. Thanks! Matt
Author

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Matt closed this issue 2017-08-30 10:27:50 +02: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
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#49424
No description provided.