Answers.Body: <p>The <a href="https://ffmpeg.org/ffmpeg-formats.html#image2-2" rel="noreferrer">image sequence muxer</a> has a <a href="https://ffmpeg.org/ffmpeg-formats.html#Options-5" rel="noreferrer">start number option</a>, so</p>
  
  <pre><code>ffmpeg -i video.webm -start_number 98 image-%03d.png
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-17T06:52:53.940Z
Answers.Text: Does this still work? The arg is being ignored for me
Answers.UserDisplayName: jameslol
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-17T07:46:25.303Z
Answers.Text: Share full log.
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-28T16:30:14.560Z
Answers.Text: I had to put the `-start_number` flag before the `-i` flag for it to get parsed.
Answers.UserDisplayName: shockburner
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-09T03:07:29.593Z
Answers.Text: Moving it before `-i` results in an error: `Option start_number not found.` after `-i` it just gets ignored.
Answers.UserDisplayName: mashuptwice
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-09T06:10:26.750Z
Answers.Text: @shockburner Simply reordering the arguments actually made it work on ffmpeg 4.4.2 built with Apple clang-1300.0.29.30, kudos!
Answers.UserDisplayName: Anton Strogonoff
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-07-25T11:41:49.450Z
Answers.Text: Everyone should be aware that this is not, *by far*, the only occurrence of position-sensitive `ffmpeg` arguments. It's kind of its thing.
Answers.UserDisplayName: Glenn Slayden
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-05T15:27:22.597Z
Answers.LastActivityDate: 2016-10-06T15:40:44.830Z
Answers.LastEditDate: 2016-10-06T15:40:44.830Z
Answers.UserDisplayName: Gyan
Body: <p>I am using <a href="https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/image_sequence" rel="noreferrer">ffmpeg to convert from video to an image sequence</a> as follows:</p>
  
  <pre><code>ffmpeg -i video.webm image-%03d.png
  </code></pre>
  
  <p>The first image is labelled <code>001</code>, but I want it to be labelled <code>098</code>. Is it possible to set that value in the ffmpeg invocation?</p>
  
Tags: <video><ffmpeg><conversion>
Title: Can I set the start number for image sequence output?
UserDisplayName: lofidevops
ThreadText: # Can I set the start number for image sequence output?
  
  (Asked by: username_0 on 2016-10-05)
  
  I am using [ffmpeg to convert from video to an image sequence](https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/image_sequence) as follows:
  
  ```
  ffmpeg -i video.webm image-%03d.png
  
  ```
  
  The first image is labelled `001`, but I want it to be labelled `098`. Is it possible to set that value in the ffmpeg invocation?
  
  **Tags:** video, ffmpeg, conversion
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-10-05. Score: 32 | Accepted answer
  
  The [image sequence muxer](https://ffmpeg.org/ffmpeg-formats.html#image2-2) has a [start number option](https://ffmpeg.org/ffmpeg-formats.html#Options-5), so
  
  ```
  ffmpeg -i video.webm -start_number 98 image-%03d.png
  
  ```
  
  > **Comments:**
  > **username_2**: Does this still work? The arg is being ignored for me  
  > **username_1**: Share full log.  
  > **username_3**: I had to put the `-start_number` flag before the `-i` flag for it to get parsed.  
  > **username_4**: Moving it before `-i` results in an error: `Option start_number not found.` after `-i` it just gets ignored.  
  > **username_5**: @username_3 Simply reordering the arguments actually made it work on ffmpeg 4.4.2 built with Apple clang-1300.0.29.30, kudos!  
  > **username_6**: Everyone should be aware that this is not, *by far*, the only occurrence of position-sensitive `ffmpeg` arguments. It's kind of its thing.  
  
  ---
  
  