Page 1 of 1

Hardware accleration

Posted: 20 Aug 2024 07:58
by Owner
I want to modify VLC plugin for OBS Studio in order to support hardware acceleration. So I have add option avcodec-hw=dxva2. In this case "Video Encode" GPU up to 70% in Task Manager. The issue is CPU usage up to 100% when I add 8+ stream sources to OBS.

Code: Select all

libvlc_media_add_option(media, ":avcodec-hw=dxva2");

Can libVLC switch "dxva2 copy-back" to "dxva2 native"? Maybe I need to install some additional drivers? Or use other hw-options to reduce CPU usage?