![]() |
|
increase panning smoothness - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: increase panning smoothness (/thread-3978.html) Pages:
1
2
|
RE: increase panning smoothness - dsiomnainc - 23.01.2025 I'm crying! Thank you for your help! It all worked. You're a saint!!! RE: increase panning smoothness - dsiomnainc - 01.02.2025 Is it possible to somehow link this ccvfi script with FillDuplicateFrames? Currently FillDuplicateFrames can only use SVP or RIFE, which give bad results compared to this ccvfi script. p.s. FillDuplicateFrames has an incorrect description, it is from ReplaceBlackFrames. RE: increase panning smoothness - Selur - 01.02.2025 Quote: Is it possible to somehow link this ccvfi script with FillDuplicateFrames?Sure, by expanding the script. Quote:FillDuplicateFrames has an incorrect description, it is from ReplaceBlackFrames.What's wrong with: '''
call using:
from FillDuplicateFrames import FillDuplicateFrames
fdf = FillDuplicateFrames(clip, debug=True, thresh=0.001, method='SVP')
//fdf = FillDuplicateFrames(clip, debug=True, thresh=0.001, method='MV')
//fdf = FillDuplicateFrames(clip, debug=True, thresh=0.001, method='RIFE')
clip = fdf.out
Replaces duplicate frames with interpolations.
v0.0.3
0.0.4 removed and added back RGBH support or RIFE
0.0.3 allow to set device_index for RIFE and support RGBH input for RIFE
0.0.4 removed RGBH since RIFE ncnn does not support it
0.0.5 add general sceneThr
0.0.6 add rifeModel parameter
0.0.7 add mode: FillDuplicate|FillDrops|Replace, add: rifeTTA, rifeUHD
'''RE: increase panning smoothness - dsiomnainc - 01.02.2025 I meant this description: I tried to do it like this, but it doesn't work RE: increase panning smoothness - Selur - 01.02.2025 Ah, will fix the tool-tip. I thought that: https://pastebin.com/ZH6aPUE2 with: # requires colorformat RGBH
from FillDuplicateFrames import FillDuplicateFrames
fdf = FillDuplicateFrames(clip, debug=True, thresh=0.001, method='CCVFI')
clip = fdf.outIt fails with: File "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\ccvfi\vs\vfi.py", line 44, in inference_vfi
..
ValueError: Clip do not have enough frames for vfi method require 3 frames once infer![]() (FillDuplicateFrames interpolates between 2 frames,...) Cu Selur RE: increase panning smoothness - dsiomnainc - 01.02.2025 Quote:(FillDuplicateFrames interpolates between 2 frames,...) But ccvfi also interpolates between two frames, right? Quote:in_frame_count: int = 2 But the output should be three frames, two original and one new, right? RE: increase panning smoothness - Selur - 01.02.2025 No clue, how ccvfi works internally. Might be that it looks at more than 2 frames. Number of output frames depends on the target fps, which here is the same as the target frame rate. => I don't know enough about ccvfi to adjust FillDuplicateFrames for it (assuming it's possible). Cu Selur RE: increase panning smoothness - dsiomnainc - 02.02.2025 It seems that everything is really complicated. I conducted a small experiment, ccvfi really refused to work on three frames, it starts working starting from a certain number of frames. And the algorithm of its work is not so simple. Sample: https://gofile.me/7kQw9/YRjllVqtn Is it possible then to add the RIFE model selection to the interface in FillDuplicateFrames? It is not very convenient to select while editing the script. RE: increase panning smoothness - Selur - 02.02.2025 I probably can add a model selection, but be warned that this might cause problems, see: https://github.com/styler00dollar/VapourSynth-RIFE-ncnn-Vulkan/issues/16 => so I'll limit the model selection (and RIFE version). Cu Selur Ps.: uploaded a new dev with RIFE model selection for FillDuplicateFrames. |