Skip to content

ulyssedsn/VTT-Thumbnails

Repository files navigation

license pr_open

VTT-Thumbnails

I love thumbnails, and I think that everybody needs thumbnails in his life. I have built for you an application that is able to generate giving a mp4 file, VTT Thumbnails (this include the mosaic and the webvtt file). Enjoy !

Requisites

Ffmpeg - Mediainfo

Ffmpeg: https://www.ffmpeg.org/download.html

Mediainfo: https://www.howtoinstall.me/ubuntu/18-04/mediainfo/

Installation

Use the package manager bundler to install all dependencies.

bundle install
bundle exec rails c

Usage

Thumbnails.new(<mp4_file>).call
Thumbnails.new(<mp4_url>).call

WIP

  • Improve video formats support
  • Integrate a test player

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)