Tracking markers and video clip goes out of sync. #35133

Closed
opened 2013-04-29 02:10:42 +02:00 by Lars Soderlind · 5 comments

%%%--- Operating System, Graphics card ---
Windows XP 32bit sp3
Nvidia GeForce GT 240

- Blender version with error, and version that worked ---

error with 2.63 and 2.67RC1

- Short description of error ---

The blender test footage video clip fabric-eingang.avi found here:

http://projects.blender.org/scm/viewvc.php/trunk/lib/tests/tracking/footage/?root=bf-blender

doesn't track properly for me. It can look OK during the tracking phase but when it is played back it goes out of sync after a while. Like it's a couple of frames behind the video. It can happen at a different frame number from time to time. What seems to be happening is that the marker suddenly goes back to exactly the previous frame's spot and then forward again, like it was loading the wrong frame suddenly during tracking. You can usually see a spike in the graph view where it happens. If I track one frame at a time or choose any other speed than fastest in the tracking settings, the error seems to happen closer to the beginning.

I have seen similar things happen on another video file before but it doesn't happen an all. Image-sequences always worked fine for me.

The computer only has 2GB of memory and "memory cache limit" is set to 1024 in preferences.
If I choose less frames to track and press Alt+A before tracking so that it gets cached, it seems to track that bit properly.

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Open Blender
Choose motion tracking layout
Open fabric-eingang.avi
Ctrl click to place a marker on a good spot. (White spot on column for example)
Press Ctrl+T to track marker
Press Alt+A to play and observe how the marker and image goes "out of sync"

%%%

%%%--- Operating System, Graphics card --- Windows XP 32bit sp3 Nvidia GeForce GT 240 - Blender version with error, and version that worked --- error with 2.63 and 2.67RC1 - Short description of error --- The blender test footage video clip fabric-eingang.avi found here: http://projects.blender.org/scm/viewvc.php/trunk/lib/tests/tracking/footage/?root=bf-blender doesn't track properly for me. It can look OK during the tracking phase but when it is played back it goes out of sync after a while. Like it's a couple of frames behind the video. It can happen at a different frame number from time to time. What seems to be happening is that the marker suddenly goes back to exactly the previous frame's spot and then forward again, like it was loading the wrong frame suddenly during tracking. You can usually see a spike in the graph view where it happens. If I track one frame at a time or choose any other speed than fastest in the tracking settings, the error seems to happen closer to the beginning. I have seen similar things happen on another video file before but it doesn't happen an all. Image-sequences always worked fine for me. The computer only has 2GB of memory and "memory cache limit" is set to 1024 in preferences. If I choose less frames to track and press Alt+A before tracking so that it gets cached, it seems to track that bit properly. - Steps for others to reproduce the error (preferably based on attached .blend file) --- Open Blender Choose motion tracking layout Open fabric-eingang.avi Ctrl click to place a marker on a good spot. (White spot on column for example) Press Ctrl+T to track marker Press Alt+A to play and observe how the marker and image goes "out of sync" %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%This is not tracking-related, this is ffmpeg thing. Something to do with the seek code. Will try to figure issue out.%%%

%%%This is not tracking-related, this is ffmpeg thing. Something to do with the seek code. Will try to figure issue out.%%%

%%%Re-assigning to Peter, he knows FFmpeg stuff much better than me.

Peter, this is likely something to do with seek code, and timecodes doesn't seem to help here. Here's steps to reproduce seeking error:

It'll give seek failure message when running blender --debug-ffmpeg, and the frame displayed on the screen wouldn't be correct as well.

Tested different itmecodes and it didn't help.%%%

%%%Re-assigning to Peter, he knows FFmpeg stuff much better than me. Peter, this is likely something to do with seek code, and timecodes doesn't seem to help here. Here's steps to reproduce seeking error: - Open http://download.blender.org/ftp/incoming/libmv/sebastian/MVI_4014_tripod.MOV in sequencer, make it so strip starts at frame 1. - Set current frame 200 - Save file, and re-open it so all the caches and buffers are reset - Jump to first frame It'll give seek failure message when running blender --debug-ffmpeg, and the frame displayed on the screen wouldn't be correct as well. Tested different itmecodes and it didn't help.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Archiving for now. Better dealing with video sync is in our TODO anyway, and it's not usually up to blender actually. FFmpeg have it's own issues and it might simply not work for some videos..

Archiving for now. Better dealing with video sync is in our TODO anyway, and it's not usually up to blender actually. FFmpeg have it's own issues and it might simply not work for some videos..
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#35133
No description provided.