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 !
Ffmpeg - Mediainfo
Ffmpeg: https://www.ffmpeg.org/download.html
Mediainfo: https://www.howtoinstall.me/ubuntu/18-04/mediainfo/
Use the package manager bundler to install all dependencies.
bundle install
bundle exec rails c
Thumbnails.new(<mp4_file>).call
Thumbnails.new(<mp4_url>).call
- Improve video formats support
- Integrate a test player
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Distributed under the MIT License. See LICENSE.txt
for more information.