auto-video-thumbnail/README.md
2020-07-14 11:25:10 +02:00

816 B

Install

  1. Install Java.

Debian/Ubuntu

sudo apt install default-jdk

Mac OS

brew install openjdk
  1. Create config.yaml.
extension_thumbnail: "_thumbnail.mp4"
width_thumbnail: 600
path_videos: "videos"
  1. Make folder path_videos.
mkdir videos
  1. Install ffmpeg.

  2. Download the latest version (video-optimize-{version}-SNAPSHOT-standalone.jar).

https://github.com/tanrax/auto-video-thumbnail/releases

  1. Now you can execute.
java $JVM_OPTS -cp video-optimize-{version}-SNAPSHOT-standalone.jar clojure.main -m video-optimize.core
  1. Leave videos in folder videos.

Everything you leave in the videos folder will be optimized for web with the specified resolution (600px in this example).

example.mp4 -> example_thumbnail.mp4