Update README.md
This commit is contained in:
parent
a024cd4cd8
commit
9448c34702
18
README.md
18
README.md
@ -1,20 +1,20 @@
|
|||||||
# Install
|
# Install
|
||||||
|
|
||||||
0) Install Java.
|
1) Install Java.
|
||||||
|
|
||||||
## Debian/Ubuntu
|
Debian/Ubuntu
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
sudo apt install default-jdk
|
sudo apt install default-jdk
|
||||||
```
|
```
|
||||||
|
|
||||||
## Mac OS
|
Mac OS
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
brew install openjdk
|
brew install openjdk
|
||||||
```
|
```
|
||||||
|
|
||||||
1) Create `config.yaml`.
|
2) Create `config.yaml`.
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
extension_thumbnail: "_thumbnail.mp4"
|
extension_thumbnail: "_thumbnail.mp4"
|
||||||
@ -22,26 +22,26 @@ width_thumbnail: 600
|
|||||||
path_videos: "videos"
|
path_videos: "videos"
|
||||||
```
|
```
|
||||||
|
|
||||||
2) Make folder `path_videos`.
|
3) Make folder `path_videos`.
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
mkdir videos
|
mkdir videos
|
||||||
```
|
```
|
||||||
|
|
||||||
3) Install `ffmpeg`.
|
4) Install `ffmpeg`.
|
||||||
|
|
||||||
4) Download the latest version (`video-optimize-{version}-standalone.jar`).
|
5) Download the latest version (`video-optimize-{version}-standalone.jar`).
|
||||||
|
|
||||||
https://github.com/tanrax/auto-video-thumbnail/releases
|
https://github.com/tanrax/auto-video-thumbnail/releases
|
||||||
|
|
||||||
|
|
||||||
5) Now you can execute.
|
6) Now you can execute.
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
java $JVM_OPTS -cp video-optimize-{version}-standalone.jar clojure.main -m video-optimize.core
|
java $JVM_OPTS -cp video-optimize-{version}-standalone.jar clojure.main -m video-optimize.core
|
||||||
```
|
```
|
||||||
|
|
||||||
6) Leave videos in folder `videos`.
|
7) 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).
|
Everything you leave in the videos folder will be optimized for web with the specified resolution (600px in this example).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user