Closed hooke007 closed 1 year ago
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.
https://user-images.githubusercontent.com/8932183/194657303-beddd4fe-c019-4c5c-b3de-b085f5f64eb6.mp4
https://user-images.githubusercontent.com/8932183/194657331-326cf095-657b-40c5-8af1-683364cd9bee.mp4
How about two threads?
I added the other solution to reduce the CPU's pressure but faster seeking.
Just put default options.hwdec
to "no", it's good to be able to modify this. e.g. low-end graphics cards unable to decode two 8k 10bit av1 streams at same time, driver will crash.
Isn't it 'no' now?
mybad.
We do not need much too many threads to decode when requesting.