Watch and resize all the videos you deposit in the folder you need. Optimized for web, perfect for reducing the load of your applications.
src/video_optimize | ||
test/video_optimize | ||
.gitignore | ||
config.yaml | ||
LICENSE | ||
project.clj | ||
README.md |
Usage
- Create
config.yaml
.
extension_thumbnail: "_thumbnail.mp4"
width_thumbnail: 600
path_videos: "videos"
- Make folder
path_videos
.
mkdir videos
-
Install
ffmpeg
. -
Download the latest version (
video-optimize-{version}-standalone.jar
).
https://github.com/tanrax/auto-video-thumbnail/releases
- Now you can execute.
java $JVM_OPTS -cp video-optimize-{version}-standalone.jar clojure.main -m video-optimize.core
- Leave videos.
Everything you leave in the videos folder will be optimized for web with the specified resolution (600 px in this example).