Page 1 of 1

Enable/disable GPU acceleration with libvlc

Posted: 07 Mar 2015 13:00
by StarbuckOnBSG
I'm developing a simplke Player based on libvlc (under Windows only).

How can I enable/disable hardware acceleration (DXVA) ?

Re: Enable/disable GPU acceleration with libvlc

Posted: 07 Mar 2015 15:05
by RĂ©mi Denis-Courmont
If/When DXVA support in VLC is robust, enough it will be enabled automatically. Meanwhile, you really should not enable it.

Re: Enable/disable GPU acceleration with libvlc

Posted: 07 Mar 2015 18:38
by StarbuckOnBSG
Got it.
Nevertheless a user asked me if I could add an option... Shall I use --ffmpeg-hw in libvlc_new(argc, argv) call?

Re: Enable/disable GPU acceleration with libvlc

Posted: 08 Mar 2015 16:28
by Jean-Baptiste Kempf
yes

Re: Enable/disable GPU acceleration with libvlc

Posted: 08 Mar 2015 17:11
by StarbuckOnBSG
thanks