@@ -9,21 +9,21 @@ This page does not cover all the options available. For help with more options a
99Use 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
1515Use 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
2929List the available GPUs with ` --list-gpus, -l ` :
@@ -39,13 +39,13 @@ $ video2x --list-gpus
3939Select 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
4545Specify 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