{{ comp.header "Auto-Editor - GPU Acceleration" }}
<body>
{{ comp.nav }}
  <section class="section">
  <div class="container">
    <h1>GPU Acceleration</h1>
    <h2>Does Auto-Editor support GPU acceleration?</h2>
    <p>Yes, enable it by linking a version of FFmpeg with GPU acceleration to Auto-Editor and setting the appropriate video codec</p>
    <p>Use <code>--my-ffmpeg</code> or <code>--ffmpeg-location</code> option for linking.</p>
    <h3>How do I enable GPU acceleration on FFmpeg?</h3>
    <p>Compile FFmpeg with the appropriate flags and follow the relevant instructions.
      <ul>
        <li><a href="https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/">NVidia</a>. See <a href="https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new">Supported GPUs</a>.</li>
        <li>AMD <a href="https://askubuntu.com/a/1132191">Ubuntu+Windows</a></li>
        <li><a href="https://trac.ffmpeg.org/wiki/CompilationGuide">Compiling Guide</a></li>
        <ul>
          <li><a href="https://trac.ffmpeg.org/wiki/CompilationGuide/macOS">MacOS</a></li>
          <li><a href="https://trac.ffmpeg.org/wiki/CompilationGuide/CrossCompilingForWindows">Windows</a></li>
          <li><a href="https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu">Ubuntu / Debian / Mint</a></li>
          <li><a href="https://trac.ffmpeg.org/wiki/CompilationGuide/Centos">CentOS / RHEL / Fedora</a></li>
          <li><a href="https://trac.ffmpeg.org/wiki/CompilationGuide/Generic">Generic Compiling Guide</a></li>
        </ul>
      </ul>
    </p>
    <p>Remember to set the export codec in auto-editor. <code>auto-editor --video-codec</code></p>
    <p>Note that the resulting build is legally undistributable.</p>
    <h3>Will enabling GPU acceleration make auto-editor go faster?</h3>
    <p>If you want to export to a certain codec that is compatible with your GPU, <strong>yes, in some cases, it will go noticeably faster</strong>, albeit with some slight quality loss.</p>
    <p>However, <strong>in most other cases</strong>, GPU acceleration won't do anything since analyze and creating new media files are mostly CPU bound. Given how relatively complex enabling GPU acceleration is, <strong>it is not recommend for most users.</strong></p>
    <hr/>
    <h3>Further Reading</h3>
    <ul>
      <li><a href="https://www.intel.com/content/www/us/en/products/docs/processors/what-is-a-gpu.html">What is a GPU</a></li>
      <li><a href="https://blogs.nvidia.com/blog/2009/12/16/whats-the-difference-between-a-cpu-and-a-gpu/">What's the difference between a CPU and a GPU</a></li>
    </ul>
  </div>
  </section>
</body>
</html>
