title: Image sequence to video stream?
body: <p>Like many people already seem to have (there are several threads on this subject here) I am looking for ways to create video from a sequence of images.</p>
  
  <p>I want to implement my functionality in C#!</p>
  
  <p>Here is what I wan't to do:</p>
  
  <pre><code>/*Pseudo code*/
  void CreateVideo(List&lt;Image&gt; imageSequence, long durationOfEachImageMs, string outputVideoFileName, string outputFormat)
  {
      // Info: imageSequence.Count will be &gt; 30 000 images
      // Info: durationOfEachImageMs will be &lt; 300 ms
  
      if (outputFormat = "mpeg")
      {
      }
      else if (outputFormat = "avi")
      {      
      }
      else
      {
      }
  
      //Save video file do disk
  }
  </code></pre>
  
  <p>I know there's a project called <strong>Splicer</strong> (<a href="http://splicer.codeplex.com/" rel="noreferrer">http://splicer.codeplex.com/</a>) but I can't find suitable documentation or clear examples that I can follow (<a href="http://www.codeplex.com/Splicer/Wiki/View.aspx?title=News%20Feeds&amp;referringTitle=Home" rel="noreferrer">these</a> are the examples that I found).</p>
  
  <p>The closest I want to do, which I find here on CodePlex is this:
  <a href="https://stackoverflow.com/questions/251467/how-can-i-create-a-video-from-a-directory-of-images-in-c">How can I create a video from a directory of images in C#?</a></p>
  
  <p>I have also read a few threads about <strong>ffmpeg</strong> (for example this: <a href="https://stackoverflow.com/questions/1707516/c-sharp-and-ffmpeg-preferably-without-shell-commands">C# and FFmpeg preferably without shell commands?</a> and this: <a href="https://stackoverflow.com/questions/3275865/convert-image-sequence-using-ffmpeg">convert image sequence using ffmpeg</a>) but I find no one to help me with my problem and I don't think <strong>ffmpeg</strong>-command-line-style is the best solution for me (because of the amount of images).</p>
  
  <p>I believe that I can use the <strong>Splicer</strong>-project in some way (?). </p>
  
  <p>In my case, it is about about > 30 000 images where each image should be displayed for about 200 ms (in the videostream that I want to create). </p>
  
  <p>(What the video is about? Plants growing ...)</p>
  
  <p>Can anyone help me complete my function?</p>