<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>

CC BY-SA 4.0
2022-10-11T02:04:05.503Z
2022-10-11T02:04:05.503Z
1957classic
<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>

CC BY-SA 4.0
2022-10-11T01:47:38.027Z
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.
1957classic
CC BY-SA 4.0
2022-10-11T01:49:07.553Z
certain frames, but i wanted to run the command as a test, because it wasn't working.
tmax go
CC BY-SA 4.0
2022-10-11T21:00:27.177Z
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`
Michael Liebman
<ffmpeg>
Error when trying to execute ffmpeg command
tmax go
# 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


---

