Hardware accleration

This forum is about all development around libVLC.
Owner
New Cone
New Cone
Posts: 1
Joined: 20 Aug 2024 07:46

Hardware accleration

Postby Owner » 20 Aug 2024 07:58

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?

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests