Answers.Body: <p>Assuming you are satisfied with the chroma key quality from ffmpeg, it's just</p>
  
  <pre><code>ffmpeg -i in.mp4 -vf chromakey={...} -vsync 0 out%d.png
  </code></pre>
  
  <p>where <code>{...}</code> is replaced with your <a href="https://ffmpeg.org/ffmpeg-filters.html#chromakey" rel="nofollow noreferrer"><code>chromakey</code></a> filter arguments.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-27T05:37:36.277Z
Answers.LastActivityDate: 2017-07-27T05:37:36.277Z
Answers.UserDisplayName: Gyan
Body: <p>I am looking for way to extract frames from a video shot in front of a green screen. This is the source video, so nothing has been chroma keyed on to it yet. I want to save the frames as PNGs with the green replaced by transparent.</p>
  
  <p>I see its possible to get transparent video based <a href="https://video.stackexchange.com/questions/21397/green-screen-to-transparent-with-ffmpeg">this question</a>, but I am looking to save as transparent PNG's, not video.</p>
  
Tags: <ffmpeg>
Title: Green Screen Video to Transparent PNG's
UserDisplayName: Kumar Mettu
ThreadText: # Green Screen Video to Transparent PNG's
  
  (Asked by: username_0 on 2017-07-27)
  
  I am looking for way to extract frames from a video shot in front of a green screen. This is the source video, so nothing has been chroma keyed on to it yet. I want to save the frames as PNGs with the green replaced by transparent.
  
  I see its possible to get transparent video based [this question](https://video.stackexchange.com/questions/21397/green-screen-to-transparent-with-ffmpeg), but I am looking to save as transparent PNG's, not video.
  
  **Tags:** ffmpeg
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-07-27. Score: 1 | Accepted answer
  
  Assuming you are satisfied with the chroma key quality from ffmpeg, it's just
  
  ```
  ffmpeg -i in.mp4 -vf chromakey={...} -vsync 0 out%d.png
  
  ```
  
  where `{...}` is replaced with your [`chromakey`](https://ffmpeg.org/ffmpeg-filters.html#chromakey) filter arguments.
  
  
  ---
  
  