Dave's Brain

Browse - Computer Tips - How can I make a thumbnail of a movie?

Date: 2008apr28
OS: Linux

Q.  How can I make a thumbnail of a movie?

A.  Use ffmpeg like this:

ffmpeg -y -i input_movie.avi -f mjpeg -ss 10 -vframes 1 -s 150x100 -an thumbnail.jpg
The options break down like this: -y Yes, overwrite the output file -i <file> Name of input video -f <format> Output format -ss <seconds> Skip in <seconds> for frame -vframes <n> How man frames to grab. We just want one. -s <width>x<height> Size of the thumbnail -an Disable audio

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.