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

why the length of the input audio, the output motion, and the rendered result are not match #11

Open
Droliven opened this issue Oct 25, 2023 · 1 comment

Comments

@Droliven
Copy link

I input the audio: TrinitySpeech_Gesture_I_GENEA_Challenge_2020/Test_Data/Audio/TestSeq001.wav, which has 1min 58 seconds.

after run generate.py, get motion TestSeq001.bvh, which has 2350 Frames, Frame Time: 0.050000

then import the bvh motion into the blender, it shows a 10s video, (25fps, 250frames).

My qeestion here is why the length of the input audio, the output motion, and the rendered result are not match

@Aubrey-ao
Copy link
Owner

Aubrey-ao commented Oct 26, 2023

I check the number of sample proint of "TestSeq001.wav" is 5640000 (at 48kHz), so if resample it into 20fps. the number of frames is 2350 (= 5640000 / 48kHz * 20fps).

Therefore, the length of the input audio matches with the output motion length.

As for the Blender Importing, I think maybe u forget to choose the "Update Scene Duration" setting.

image

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