title: FFMPEG Batch Convert for Windows
body: <p>I've been trying to convert entire folders of files using ffmpeg for a long time now. I've searched the web, found various answers, but none that helped me. Currently I'm using multiple instances of ffmpeg to convert more than one file at a time. But it's very time consuming and annoying to type in everything all the time, even with copy/paste. </p>
  
  <p>To simplify my current code it would look something like this. I specify the input file and the output format (+ various settings):</p>
  
  <pre><code> ffmpeg -i "EXAMPLE.avi" newEXAMPLE.mp4
  </code></pre>
  
  <p>But what I would like is a single instance of ffmpeg to convert all files in a specific folder to a new format and for the files to keep their original name.</p>
  
  <p>example1.avi > example1.mp4</p>
  
  <p>example2.avi > example2.mp4</p>
  
  <p>example3.avi > example3.mp4</p>
  
  <p>and so on... </p>
  
  <p>PS. I'm a bit new to these kind of things, so I'd much appreciate an explanation with your answer, so I can understand and learn. Thank you!</p>