How to enable gpu accelerated decoding in VLC - gHacks Tech News

How to enable gpu accelerated decoding in VLC

If you are noticing choppy playback in VLC Media Player when playing high resolution video files, you may under certain circumstances benefit from gpu accelerated decoding in the media player to smooth things out. The feature in theory uses the processing power of the graphic card to lighten the load on the processor of the system.

There are a couple misconceptions about this though that need to be addressed first before you can make an educated decision about it.

First, according to VLC's GPU Decoding page, it is only available for H.264 streams. Second, the data is decoded in the GPU at the decoding stage and then transferred back to the player so that the other stages, filtering and streaming for instance, can be processed. This means that it can under circumstances be slower than without gpu acceleration enabled.

Last but not least, GPU decoding is only available for select operating systems. While Windows Vista and newer versions of the Microsoft operating system are supported, Windows XP is not at this point in time. The majority of graphic cards should support hardware acceleration just fine. Make sure you have installed the latest drivers though.

Enabling hardware acceleration in VLC

Open VLC Media Player and click on Tools > Preferences or press Ctrl-P to open the settings window of the program. If you are using the simple settings interface, click on Input & Codecs on the left sidebar and check the Use GPU accelerated decoding box there.

vlc use hardware accelerated decoding

If you are using the "all" interface select Input/Codecs > Video Codecs > FFmpeg > Hardware decoding instead to enable acceleration this way.

hardware decoding screenshot

Click on the save button afterwards and restart the media player to work with the new setting. Try playing several video files to see if hardware acceleration makes a difference in terms of playback. If it does, keep the setting enabled. If it does not, just go back to the settings to uncheck the option again.





  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. bubba said on March 5, 2013 at 2:41 pm
      Reply

      It’s enabled by default

      1. Martin Brinkmann said on March 5, 2013 at 2:46 pm
        Reply

        Not on my PC. I reset all preferences to see if that was the case and it was not enabled.

    2. Dan W said on March 11, 2013 at 5:01 pm
      Reply

      Those options do not come up in VLC in either the Simple or All menus for Input & Codecs Settings.
      1.0.5 Goldeneye
      Qt4 Interface

      1. Martin Brinkmann said on March 11, 2013 at 5:24 pm
        Reply

        You are running VLC 1.0.5? Is not that a bit out of date?

        1. Dan W said on March 12, 2013 at 9:04 am
          Reply

          I ran the update VLC offered and that is what was installed.

        2. Martin Brinkmann said on March 12, 2013 at 11:54 am
          Reply

          The latest version on my system (Windows) is 2.0.5.

    3. mk1992 said on April 20, 2013 at 4:01 pm
      Reply

      vlc gpu acceleration sucks big times. slide show on vlc w hardware acceleration and 27% cpu usage = silky smooth win media player with 4% cpu usage. if msft can do it, why can’t vlc? same hd, same driver sw, same vid,

    4. z80 said on December 14, 2013 at 11:03 am
      Reply

      I agree cant find any settings like like that except enable hardware decoder/auto
      Pot Player on the other hand uses GPU with no issues

      vlc is overated imho

    5. vlcfan said on July 1, 2014 at 5:23 pm
      Reply

      hey i am on mac osx mavericks, vlc version 2.1.4 but i have no check box that says use gpu accelerated decoding at all, nor is it in the show all section under FFmpeg, but i have a select option video decode acceleration framework (VDA) is it the same or is there something wrong with my vlc?

      reason i want to use this is because .mov files are lagging and i heard this helps but so far using that option VDA is not completely fixing the issue and the file is working correctly because when i play it with quicktime it works without a lag so any help would be much appreciated.

    6. Taing Chinn Pao said on February 28, 2015 at 4:24 am
      Reply

      Thank for shared. When I reset to use NVIDIA Graphic card the video so good display but sometime VLC Player running not good especially when I play other length of the video it’s sucks and when it play a few seconds video display is good back.
      Ps : Sorry my poor English.

    7. ritika said on September 20, 2017 at 7:49 am
      Reply

      in vlc media version 2.2.6 how can we enable the hardware acceleration or how we can confirm whether it is using H/W acceleration or not?

    Leave a Reply