title: Convert Videos with FFMPEG to PowerPoint 2016 compatible video format
body: <p>I am trying to convert a bunch of videos to a video format that is natively supported by PowerPoint 2013/2016 on a Windows 7 system.</p>
  <p>Microsoft recommends on their website mp4 with h264 and aac.</p>
  <p><a href="https://support.office.com/en-us/article/Video-and-audio-file-formats-supported-in-PowerPoint-d8b12450-26db-4c7b-a5c1-593d3418fb59" rel="nofollow noreferrer" title="Microsoft Video and Audio file format">Video and audio file formats supported in PowerPoint</a></p>
  <blockquote>
  <p>In PowerPoint 2013 and later, and in PowerPoint 2016 for Mac, for the best video playback experience, we recommend that you use .mp4 files encoded with H.264 video (a.k.a. MPEG-4 AVC) and AAC audio. In PowerPoint 2010, we recommend that you use .wmv files.</p>
  </blockquote>
  <blockquote>
  <p>We recommend using .m4a files encoded with AAC audio. In PowerPoint 2010, we recommend that you use .wav or .wma files.</p>
  </blockquote>
  <p>Audio is not important for me.
  I tried to convert my videos with ffmpeg using the following options:</p>
  <pre><code>ffmpeg -i Input.avi -c:v libx264 -preset slow -crf 22 -c:a copy Output.mp4
  </code></pre>
  <p>However I cannot import the video to PowerPoint 2016 (32 or 64bit, I tried both). I always get a missing codec error.</p>
  <p><a href="https://i.stack.imgur.com/d07HY.png" rel="nofollow noreferrer">PPT Error when including video files</a></p>
  <p>Has anyone successfully encoded videos to a natively supported PowerPoint video format (on Windows)?</p>