Motion Tracking: marker does not remember 'enabled' state #79453

Closed
opened 2020-08-02 01:27:21 +02:00 by Brian E · 15 comments

System Information
Operating system: Linux-5.7.10-201.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-08-03 12:21, hash: 92f6f6d30e
Worked: 63ee3db96107^
Caused by 63ee3db961

Steps to reproduce

  • Open blender, new VFX layout
  • Load moviclip
  • Add track marker (ctrl+ left mouse button)
  • Go to another frame
  • Click 'Enabled' check on track marker to disable it
  • (Go to yet another frame)
  • (Click 'Enabled' check on track marker to enable it again)

State is not remembered [these are no real FCurve keyframes, but tracking dopesheet also does not add 'diamonds' -- but prior to 63ee3db961 tracking would remember this]. Instead marker is disabled for all time line.
I've reset system to defaults (File->Defaults->Load Factory settings).

Thanks.

**System Information** Operating system: Linux-5.7.10-201.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-08-03 12:21, hash: `92f6f6d30e` Worked: 63ee3db96107^ Caused by 63ee3db961 **Steps to reproduce** - Open blender, new VFX layout - Load moviclip - Add track marker (ctrl+ left mouse button) - Go to another frame - Click 'Enabled' check on track marker to disable it - (Go to yet another frame) - (Click 'Enabled' check on track marker to enable it again) State is not remembered [these are no real FCurve keyframes, but tracking dopesheet also does not add 'diamonds' -- but prior to 63ee3db961 tracking would remember this]. Instead marker is disabled for all time line. I've reset system to defaults (File->Defaults->Load Factory settings). Thanks.
Author

Added subscriber: @baeng72

Added subscriber: @baeng72

Added subscriber: @bent

Added subscriber: @bent
Member

Added subscribers: @Sergey, @lichtwerk

Added subscribers: @Sergey, @lichtwerk
Member

Markers enabled state is not part of autokeying.

Autokeying in general is only for Objects, Bones and Masks (see its tooltip).

In fact, I think there is not really a way to insert/remove keyframes for enabled by hand even (you cannot keyframe that property in the UI)?
It is exposed to RNA though as

clip.tracking.tracks['MyTrack'].markers[0].mute

but the UI is not displaying this directly (UI is using internal template_marker instead)

But even doing it from python, something like

clip.tracking.tracks['MyTrack'].markers[0].keyframe_insert("mute")

will fail because MovieTrackingMarker doesnt have a proper RNA_def_struct_path_func.

So this really is not bug, just asking @Sergey here to check if implementing something like rna_trackingMarker_path would make sense [if that would work properly, we could at least use .keyframe_insert("mute") from python properly]

Markers `enabled` state is not part of autokeying. Autokeying in general is only for Objects, Bones and Masks (see its tooltip). In fact, I think there is not really a way to insert/remove keyframes for enabled by hand even (you cannot keyframe that property in the UI)? It is exposed to RNA though as ``` clip.tracking.tracks['MyTrack'].markers[0].mute ``` but the UI is not displaying this directly (UI is using internal `template_marker` instead) But even doing it from python, something like ``` clip.tracking.tracks['MyTrack'].markers[0].keyframe_insert("mute") ``` will fail because `MovieTrackingMarker` doesnt have a proper `RNA_def_struct_path_func`. So this really is not bug, just asking @Sergey here to check if implementing something like `rna_trackingMarker_path` would make sense [if that would work properly, we could at least use `.keyframe_insert("mute")` from python properly]

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

Changed status from 'Needs Triage' to: 'Archived'
Sergey Sharybin self-assigned this 2020-08-03 11:46:41 +02:00

Marker defines position starting at the frame the marker is added at, ending at the frame where another marker is inserted, You are adding a single marker, so the fact that it affects the entire timeline is expected.
This property can not be covered with keyframe-based animation, because it controls something which is already very similar to the animation system itself. It is also not enough to implement the path function for RNA as the solver is not using F-Curve based animation for anything other than weight.

Generally, you shouldn't be using animation system to define what happens with the tracking data, but use tracker and some manual input to control what;s going on.

Thanks for the report, but it is not a bug.

Marker defines position starting at the frame the marker is added at, ending at the frame where another marker is inserted, You are adding a single marker, so the fact that it affects the entire timeline is expected. This property can not be covered with keyframe-based animation, because it controls something which is already very similar to the animation system itself. It is also not enough to implement the `path` function for RNA as the solver is not using F-Curve based animation for anything other than weight. Generally, you shouldn't be using animation system to define what happens with the tracking data, but use tracker and some manual input to control what;s going on. Thanks for the report, but it is not a bug.
Member

@Sergey: thx pointing that out

@Sergey: thx pointing that out
Author

Sigh, thanks for 'burying the lede'.

Did you even load some greenscreen footage into the VFX editor, add a few tracks, enable/disable them at various points and the scrub through the footage from start to finish to see if they 'remember' when they where enabled/disabled?
It works in previous versions, for example, 2.79, 2.80, 2.82, 2.82a. But not in 2.83.3
I'm fucking sorry I mentioned autokeying, I saw it in a tutorial for setting up a keying screen once, so do it automatically when setting up tracking markers.
This is fucking pathetic.
You have seen 'keyframe' and ignored the bug.

Sigh, thanks for 'burying the lede'. Did you even load some greenscreen footage into the VFX editor, add a few tracks, enable/disable them at various points and the scrub through the footage from start to finish to see if they 'remember' when they where enabled/disabled? It works in previous versions, for example, 2.79, 2.80, 2.82, 2.82a. But not in 2.83.3 I'm fucking sorry I mentioned autokeying, I saw it in a tutorial for setting up a keying screen once, so do it automatically when setting up tracking markers. This is fucking pathetic. You have seen 'keyframe' and ignored the bug.
Member

Changed status from 'Archived' to: 'Confirmed'

Changed status from 'Archived' to: 'Confirmed'
Member

This is fucking pathetic.

Please tone down, we are handling lots of reports and if the report is not straight to the point (or is about autokeying -- when in reality it is about something else), then it can happen that things go missing...
But I do see the issue now, will check on this...

> This is fucking pathetic. Please tone down, we are handling *lots* of reports and if the report is not straight to the point (or is about autokeying -- when in reality it is about something else), then it can happen that things go missing... But I do see the issue now, will check on this...

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke

After looking deeper into the issue, there is indeed a regression caused by 63ee3db961.

However, the feature you are describing has nothing to do with auto-keyframe. You don't need to have it enabled, is totally ignored for such kind of edits.

@JacquesLucke , will you have time to re-iterate over the initial bugfix?

P.S. This is why it is very important to follow bug report guidelines and fill in all requested information in the template.

After looking deeper into the issue, there is indeed a regression caused by 63ee3db961. However, the feature you are describing has nothing to do with auto-keyframe. You don't need to have it enabled, is totally ignored for such kind of edits. @JacquesLucke , will you have time to re-iterate over the initial bugfix? P.S. This is why it is very important to follow bug report guidelines and fill in all requested information in the template.
Philipp Oeser changed title from Blender 2.83.3 doesn't auto keyframe tracks to Motion Tracking: marker does not remember 'enabled' state 2020-08-03 15:05:56 +02:00
Sergey Sharybin was unassigned by Philipp Oeser 2020-08-03 15:05:56 +02:00
Philipp Oeser self-assigned this 2020-08-03 15:12:41 +02:00
Member

@JacquesLucke : I think I got it

@JacquesLucke : I think I got it

This issue was referenced by f921ae4665

This issue was referenced by f921ae46658348121c3408b01171e0e21667438c
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
5 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#79453
No description provided.