Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

写入fbx的帧率问题 #297

Open
ldincredible opened this issue Jul 6, 2022 · 8 comments
Open

写入fbx的帧率问题 #297

ldincredible opened this issue Jul 6, 2022 · 8 comments

Comments

@ldincredible
Copy link

作者你好,我使用.npz文件转.fbx的时候,设置了fps_source,fps_target这两个参数为30,但转换后的fbx结果帧率还是24,如图所示
image
请问这是什么问题

@Arthur151
Copy link
Owner

可能在Blender里直接改更容易吧

https://blenderartists.org/t/how-to-set-framerate-in-2-9/1267129

@ldincredible
Copy link
Author

谢谢回复,如果我想调整动作上的帧速率而不是渲染的帧速率,在convert2fbx上应该做哪些调整

@Arthur151
Copy link
Owner

Arthur151 commented Jul 7, 2022

可以尝试一下设置为
fps_source=24,fps_target=30
直接在这里设置即可

fps_target = 24

@ldincredible
Copy link
Author

image
这里加了限制,不注释掉fps_source,fps_target还是相等,注释掉会除0
image

@Arthur151
Copy link
Owner

直接把这里设为30

scene.render.fps = fps_target

@ldincredible
Copy link
Author

image
谢谢耐心回复,尝试了fps_source=24/30,fps_target=30,scene.render.fps = 30,转换的还是24

@Arthur151
Copy link
Owner

Arthur151 commented Jul 7, 2022

抱歉,我对Blender api的使用也不熟悉。
也可能和blender的导入有关系
https://blenderartists.org/t/fbx-import-with-wrong-framerate-and-stretched-animation/1198336

@ldincredible
Copy link
Author

那我再去研究下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants