Maniphest T98604

FBX Import Resets Framerate to 25fps Incorrectly
Closed, Resolved

Assigned To
Bastien Montagne (mont29)
Authored By
Robert Tolppi (rstolppi)
Jun 5 2022, 4:08 AM
Tags
  • Add-ons (BF-Blender)
Subscribers
Bastien Montagne (mont29)
Omar Emara (OmarSquircleArt)
Robert Tolppi (rstolppi)

Description

System Information
Operating system:
Graphics card:
MacBook Pro (16-inch, 2021)
Apple M1 Max
64 GB Memory

Blender version: 3.1.2

Short description of error
When importing certain fbx files, framerate incorrectly resets to 25FPS and incorrectly scales animation data.

Exact steps for others to reproduce the error

  1. Open blender
  2. Set fps to 29.97
  3. Import attached fbx file (in this case, a 3d scene from davinci resolve exported at 29.97 fps)
  4. Observe that the framerate changes to 25 fps

The fbx file is not corrupted and imports correctly into Houdini. This error is likely due to the default behavior when importing an FBX file that doesn't clearly specify its framerate in a way blender understands is to reset the framerate to 25 fps. There are cumbersome workarounds apparently (see this unreal engine thread which points to the code that needs changing in the importer script) but the error still persists in the latest version of blender. I am not a developer so there may be a technical reason why the fps resets to 25fps but, if possible, it would be better if the file was interpreted to match Blender's set frame rate so that animations for things such as camera tracks line up correctly timewise.

Thank you so much to the Blender development team for all your hard work!

Revisions and Commits

rBA Blender Add-ons

Related Objects

Mentioned In
T101066: FBX Exporter sets wrong(?) TimeMode when exporting blend file with 30 fps
Mentioned Here
M1: Bevel Tool Toolbar Layout - Multiple Overflow Popovers

Event Timeline

Robert Tolppi (rstolppi) created this task.Jun 5 2022, 4:08 AM
Pratik Borhade (PratikPB2123) edited projects, added Add-ons (BF-Blender); removed BF Blender.Jun 6 2022, 7:34 AM
Omar Emara (OmarSquircleArt) changed the task status from Needs Triage to Confirmed.Jun 6 2022, 2:34 PM
Omar Emara (OmarSquircleArt) added a subscriber: Omar Emara (OmarSquircleArt).

Looks like TimeMode is 8 in this file, yet the FBX_FRAMERATES dictionary doesn't contain a mapping for it.

Bastien Montagne (mont29) added a subscriber: Bastien Montagne (mont29).Jun 13 2022, 11:48 AM

Problem is, mode 7 and 8 are NTSC 'drop frames' modes... Don't think we have any ways to represent/handle this in Blender.

Guess we'll have to assume 'regular' 30/1.001 NTSC framerate for those as well...

Bastien Montagne (mont29) closed this task as Resolved by committing rBAb91319aead96: Fix T98604: FBX import does not handle some framerate codes..Jun 13 2022, 12:26 PM
Bastien Montagne (mont29) claimed this task.
Bastien Montagne (mont29) added a commit: rBAb91319aead96: Fix T98604: FBX import does not handle some framerate codes..