SRestore dosent work with paramaters, it works with Frate paramaters, but when I add other paramaters it just "crashes" AviSynth\
[Attachment 76683 - Click to enlarge]
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
Last edited by yoeymeme; 1st Feb 2024 at 11:27.
-
You are using omode=2.
omode string (0-6 or mode, default 6)
Srestore can be used as blend-decimation-function, as simple deblend-function and for double-blend-removal
1 - deblend-mode 1 -> detected blends will be replaced with the previous frame
2 - deblend-mode 2 -> next frame is used instead of the detected blend
3 - deblend-mode 3 -> detected blends will be replaced with the neighbour that has the smaller difference
4 - deblend-mode 4 -> use the neighbour with the smaller blend-possibility
5 - deblend-special -> outputs the one of four frames with the smallest blend-possibility
>5 - blend-decimation -> for all decimation operations
The output-modes 1-5 are simple deblending modes, so the framerate will not change.
To enable the double-blend-removal you have to set a string for omode. This string decides about the postprocessing mode that is used on the restored frames:
pp0 -> the fastest mode, no postprocessing
pp1 -> use difference masking, higher quality and still good speed
pp2 -> use a special blurring mask on luma and chroma that reduces artefacts
pp3 -> combines postprocessing 1 and 2 -> slowest
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
I did some changes since I posted this and its still occuring
[Attachment 76698 - Click to enlarge] -
short:
Only mode 6 will reduce the frame count.
All other modes will not. (ppX is not >5)
long:
If you look at the script, sRestore uses:
Code:om = default(omode, 6) bom = isstring(om) thr = abs(default(thresh, 16))+0.01 frfac = bom || abs(om-3)<2.5 ? 1 : isfloat(frate) ? frate*5<irate || frate>irate ? 1 : \ abs(frate)/irate : round(irate*10010)%30000==0 ? 1001./2400. : 480./1001.
Thus, if omode is a string like "ppX" bom is true, if om is 5 or less 'abs(om-3)<2.5' will be less than 2.5.
If either of these two conditions is met, frfac (= frame rate factor) will be 1 and thus no 'frame rate/count'-adjustment takes place.
So the only mode where a 'frame rate/count'-adjustment takes place is mode 6.
Cu Selur
Ps.: If you want to lower the frame count while not using mode=6 add ChangeFPS(...) with your target frame rate.
PPs.: no clue why sRestore crashes for you, but the way AvsPmod shows the frame rate&count is correct.users currently on my ignore list: deadrats, Stears555 -
it dont crashes i didnt know what to say the framerate didnt change what do I do with the paramaters u said add ChangeFPS under SRestore or in the SRestore Code?
i have it at mode 6 rn and its still the same
SRestore(frate=23.976, omode="pp3", speed=-25, mode=6, thresh=30
edit imma test on omode
edit agian it workedLast edited by yoeymeme; 1st Feb 2024 at 14:30.
-
what do I do with the paramaters u said add ChangeFPS under SRestore or in the SRestore Code?
Sorry, I meant 'omode 6' not 'mode 6'. (typo)users currently on my ignore list: deadrats, Stears555
Similar Threads
-
Is there anything I can use, other than SRestore(), to fix this video?
By LaserBones in forum Newbie / General discussionsReplies: 0Last Post: 25th Sep 2023, 18:08 -
SRestore + Audio restoration
By maudit in forum RestorationReplies: 2Last Post: 5th Aug 2023, 16:31 -
Upscaling after sRestore leads in huge artefacts & sRestore with Vapoursynt
By Platos in forum RestorationReplies: 18Last Post: 27th Apr 2023, 17:03 -
When to TDecimate/SRestore?
By Okiba in forum RestorationReplies: 118Last Post: 18th Aug 2021, 03:55 -
srestore mystery
By semel1 in forum Newbie / General discussionsReplies: 5Last Post: 9th Feb 2021, 09:01