title: Can Video For Windows (VFW) allow multiple video streams in one file?
body: <p>There is not much theory or documentation on the concepts of streams and samples in Video For Windows API (VFW). I am wondering if a video should only contain:</p>
  
  <ul>
  <li>one video stream</li>
  <li>one audio stream</li>
  </ul>
  
  <p>Or can a video contain multiple video streams (one after the other) and multiple audio streams? </p>
  
  <p>I assume a "sample" just means one frame of the video, not multiple frames.
  I assume a stream, is a collection of frames or collection of samples. So it would be useful to divide a video into multiple streams (collections of frames) to make multiple "sections", or multiple streams</p>
  
  <p>If you cannot have multiple streams in a video, and this api is only designed to have one video stream per video (with an optional audio stream), how would one create a video composed of multiple sections? Just edit/cut/paste directly into a single stream? Or use a different API such as MediaFoundation/DirectShow instead?</p>