mirror of
https://github.com/aNNiMON/ffmpegbot
synced 2024-09-19 22:54:20 +03:00
Update README.md
This commit is contained in:
parent
5915ffa798
commit
d9906c717c
@ -13,7 +13,7 @@ Telegram Bot for re-encoding media
|
|||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- Telegram bot username and token, [@BotFather](https://t.me/BotFather)
|
- Telegram bot username and token, [@BotFather](https://t.me/BotFather)
|
||||||
- JRE 16+ or JDK 16+ (for build)
|
- JRE 17+ or JDK 17+ (for build)
|
||||||
- `ffmpeg` must be installed and available in `PATH`.
|
- `ffmpeg` must be installed and available in `PATH`.
|
||||||
- `yt-dlp` for `/dl` command.
|
- `yt-dlp` for `/dl` command.
|
||||||
|
|
||||||
@ -25,6 +25,7 @@ Telegram Bot for re-encoding media
|
|||||||
# Config
|
# Config
|
||||||
cp ffmpegbot.yaml.template ffmpegbot.yaml
|
cp ffmpegbot.yaml.template ffmpegbot.yaml
|
||||||
vim ffmpegbot.yaml
|
vim ffmpegbot.yaml
|
||||||
|
mkdir {input,output}
|
||||||
# Run
|
# Run
|
||||||
java -jar ./build/libs/ffmpegbot-1.0-SNAPSHOT-all.jar
|
java -jar ./build/libs/ffmpegbot-1.0-SNAPSHOT-all.jar
|
||||||
```
|
```
|
||||||
|
@ -8,6 +8,8 @@ mainClassName = 'com.annimon.ffmpegbot.Main'
|
|||||||
group 'com.annimon'
|
group 'com.annimon'
|
||||||
version '1.0-SNAPSHOT'
|
version '1.0-SNAPSHOT'
|
||||||
|
|
||||||
|
sourceCompatibility = 17
|
||||||
|
targetCompatibility = 17
|
||||||
compileJava.options.encoding = 'UTF-8'
|
compileJava.options.encoding = 'UTF-8'
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
|
Loading…
Reference in New Issue
Block a user