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

Video lagging a lot #38

Open
DanilochTop opened this issue Nov 8, 2023 · 5 comments
Open

Video lagging a lot #38

DanilochTop opened this issue Nov 8, 2023 · 5 comments

Comments

@DanilochTop
Copy link

No errors in output, audio plays fine, but the video is lagging a lot, only some frames are playing...
Do you guys have some suggestions to fix this issue?

@dank074
Copy link
Owner

dank074 commented Nov 9, 2023

Make sure you're using h264 codec since the encoder for that uses a lot less cpu than vp8. If your computer/vps still struggles with that you can decrease the bitrate and/or resolution

@DanilochTop
Copy link
Author

DanilochTop commented Nov 9, 2023 via email

@DanilochTop
Copy link
Author

I just tested with a VPS, and it seems to work fine (almost), i just needed to set the stream FPS to 15, but that's not a problem for me. For better results maybe I need a better CPU?

@dank074
Copy link
Owner

dank074 commented Nov 9, 2023

If it wasn't using too much cpu but the resulting video was still slow it could be your internet speed. Try lowering the bitrate and resolution

@longnguyen2004
Copy link

Can you test the current version of the package? I've optimized various parts in the code, and it should be purely IO bound now.

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