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

it gives very bad quality? #4

Open
divyanshurawat opened this issue Jul 12, 2020 · 2 comments
Open

it gives very bad quality? #4

divyanshurawat opened this issue Jul 12, 2020 · 2 comments

Comments

@divyanshurawat
Copy link

Everything is very good until we play videos from server. it converts in very bad quality . How do i fix this problem?

@syonip
Copy link
Owner

syonip commented Jul 14, 2020

Hi @divyanshurawat,
The quality is determined by the ffmpeg arguments in the encodeHLS function.
Notice there are two bitrates encoded: 365K and 2000K.
You can play around with the arguments to get any quality you want.
Also notice the -preset ultrafast. If you change it to fast, medium, slow it will improve the quality, but will make the encoding slower.
These were just example arguments, you have to find the settings that give you good results in your case.
Good luck.

@divyanshurawat
Copy link
Author

Thanks i solved this issue. Does it help me to save bandwidth of my server?

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