Nevcairiel / LAVFilters

LAV Filters - Open-Source DirectShow Media Splitter and Decoders
GNU General Public License v2.0
7.23k stars 786 forks source link

Non-HW decoding question #507

Closed psyborg55 closed 1 year ago

psyborg55 commented 1 year ago

When format is not supported to be hardware-decoded, e.g. h264 4:2:2 the decoder will utilize CPU to do decoding. Is it possible to also utilze GPU at the same time in parallel with CPU to decode the stream? (the GPU use same method as CPU for decoding so acting as an additional CPU core) How much of performance improvement could this bring in?

Nevcairiel commented 1 year ago

This is not possible.

psyborg55 commented 1 year ago

Ok. Can you tell what is the limiting factor? Every GPU being different needing special code, or something else?

clsid2 commented 1 year ago

The limiting factor is there is absolutely nobody interested in implementing such functionality for free in in open source project. Plus GPUs are not suitable for such tasks, so it would be pointless as well. If you want better performance, get a better CPU.