Using libvlc with direct3d vout on Windows

This forum is about all development around libVLC.
IvoGeorgiev
New Cone
New Cone
Posts: 1
Joined: 11 Mar 2017 20:13

Using libvlc with direct3d vout on Windows

Postby IvoGeorgiev » 11 Mar 2017 20:15

Hello,

I have a couple of related questions:

1) On Windows, is it possible to initialize libVLC directly with direct3d vout, while passing it your own HWND for it to draw in
2) Are there any advantages to doing this over simply using vmem+your own direct3d texture? For example, hardware acceleration?

Thanks in advance

chouquette
Developer
Developer
Posts: 291
Joined: 15 Apr 2010 00:54

Re: Using libvlc with direct3d vout on Windows

Postby chouquette » 13 Mar 2017 09:30

I think you are looking for http://www.videolan.org/developers/vlc/ ... 882eb711f3
Using vmem is *NOT* a good idea if you want good performances, especially with high resolution videos.

With VLC 3.0, rendering directly to a specific HWND can enable hardware decoding with direct rendering, which will outperform pretty much any other alternative


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests