title: How to concatenate all "mkv" files using ffmpeg?
body: <p>How can I concatenate all of my files in a folder with <code>mkv</code> extension? I know that I can specify specific files using that command:</p>
  
  <pre><code>ffmpeg -i "concat:00019.MTS|00020.MTS|00021.MTS|00022.MTS" output.mp4
  </code></pre>
  
  <p>but I am not sure how to change it so that it executes the same over a large number of video files. How can I do this?</p>