title: Can I use ffmpeg to output JPEGs to a memory stream instead of a file?
body: <p>I have a C# app. I have 100 JPEGs (for an example).</p>
  
  <p>I can easily encode this into a video file.</p>
  
  <p>When it has finished encoding on the client app I FTP upload to my server.</p>
  
  <p>It would be 'neater' if I could not write the video file to a disc but instead write it to a memory stream (or array of bytes) and upload via web service perhaps?</p>
  
  <p>I have checked out the ffmpeg documentation but as a C# developer I do not find it natural to understand the C examples.</p>
  
  <p>I guess my first question is it possible, and if so can anyone post an example code in C#?  At the moment I am using the process class in C# to execute ffmpeg.</p>