I would like to consult and make a request regarding MetaHuman Animator.
Currently, I am conducting research into audio analysis using MetaHuman Animator.
During this process, we encountered an issue with the FrameRate.
It appears that in the source code the FrameRate is directly set, as shown below:
UE5/Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanToolkit/Private/MetaHumanToolkitBase.cpp
FMetaHumanToolkitBase::SetMediaTrack
// Audio tracks currently don’t have a proper display rate associated with them, so we default to 30 fps
const FFrameRate AssumedAudioDisplayRate(30’000, 1’000);
RatchetMovieSceneDisplayRate(AssumedAudioDisplayRate);
UE5/Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanPerformance/Private/MetaHumanPerformance.cpp
FFrameRate UMetaHumanPerformance::GetFrameRate() const
{
if (FootageCaptureData && !FootageCaptureData->ImageSequences.IsEmpty() && FootageCaptureData->ImageSequences[0])
{
return FootageCaptureData\-\>ImageSequences\[0]\-\>FrameRateOverride;
}
else
{
return FFrameRate(30, 1\); // Default frame rate if no image sequence
}
}
I have two questions:
・To support 60fps, would it be sufficient to simply change these values to 60’000 and 60 respectively?
I am also wondering if there are any other code locations that need to be updated in order to fully support 60fps.
・For future enhancement purposes, could the FrameRate be made configurable via setting items (e.g., in Project Settings or Editor options)?
As it stands now, unless a programmer extends the system, artists cannot select or change the FrameRate themselves.
It would be helpful if the FrameRate setting could support not only 30 or 60 fps, but also values such as 23. 976 or 59.94 fps.
Thank you very much for your support.
[Attachment Removed]