Hardware Video Decoding!
"What took so long?" you might ask. A good way to manage it across all operating systems and GPU vendor APIs. We have a FAQ topic about this. Management comes in the forms of operating system abstraction APIs, hardware scaling, and a threshold limiter.