Skip to content

Commit 4668556

Browse files
committed
docs(book): correct the renamed CLI arguments
Signed-off-by: k4yt3x <i@k4yt3x.com>
1 parent d6403dc commit 4668556

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/book/src/running/command-line.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ This page does not cover all the options available. For help with more options a
99
Use the following command to upscale a video by 4x with RealESRGAN:
1010

1111
```bash
12-
video2x -i input.mp4 -o output.mp4 -f realesrgan -r 4 -m realesr-animevideov3
12+
video2x -i input.mp4 -o output.mp4 -p realesrgan -s 4 --realesrgan-model realesr-animevideov3
1313
```
1414

1515
Use the following command to upscale a video to with libplacebo + Anime4Kv4 Mode A+A:
1616

1717
```bash
18-
video2x -i input.mp4 -o output.mp4 -f libplacebo -s anime4k-v4-a+a -w 3840 -h 2160
18+
video2x -i input.mp4 -o output.mp4 -w 3840 -h 2160 -p libplacebo --libplacebo-shader anime4k-v4-a+a
1919
```
2020

2121
## Advanced
2222

23-
It is possible to specify custom MPV-compatible GLSL shader files with the `--shader, -s` argument:
23+
It is possible to specify custom MPV-compatible GLSL shader files with the `--libplacebo-shader` argument:
2424

2525
```bash
26-
video2x -i input.mp4 -o output.mp4 -f libplacebo -s path/to/custom/shader.glsl -w 3840 -h 2160
26+
video2x -i input.mp4 -o output.mp4 -p libplacebo -w 3840 -h 2160 --libplacebo-shader path/to/custom/shader.glsl
2727
```
2828

2929
List the available GPUs with `--list-gpus, -l`:
@@ -39,13 +39,13 @@ $ video2x --list-gpus
3939
Select which GPU to use with the `--gpu, -g` argument:
4040

4141
```bash
42-
video2x -i input.mp4 -o output.mp4 -f realesrgan -r 4 -m realesr-animevideov3 -g 1
42+
video2x -i input.mp4 -o output.mp4 -p realesrgan -s 4 --realesrgan-model realesr-animevideov3 -g 1
4343
```
4444

4545
Specify arbitrary extra FFmpeg encoder options with the `--extra-encoder-options, -e` argument:
4646

4747
```bash
48-
video2x -i input.mkv -o output.mkv -f realesrgan -m realesrgan-plus -r 4 -c libx264rgb -e crf=17 -e preset=veryslow -e tune=film
48+
video2x -i input.mkv -o output.mkv -p realesrgan --realesrgan-model realesrgan-plus -s 4 -c libx264rgb -e crf=17 -e preset=veryslow -e tune=film
4949
```
5050

5151
## Encoder Options

0 commit comments

Comments
 (0)