Answers.Body: <pre><code>ffmpeg -i input.mp4 output_%04d.ppm
  </code></pre>
  
  <p>Output files will be named <code>output_0001.ppm</code>, <code>output_0002.ppm</code>, etc. See the <a href="https://ffmpeg.org/ffmpeg-formats.html#image2-2" rel="nofollow noreferrer">image muxer documentation</a> for more options and info.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-29T18:07:49.047Z
Answers.LastActivityDate: 2020-04-29T18:07:49.047Z
Answers.UserDisplayName: llogan
Body: <p>What's the ffmpeg command to extract PPM (or Portable Pix Map) files from an existing video? </p>
  
  <p>Like the reverse of this <a href="https://askubuntu.com/questions/971119/convert-a-sequence-of-ppm-images-to-avi-video">https://askubuntu.com/questions/971119/convert-a-sequence-of-ppm-images-to-avi-video</a></p>
  
Tags: <ffmpeg>
Title: What's the ffmpeg command to extract PPM files from an existing video?
UserDisplayName: cyberquarks
ThreadText: # What's the ffmpeg command to extract PPM files from an existing video?
  
  (Asked by: username_0 on 2020-04-29)
  
  What's the ffmpeg command to extract PPM (or Portable Pix Map) files from an existing video?
  
  Like the reverse of this <https://askubuntu.com/questions/971119/convert-a-sequence-of-ppm-images-to-avi-video>
  
  **Tags:** ffmpeg
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-04-29. Score: 1
  
  ```
  ffmpeg -i input.mp4 output_%04d.ppm
  
  ```
  
  Output files will be named `output_0001.ppm`, `output_0002.ppm`, etc. See the [image muxer documentation](https://ffmpeg.org/ffmpeg-formats.html#image2-2) for more options and info.
  
  
  ---
  
  