title: Merging two videos via PHP
body: <p>So, I'm trying to merge two files using PHP and I've taken a look at the FFMpeg library, yet I cannot manage to merge them. Here's what I've got so far:</p>
  
  <pre><code>$ffmpeg = FFMpeg\FFMpeg::create();
  $vid1 = $ffmpeg-&gt;open('videos/vid1.mp4');
  $vid2 = $ffmpeg-&gt;open('videos/vid2.mp4');
  </code></pre>
  
  <p>How do I stitch together <code>$vid1</code> and <code>$vid2</code> and save them?</p>
  
  <p>Thanks</p>