Answers.Body: <p>This will get you one frame at the one minute mark.</p>
  <pre><code>ffmpeg -ss 00:01:00 -i &quot;[FilePath]&quot; -frames:v 1 img.png
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-11T02:04:05.503Z
Answers.LastActivityDate: 2022-10-11T02:04:05.503Z
Answers.UserDisplayName: 1957classic
Body: <p>I'm just starting with ffmpeg, and i can't get any command to run, they all return</p>
  <pre><code>&quot;Unable to find a suitable output format for 'i'
  i: Invalid argument&quot;
  </code></pre>
  <p>The command was just <code>ffmpeg i StarWars1977.m4v</code>. Does the input file need too be in somewhere specific, or do I need to copy the file path?</p>
  <p>I'm trying to extract frames from a video, but it was giving the same error, so i was trying a simpler test.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-11T01:47:38.027Z
Comments.Text: Your question needs a little more information. Do you want to extract certain frames or all of them? BTW, it should always be -i instead of i.
Comments.UserDisplayName: 1957classic
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-11T01:49:07.553Z
Comments.Text: certain frames, but i wanted to run the command as a test, because it wasn't working.
Comments.UserDisplayName: tmax go
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-10-11T21:00:27.177Z
Comments.Text: Welcome! If you ran the command exactly as you have it in the question, you need a hyphen before the i.  `ffmpeg -i StarWars1977.m4v`
Comments.UserDisplayName: Michael Liebman
Tags: <ffmpeg>
Title: Error when trying to execute ffmpeg command
UserDisplayName: tmax go
ThreadText: # Error when trying to execute ffmpeg command
  
  (Asked by: username_0 on 2022-10-10)
  
  I'm just starting with ffmpeg, and i can't get any command to run, they all return
  
  ```
  "Unable to find a suitable output format for 'i'
  i: Invalid argument"
  
  ```
  
  The command was just `ffmpeg i StarWars1977.m4v`. Does the input file need too be in somewhere specific, or do I need to copy the file path?
  
  I'm trying to extract frames from a video, but it was giving the same error, so i was trying a simpler test.
  
  **Tags:** ffmpeg
  
  > **Comments:**
  > **username_1**: Your question needs a little more information. Do you want to extract certain frames or all of them? BTW, it should always be -i instead of i.  
  > **username_0**: certain frames, but i wanted to run the command as a test, because it wasn't working.  
  > **username_2**: Welcome! If you ran the command exactly as you have it in the question, you need a hyphen before the i.  `ffmpeg -i StarWars1977.m4v`  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-10-11. Score: 1
  
  This will get you one frame at the one minute mark.
  
  ```
  ffmpeg -ss 00:01:00 -i "[FilePath]" -frames:v 1 img.png
  
  ```
  
  
  ---
  
  