AkarinVS / vapoursynth-plugin

My experimental VapourSynth plugin: (1) an enhanced LLVM-based std.Expr (aka lexpr), Select, PropExpr, Text and Tmpl. (2) DLISR. (3) DLVFX (4) CAMBI.
GNU Lesser General Public License v3.0
37 stars 8 forks source link

DLVFX supported resolutions? #27

Closed Selur closed 5 months ago

Selur commented 5 months ago

using:clip = core.akarin.DLVFX(clip, op=0, strength=1, model_dir='f:/Support/Akarin/models') works fine for 1920x1080 content, using 4k content, I get:

failed VFX call NvVFX_Load(d->vfx): fffffff6 (Error while loading the TRT model)

using for example 960x540, I get:

failed VFX call NvVFX_SetImage(d->vfx, NVVFX_INPUT_IMAGE, &d->srcGpuImg): ffffff90 (invalid pitch argument)

=> Does DLVFX only work with 1920x1080 content?

WolframRhodium commented 5 months ago

op=0: ... input requirements: 90 <= height <= 1080, 256 <= width <= 1920+128, width % 128 == 0.

Selur commented 5 months ago

Thanks!

couleurm commented 5 months ago

op=0: ... input requirements: 90 <= height <= 1080, 256 <= width <= 1920+128, width % 128 == 0.

can you explain in laymans term?

Selur commented 5 months ago

Height need to be at least 90 and at most 1080 pixels. Width needs to be at least 256 and at most 1920+128=2048 pixels, also width needs to be a multiple of 128.