Answers.Body: <h1>Sequential series</h1>
  
  <h3>1.png</h3>
  
  <pre><code>%d.png
  </code></pre>
  
  <h3>01.png</h3>
  
  <pre><code>%02d.png
  </code></pre>
  
  <h3>001.png</h3>
  
  <pre><code>%03d.png
  </code></pre>
  
  <h3>0001.png</h3>
  
  <pre><code>%04d.png
  </code></pre>
  
  <h3>image0001.png</h3>
  
  <pre><code>image%04d.png
  </code></pre>
  
  <h1>Non sequential series</h1>
  
  <p>If they image inputs are not sequential then use the glob wildcard:</p>
  
  <pre><code>ffmpeg -framerate 5 -pattern_type glob -i "*.png" output.mp4
  </code></pre>
  
  <p>The glob pattern may not be supported by Windows. In that case rename your images or use <code>cat</code>:</p>
  
  <pre><code>cat *.png | ffmpeg -framerate 5 -i - output.mp4
  </code></pre>
  
  <hr>
  
  <p>See the <a href="https://ffmpeg.org/ffmpeg-formats.html#image2-1" rel="nofollow noreferrer">image demuxer documentation</a> for more info.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-15T09:34:28.993Z
Answers.Text: Hi, Thank you for your Reply.But the Code is not working. Can you explain How to add cat for my Images?
Answers.UserDisplayName: anil
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-15T18:11:57.427Z
Answers.Text: @anil You need to show any errors you get. Can't help without more info. What is your OS?
Answers.UserDisplayName: llogan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-16T15:52:15.420Z
Answers.Text: Firstly,Thank you for your Reply. My OS is Windows 10
Answers.UserDisplayName: anil
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-16T18:15:09.470Z
Answers.Text: @anil What error did you get?
Answers.UserDisplayName: llogan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-14T18:39:10.060Z
Answers.LastActivityDate: 2020-01-14T18:45:35.417Z
Answers.LastEditDate: 2020-01-14T18:45:35.417Z
Answers.UserDisplayName: llogan
Body: <p>I am writing as follows for a sequence of images like <code>image1.png</code>, <code>image2.png</code>, <code>image3.png</code> … <code>image1234.png</code>. My code for that is:</p>
  
  <pre><code>ffmpeg -framerate5 -start number 1 -i ".\Image%4d.png" -pix_fmt yuv420p text.mp4
  </code></pre>
  
  <p>But what pattern is needed for <code>0001.png</code>, <code>0004.png</code>, <code>0007.png</code>, <code>0010.png</code>, <code>0013.png</code>, <code>0016.png</code>, <code>0019.png</code>?</p>
  
Tags: <ffmpeg>
Title: Images to video using FFMPEG
UserDisplayName: anil
ThreadText: # Images to video using FFMPEG
  
  (Asked by: username_0 on 2020-01-14)
  
  I am writing as follows for a sequence of images like `image1.png`, `image2.png`, `image3.png` … `image1234.png`. My code for that is:
  
  ```
  ffmpeg -framerate5 -start number 1 -i ".\Image%4d.png" -pix_fmt yuv420p text.mp4
  
  ```
  
  But what pattern is needed for `0001.png`, `0004.png`, `0007.png`, `0010.png`, `0013.png`, `0016.png`, `0019.png`?
  
  **Tags:** ffmpeg
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-01-14. Score: 3
  
  # Sequential series
  
  ### 1.png
  
  ```
  %d.png
  
  ```
  
  ### 01.png
  
  ```
  %02d.png
  
  ```
  
  ### 001.png
  
  ```
  %03d.png
  
  ```
  
  ### 0001.png
  
  ```
  %04d.png
  
  ```
  
  ### image0001.png
  
  ```
  image%04d.png
  
  ```
  
  # Non sequential series
  
  If they image inputs are not sequential then use the glob wildcard:
  
  ```
  ffmpeg -framerate 5 -pattern_type glob -i "*.png" output.mp4
  
  ```
  
  The glob pattern may not be supported by Windows. In that case rename your images or use `cat`:
  
  ```
  cat *.png | ffmpeg -framerate 5 -i - output.mp4
  
  ```
  
  ---
  
  See the [image demuxer documentation](https://ffmpeg.org/ffmpeg-formats.html#image2-1) for more info.
  
  > **Comments:**
  > **username_0**: Hi, Thank you for your Reply.But the Code is not working. Can you explain How to add cat for my Images?  
  > **username_1**: @username_0 You need to show any errors you get. Can't help without more info. What is your OS?  
  > **username_0**: Firstly,Thank you for your Reply. My OS is Windows 10  
  > **username_1**: @username_0 What error did you get?  
  
  ---
  
  