Watch and resize all the videos you deposit in the folder you need. Optimized for web, perfect for reducing the load of your applications.
Go to file
Andros Fenollosa b9a256b293 Add config
2020-07-14 00:00:18 +02:00
src/video_optimize Add config 2020-07-14 00:00:18 +02:00
test/video_optimize First commit 2020-07-13 19:39:35 +02:00
.gitignore Add config 2020-07-14 00:00:18 +02:00
config.yaml Add config 2020-07-14 00:00:18 +02:00
LICENSE First commit 2020-07-13 19:39:35 +02:00
project.clj Add config 2020-07-14 00:00:18 +02:00
README.md Add config 2020-07-14 00:00:18 +02:00

Usage

  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}-standalone.jar).

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

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

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