1
0
mirror of https://github.com/aNNiMON/ffmpegbot synced 2024-09-20 10:04:19 +03:00

Update README.md

This commit is contained in:
Victor Melnik 2023-01-10 16:32:28 +01:00 committed by aNNiMON
parent 5915ffa798
commit d9906c717c
2 changed files with 4 additions and 1 deletions

View File

@ -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
``` ```

View File

@ -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) {