title: Create video from camera frames
body: <p>I've been playing around with v4l2 and I finally managed to connect to my laptop's camera and set it to stream. </p>
  
  <p>At the moment I save the frames as <code>1.jpg</code>, <code>2.jpg</code> etc. </p>
  
  <p>Thinking on a basic level, I need a storage container for those jpegs and then a video player runs the container contents in sequence and I get video.</p>
  
  <p>I assume the video format is going to be my container.</p>
  
  <p>How do I create and write to one? </p>