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

Real-time streaming #14

Open
Neonisu opened this issue Feb 2, 2025 · 1 comment
Open

Real-time streaming #14

Neonisu opened this issue Feb 2, 2025 · 1 comment

Comments

@Neonisu
Copy link

Neonisu commented Feb 2, 2025

Can this actually be real time if lmdm seq frames has to be 80?

@digital-avatar
Copy link
Collaborator

digital-avatar commented Feb 12, 2025

Yes, it can be done in real time, we have already deployed it in our internal applications.

Table 3 in our paper shows that the single-step inferance time of the MotionDiT module is 62ms (80 frames).
In offline mode, the overlap is 10 frames, which is equivalent to 70 valid frames for each inference. At 25fps, the RTF is 62 / (70 * 40) = 0.022, which is much faster than real time. However, the first frame delay (FFD) is too large (more than 70 * 40 = 2800ms).
In online mode, in order to support streaming, some RTF needs to be sacrificed, so we configure a larger overlap (70~75 frames), so that RTF is still less than 1 (0.155~0.31) while ensuring a reasonable FFD (<400ms).

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