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

Is it possible to generate video longer than 10 seconds? #28

Open
walkingwithGod2017 opened this issue Jan 19, 2025 · 5 comments
Open

Comments

@walkingwithGod2017
Copy link

Hello, thank you for your outstanding research work; this project looks very good. Currently, when I run it locally and upload audio longer than 10 seconds, I always receive an error message. Is it possible to generate video longer than 10 seconds with this? Looking forward to your reply.

Error message:
raise LocalProtocolError("Too much data for declared Content-Length")
h11._util.LocalProtocolError: Too much data for declared Content-Length

@jixiaozhong
Copy link
Owner

Hello, thank you for your outstanding research work; this project looks very good. Currently, when I run it locally and upload audio longer than 10 seconds, I always receive an error message. Is it possible to generate video longer than 10 seconds with this? Looking forward to your reply.

Error message: raise LocalProtocolError("Too much data for declared Content-Length") h11._util.LocalProtocolError: Too much data for declared Content-Length

If you run locally, the max duration should be longer than 10 seconds (as long as your GPU have sufficent memory). I guess the error is raised by something else. It seems a network problem. Try to run it with demo.py in cli to see what happen.

@walkingwithGod2017
Copy link
Author

Hello, thank you for your outstanding research work; this project looks very good. Currently, when I run it locally and upload audio longer than 10 seconds, I always receive an error message. Is it possible to generate video longer than 10 seconds with this? Looking forward to your reply.
Error message: raise LocalProtocolError("Too much data for declared Content-Length") h11._util.LocalProtocolError: Too much data for declared Content-Length

If you run locally, the max duration should be longer than 10 seconds (as long as your GPU have sufficent memory). I guess the error is raised by something else. It seems a network problem. Try to run it with demo.py in cli to see what happen.

Thank you very much. It was indeed a network problem and I have resolved it. Thank you again!

@PlunderS11
Copy link

Hi @walkingwithGod2017,
I noticed that you encountered a similar issue when processing videos longer than 5-10 minutes. If you have managed to handle longer videos successfully, could you please share your machine configuration or any performance optimization methods you applied?

If you could share this information, I would greatly appreciate it. Thank you!

@walkingwithGod2017
Copy link
Author

Hi @walkingwithGod2017, I noticed that you encountered a similar issue when processing videos longer than 5-10 minutes. If you have managed to handle longer videos successfully, could you please share your machine configuration or any performance optimization methods you applied?

If you could share this information, I would greatly appreciate it. Thank you!

Hello, I believe this project may not be suitable for generating videos longer than 3 minutes, as generating a 2 minute 30 second audio already consumes 50G of VRAM.

@PlunderS11
Copy link

Hi @walkingwithGod2017, I noticed that you encountered a similar issue when processing videos longer than 5-10 minutes. If you have managed to handle longer videos successfully, could you please share your machine configuration or any performance optimization methods you applied?
If you could share this information, I would greatly appreciate it. Thank you!

Hello, I believe this project may not be suitable for generating videos longer than 3 minutes, as generating a 2 minute 30 second audio already consumes 50G of VRAM.

Thank you so much for the detailed information! I understand that this project might not be suitable for rendering long videos. Do you have any suggestions for other projects that can handle long video rendering with good quality? I would greatly appreciate your recommendations. Thanks in advance!

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

3 participants