[2.6.3] Track-markers are off by one frame after saving and loading a project. #31215

Closed
opened 2012-05-01 21:53:12 +02:00 by Alexander Maret-Huskinson · 6 comments

%%%Blender Version: 2.6.3-x64 from blender.org
OS: Kubuntu 12.04 x64

After quitting blender and reloading a motion-tracking project, all track markers are off by one frame.

Steps to reproduce:

  1. Download footage (85MB): http://mail.tagungenplus.de/footage_blender.mov
  2. Create a new project
  3. Load footage and track a marker up to the end.
  4. Save project and quit Blender.
  5. Open Blender and load project.
  6. Check markers.

> All makers are off by one frame (the video is one frame ahead).

This does not always happen, but most of the time. The same footage can be tracked and saved without problems when using Blender 2.6.2. If you load a project saved with Blender 2.6.3 into Blender 2.6.2, the markers are also off by one frame.
%%%

%%%Blender Version: 2.6.3-x64 from blender.org OS: Kubuntu 12.04 x64 After quitting blender and reloading a motion-tracking project, all track markers are off by one frame. Steps to reproduce: 1) Download footage (85MB): http://mail.tagungenplus.de/footage_blender.mov 2) Create a new project 3) Load footage and track a marker up to the end. 4) Save project and quit Blender. 5) Open Blender and load project. 6) Check markers. # > All makers are off by one frame (the video is one frame ahead). This does not always happen, but most of the time. The same footage can be tracked and saved without problems when using Blender 2.6.2. If you load a project saved with Blender 2.6.3 into Blender 2.6.2, the markers are also off by one frame. %%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%WIth not pre-processed videos came from camera you'll need to use time codes which prevents such situations. Brief information about this might be found http:*wiki.blender.org/index.php/User:Nazg-gul/ProxyAndTimecode and http:*wiki.blender.org/index.php/Doc:2.6/Manual/Motion_Tracking#Proxy_.2F_Timecode_Panel
Withut timecode it's imposible to do an accurate seek in video files.
Thanks for the report, but it's not a bug, but limitation of video files editing in blender.%%%

%%%WIth not pre-processed videos came from camera you'll need to use time codes which prevents such situations. Brief information about this might be found http:*wiki.blender.org/index.php/User:Nazg-gul/ProxyAndTimecode and http:*wiki.blender.org/index.php/Doc:2.6/Manual/Motion_Tracking#Proxy_.2F_Timecode_Panel Withut timecode it's imposible to do an accurate seek in video files. Thanks for the report, but it's not a bug, but limitation of video files editing in blender.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

%%%This footage is not directly from cam. It was remultiplexed using ffmpeg, so it should have the correct header and keyframes, shouldn't it? Can you please give an example how to preprocess footage with mencoder? I'm not sure what exactly I have to do to get it into blender.%%%

%%%This footage is not directly from cam. It was remultiplexed using ffmpeg, so it should have the correct header and keyframes, shouldn't it? Can you please give an example how to preprocess footage with mencoder? I'm not sure what exactly I have to do to get it into blender.%%%

%%%Well, actually i'm not sure about correct command line to pre-process video in a way it'll be handled properly with blender without timecode. Even if all index frames are set correct, there's also possibility that video stream would be using variable bitrate which will also confuse seek. And actually proper solution would be to build indices automatically on load. It's not so difficult but i'll need to test if it'll slow down file loading more that it might be expected.
Currently to be 100% sure about frame shifting just use Record Run time code.%%%

%%%Well, actually i'm not sure about correct command line to pre-process video in a way it'll be handled properly with blender without timecode. Even if all index frames are set correct, there's also possibility that video stream would be using variable bitrate which will also confuse seek. And actually proper solution would be to build indices automatically on load. It's not so difficult but i'll need to test if it'll slow down file loading more that it might be expected. Currently to be 100% sure about frame shifting just use Record Run time code.%%%

%%%Thanks for your help, I enabled the proxy with a "Record Run" timecode and it seems to work. Still I'm a bit worried that the final video will be out of sync when the audio is remultiplexed with the blender output video.

At the weekend I will try some mencoder/ffmpeg settings to see if I can find the correct parameters, which lets you generate all required headers and keyframes without having to reencode the video. If I find a solution I'll post it here.%%%

%%%Thanks for your help, I enabled the proxy with a "Record Run" timecode and it seems to work. Still I'm a bit worried that the final video will be out of sync when the audio is remultiplexed with the blender output video. At the weekend I will try some mencoder/ffmpeg settings to see if I can find the correct parameters, which lets you generate all required headers and keyframes without having to reencode the video. If I find a solution I'll post it here.%%%
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#31215
No description provided.