Page 1 of 1
Enabling Hardware Acceleration (DXVA2) for libvlc 2.2.1 via command line switch from VLCJ
Posted: 21 Aug 2015 11:08
by aitte
Background:
I have an application built with LibGDX.
I'm using VLC for video playback via VLCJ.
For the Windows deployment, I need hardware accelerated video decoding - which from my understanding will be via DXVA2 on Windows.
However VLC 2.2.1 has DXVA disabled by default, and the command line switches like -avcodec-hw=dxva2.lo from previous VLC versions don't seem to work
How do I set the flags to enable hardware video decoding?
Re: Enabling Hardware Acceleration (DXVA2) for libvlc 2.2.1 via command line switch from VLCJ
Posted: 21 Aug 2015 11:47
by Rémi Denis-Courmont
If you don't mind shooting yourself in the foot, you have to make a custom build. Forcing acceleration on VLC 2.x will break decoding on some systems.
Re: Enabling Hardware Acceleration (DXVA2) for libvlc 2.2.1 via command line switch from VLCJ
Posted: 21 Aug 2015 19:34
by aitte
Thanks for the quick reply!
- Any recommended guide or documentation on custom building 2.2.1 for dxva?
- In what scenarios will decoding break?
- In my use case I have 100% control of the encoding parameters for the video that will be played back by VLC, is there some recommended format/profile that will work best with DXVA?
- My target device is running a Bay Trail Intel HD Graphics (Z3735F)
Re: Enabling Hardware Acceleration (DXVA2) for libvlc 2.2.1 via command line switch from VLCJ
Posted: 21 Aug 2015 21:43
by Rémi Denis-Courmont
Depending on hardware and drivers.
Re: Enabling Hardware Acceleration (DXVA2) for libvlc 2.2.1 via command line switch from VLCJ
Posted: 25 Aug 2015 05:16
by rocky
What about
- Any recommended guide or documentation on custom building 2.2.1 for dxva?
- In my use case I have 100% control of the encoding parameters for the video that will be played back by VLC, is there some recommended format/profile that will work best with DXVA?
- My target device is running a Bay Trail Intel HD Graphics (Z3735F)