title: ffmpeg - output images in memory instead of disk
body: <p>I've a python script which basically converts a video into images and stores them in a folder, then all this images are read and informations are extracted from them, then images are deleted. Since the writing images step is so slow and is apparently useless for what I need, I would like to store images somehow in memory instead of the disk, read this images from there and doing my operations, this would speed up my process a lot.</p>
  
  <p>Now my code look like: 
  1st step:</p>
  
  <pre><code>ffmpeg -i myvideo.avi -r 1 -f image2 C:\img_temp
  </code></pre>
  
  <p>2nd step:</p>
  
  <pre><code>for i in range(1, len(os.listdir(IMGTEMP)):
  #My operations for each image
  </code></pre>
  
  <p>3rd step:</p>
  
  <pre><code>for image in os.listdir(IMGTEMP):
          os.remove(IMGTEMP + "\\" + image)
  </code></pre>