<p>The command to get a thumbnail from the first frame of a video is</p>

<pre><code>ffmpeg -i test.mp4 -vframes 1 -vf "scale=360:-1" small_thumnail.png
</code></pre>

<p>The scale filter is set to resize the image to 360 px width and choose height so that image proportion is maintained.</p>

CC BY-SA 3.0
2016-12-19T07:58:50.873Z
where should I put the command? I've never work with FFmpeg yet!
Mohammad
CC BY-SA 3.0
2016-12-19T09:20:15.910Z
If you've never used the command prompt before, see http://www.computerhope.com/issues/chusedos.htm
Gyan
CC BY-SA 3.0
2016-12-18T04:46:15.287Z
2016-12-18T04:46:15.287Z
Gyan
<p>How can I get thumbnails from first frame of each video in a set of videos?  I am using Windows.</p>

CC BY-SA 3.0
2016-12-07T14:41:52.453Z
[Fastest way to generate video thumbnail of particulate size by FFMPEG](http://stackoverflow.com/q/35453006/3091066)
p2or
CC BY-SA 3.0
2016-12-07T16:35:34.333Z
To the OP, if you're going to use the command in the link, omit the `-ss 4` part, so you'll get the first frame.
Gyan
CC BY-SA 3.0
2016-12-17T21:35:54.650Z
@Mulvya could you exactly tell me where and how should I type the command?
Mohammad
<software-recommendation><windows>
How can I get thumbnails from first frame of a set of videos?
Mohammad
# How can I get thumbnails from first frame of a set of videos?

(Asked by: username_0 on 2016-12-06)

How can I get thumbnails from first frame of each video in a set of videos? I am using Windows.

**Tags:** software-recommendation, windows

> **Comments:**
> **username_1**: [Fastest way to generate video thumbnail of particulate size by FFMPEG](http://stackoverflow.com/q/35453006/3091066)  
> **username_2**: To the OP, if you're going to use the command in the link, omit the `-ss 4` part, so you'll get the first frame.  
> **username_0**: @Mulvya could you exactly tell me where and how should I type the command?  

---

## 1 answers

### Answer by username_2 on 2016-12-18. Score: 2

The command to get a thumbnail from the first frame of a video is
ffmpeg -i test.mp4 -vframes 1 -vf "scale=360:-1" small_thumnail.png

The scale filter is set to resize the image to 360 px width and choose height so that image proportion is maintained.

> **Comments:**
> **username_0**: where should I put the command? I've never work with FFmpeg yet!  
> **username_2**: If you've never used the command prompt before, see http://www.computerhope.com/issues/chusedos.htm  

---

