-
Notifications
You must be signed in to change notification settings - Fork 38
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
fix: improve the decoding #43
Conversation
It has less cpu usage, but it's also slower. |
Comparing with the current branch, I didn't notice the diff about the preview presenting. |
I'm surprised how little difference it makes most of the time, but with something like 4k h265 it becomes very noticeable for me. multi.thread.mp4single.thread.mp4 |
How about two threads? |
threads.2.mp4threads.3.mp4 |
I added the other solution to reduce the CPU's pressure but faster seeking. |
Just put default |
Isn't it 'no' now? |
mybad. |
We do not need much too many threads to decode when requesting.