Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Video Thumbnail Generator

Generate thumbnail sprites from videos and create preview video from thumbnails

Build

  1. Clone it:
$ git clone git@github.com:alicaglayan/videoThumbnailGenerator.git
  1. Then go to the project's folder:
$ cd videoThumbnailGenerator
  1. And finally run:
$ chmod a+x build && ./build

Run

$ ./generator --help
Video Thumbnail Generator

Usage:
  ./generator <video> <width> <height> <columns> <output> <video_preview>
  ./generator (-h | --help)
  ./generator --version

Options:
  -h --help         Show this screen.
  --version         Show version.
  <video>           Video file path.
  <width>           Width of each index.
  <height>          Height of each index.
  <columns>         Total number of thumbnails per line.
  <output>          Output.
  <video_preview>   Preview video path.

Example

$ ./generator test.mp4 163 88 10 thumbnails/thumbs.jpg previews/video.mp4
Extracting 10 frames
  [####################################]  100%
Frames extracted.
[MoviePy] >>>> Building video previews/43534.mp4
[MoviePy] Writing video previews/43534.mp4
100%|███████████████████████████████████████| 121/121 [00:00<00:00, 2146.97it/s]
[MoviePy] Done.
[MoviePy] >>>> Video ready: previews/43534.mp4 

Saved!

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages