Enable/disable GPU acceleration with libvlc

This forum is about all development around libVLC.
StarbuckOnBSG
Blank Cone
Blank Cone
Posts: 12
Joined: 27 May 2008 10:59

Enable/disable GPU acceleration with libvlc

Postby StarbuckOnBSG » 07 Mar 2015 13:00

I'm developing a simplke Player based on libvlc (under Windows only).

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15135
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Enable/disable GPU acceleration with libvlc

Postby Rémi Denis-Courmont » 07 Mar 2015 15:05

If/When DXVA support in VLC is robust, enough it will be enabled automatically. Meanwhile, you really should not enable it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

StarbuckOnBSG
Blank Cone
Blank Cone
Posts: 12
Joined: 27 May 2008 10:59

Re: Enable/disable GPU acceleration with libvlc

Postby StarbuckOnBSG » 07 Mar 2015 18:38

Got it.
Nevertheless a user asked me if I could add an option... Shall I use --ffmpeg-hw in libvlc_new(argc, argv) call?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Enable/disable GPU acceleration with libvlc

Postby Jean-Baptiste Kempf » 08 Mar 2015 16:28

yes
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

StarbuckOnBSG
Blank Cone
Blank Cone
Posts: 12
Joined: 27 May 2008 10:59

Re: Enable/disable GPU acceleration with libvlc

Postby StarbuckOnBSG » 08 Mar 2015 17:11

thanks


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 2 guests