ue4plugins / VlcMedia

Media Framework plug-in using the Video LAN Codec (libvlc).
BSD 3-Clause "New" or "Revised" License
267 stars 145 forks source link

DXVA/VLC hardware acceleration #41

Open badtrip987 opened 7 years ago

badtrip987 commented 7 years ago

Hi,

Would it possible to use vlc's hardware acceleration? Last time I checked, it needed a DX11 texture handle to work with.

Is this possible/easier with 4.18?

Thanks

gmpreussner commented 7 years ago

This is not quite possible yet. I'm still working on the API and Engine changes to support DX11 resources.

gmpreussner commented 7 years ago

Related forum discussion: https://forum.videolan.org/viewtopic.php?f=32&t=138198

kamesenin commented 6 years ago

hey. any news about hardware acceleration ?

jbkempf commented 6 years ago

Yes, we're looking at it (upstream).

See: https://patches.videolan.org/patch/21429/ https://patches.videolan.org/patch/21430/ https://patches.videolan.org/patch/21431/

With those, you can use the DxVA->OpenGL libVLC converter and get hw decoding.

siegetech commented 5 years ago

Any tips on how to get Hw decoding to work?

jbkempf commented 5 years ago

@siegetech you need to modify this project (or get someone to do it) and use the libVLC 4.0 new API.

siegetech commented 5 years ago

@siegetech you need to modify this project (or get someone to do it) and use the libVLC 4.0 new API.

Thanks for the quick response. Any hints on where to start modifiying the plugin to use it? I assume its not just about updating libvlc..

jbkempf commented 5 years ago

It's a lot more complex, indeed.