Git Product home page Git Product logo

video_thumbnail_maker's Introduction

autoit CLI tool to make thumbnails of video
requires ffmpeg and imagemagick installed

example usage calling executable:
thumbnail_maker.exe "input=Big_Buck_Bunny.mp4" "output=thumbnails.png" "columns=4" "rows=3" "size=135" "border=1" "font=arial" "fontsize=12" "header=name,size,resolution,duration,date" "time=southeast"

example usage calling script directly:
AutoIt3.exe thumbnail_maker.au3 "input=Big_Buck_Bunny.mp4" "output=thumbnails.png" "columns=4" "rows=3" "size=135" "border=1" "font=arial" "fontsize=12" "header=name,size,resolution,duration,date" "time=southeast"

example output:
output result

parameter options - can be in any order

input (input, in, i)
required
video file you wish to process.
all formats supported by ffmpeg work.
run ffmpeg -formats to see video formats.

output (output, out, o)
optional - defaults to output.png
filename and image format for the resulting output.
all image formats supported by imagemagick work.
run identify -list format to see image formats.

columns (columns, column, cols, col, c)
optional - defaults to 4
any number other than 0.
number of columns of thumbnails.

rows (rows, row, r) optional - defaults to 3
any number other than 0.
number of columns of thumbnails.

size (size, s)
optional - defaults to 135
horizontal aspect: max height in pixels for thumbnails.
portrait aspect: max width in pixels for thumbnails.

border (border, b)
optional - defaults to 1
pixel space between thumbnails and around entire image.

font (font, f)
optional - defaults to arial
the font to use for any text or numbers.
run convert -list font to see installed fonts.

fontsize (fontsize, fs)
optional - defaults to 12
the font size to use for any text or numbers.

header (header, head, h)
optional - defaults to Name, Size, Resolution, Duration
additonal information about the video that will be displayed at the top of the image.
can be name, size, resolution, duration, fps, date. none means no header.
the ordering is maintained. can show the same information more than once.

timestamp (timestamp, time, ts, t)
optional - defaults to southeast
which side of the thumbnails to place a timestamp.
can be north, northeast, east, southeast, south, southwest, west, northwest. none means no timestamp.

video_thumbnail_maker's People

Contributors

lllllll-llll-llllll avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.