Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th September 2021, 15:11   #501  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,626
Yes, 2 versions . The Pytorch/CUDA version is significantly faster than Vulkan if you have a Nvidia GPU. But Vulkan is accessible to everyone - so that version should definitely be included for general use

The other issue is model availability - I'm finding 2.3 and 2.4 generally better than the 3.x versions . But we can probably ask HolyWu to make other models available for the Vapoursynth Pytorch version

There was some discussion on why original Vulkan version was slower, but apparently it just is
https://github.com/nihui/rife-ncnn-vulkan/issues/22

Last edited by poisondeathray; 20th September 2021 at 15:17.
poisondeathray is offline   Reply With Quote
Old 21st September 2021, 04:09   #502  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,560
Quote:
Originally Posted by poisondeathray View Post
I can't get vapoursynth version to run, never seen this error before
I thought I was storing Core from the initializer and using it elsewhere; perhaps from wrong thread or something. I looked through the code. There was 1 instance where I was storing Core in a field, and it wasn't used at all. So it's not that.

I don't know then...
MysteryX is offline   Reply With Quote
Old 21st September 2021, 10:36   #503  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,823
vs-rife was just updated with 1.8, 2.3 and 2.4 models. https://github.com/HolyWu/vs-rife
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 23rd September 2021, 19:34   #504  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,710
Nice! btw. is there some info about what the differences are between the models? (I mean is model xy better suited for content wz?)

--
I also think it would be nice to choose whether
https://github.com/HomeOfVapourSynth...FE-ncnn-Vulkan
or
https://github.com/HolyWu/vs-rife
would be used.

Cu Selur
__________________
Hybrid here in the forum, homepage, its own forum

Last edited by Selur; 23rd September 2021 at 19:44.
Selur is offline   Reply With Quote
Old 25th September 2021, 22:56   #505  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,710
As a side note, using Beta11:
Code:
clip = FrameRateConverter.FrameRateConverter(clip, frameDouble=True, preset="rife", blkSize=8, blkSizeV=8, rife=1, rifeModel=1, rifeTta=False, rifeGpu=0) # new fps: 50
causes blending while
Code:
clip = core.rife.RIFE(clip)
does not with this file (Frame 359).
Neither does 'FrameRateConverter.FrameRateConverter(clip, frameDouble=True, blkSize=8, blkSizeV=8)'.

Cu Selur
__________________
Hybrid here in the forum, homepage, its own forum
Selur is offline   Reply With Quote
Old 7th November 2021, 14:12   #506  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,710
Any news on RIFE incorporation into FrameRateConverter?
__________________
Hybrid here in the forum, homepage, its own forum
Selur is offline   Reply With Quote
Old 7th November 2021, 16:37   #507  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,626
Quote:
Originally Posted by Selur View Post
As a side note, using Beta11:
Code:
clip = FrameRateConverter.FrameRateConverter(clip, frameDouble=True, preset="rife", blkSize=8, blkSizeV=8, rife=1, rifeModel=1, rifeTta=False, rifeGpu=0) # new fps: 50
causes blending while
Code:
clip = core.rife.RIFE(clip)
does not with this file (Frame 359).
Neither does 'FrameRateConverter.FrameRateConverter(clip, frameDouble=True, blkSize=8, blkSizeV=8)'.

Cu Selur

You can disable some or all of the frc features . Adding output="flow"gives you interpolation only.

You can set individual masking features you don't want to "0" , such as maskThr, maskOcc, skipThr, blendOver, skipOver



There is an issue with stp ; stp=0 to disable strip detection produces error, but values >0 produce no error msg

Code:
File "PATH\FrameRateConverter.py", line 285, in FrameRateConverter
EMstp = havs.ChangeFPS(EMstp, newNum, newDen)
UnboundLocalError: local variable 'EMstp' referenced before assignment
poisondeathray is offline   Reply With Quote
Old 24th December 2021, 12:55   #508  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,375
MysteryX, what's the point of having different mask settings for different clip sizes as shown here? Does it have to do with the MAnalyse vectors?
I ask because it would make sense to have the same mask for the same clip whatever its size is.

This was my test code:

Code:
msk="C.BicubicResize(Round(C.Width()/blk/4.0)*4, Round(C.Height()/blk/4.0)*4)
\       .mt_expand(mode= mt_circle(zero=true, radius=1))
\       .mt_binarize(thr,u=-128,v=-128)
\       .Blur(.6)
\       .BicubicResize(1280, 720)"

a=bicubicresize(640,360,-0.5,0.25)   # 12 blksize
b=bicubicresize(854,480,-0.5,0.25)   # 12 blksize
c=bicubicresize(1280,720,-0.5,0.25)  # 16 blksize
d=bicubicresize(1920,1080,-0.5,0.25) # 24 blksize

a=Eval(ReplaceStr(msk,"thr,","120-10").ReplaceStr("blk","11").ReplaceStr("C.","a."))
b=Eval(ReplaceStr(msk,"thr,","120-10").ReplaceStr("blk","12").ReplaceStr("C.","b."))
c=Eval(ReplaceStr(msk,"thr,","120"   ).ReplaceStr("blk","16").ReplaceStr("C.","c."))
d=Eval(ReplaceStr(msk,"thr,","120+10").ReplaceStr("blk","24").ReplaceStr("C.","d."))

StackVertical( \
StackHorizontal(a,b), \
StackHorizontal(c,d))
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 9th January 2022, 02:29   #509  |  Link
pintcat
Registered User
 
Join Date: Jul 2010
Location: Berlin, Germany
Posts: 50
Tried a very simple script on beta 11 and got this error:
Quote:
Avisynth open failure:
Script error: Invalid argument to function "StipeMaskPass"
(FrameRateConverter.avsi, line 376)
(FrameRateConverter.avsi, line 219)
Script was something like
Code:
directshowsource(test.mp4)
framerateconverter()
Nothing fancy and it used to work with FrameRateConverter v1.3.

Last edited by pintcat; 9th January 2022 at 02:34.
pintcat is offline   Reply With Quote
Old 9th January 2022, 06:11   #510  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,115
The correct function name should be "StripeMaskPass"...
manolito is offline   Reply With Quote
Old 9th January 2022, 12:52   #511  |  Link
pintcat
Registered User
 
Join Date: Jul 2010
Location: Berlin, Germany
Posts: 50
Yeah, that's a typo on my side. I did not copy/paste the error message. Yet, I have no idea what's wrong here. Am I the only one getting this error?
pintcat is offline   Reply With Quote
Old 12th January 2022, 17:19   #512  |  Link
Floatingshed
Registered User
 
Join Date: Nov 2008
Posts: 327
Just downloaded version 1.3 zip, but the avsi file states that it is version 1.21...
Floatingshed is offline   Reply With Quote
Old 13th January 2022, 06:35   #513  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,115
This is just a small oversight by MysteryX. The script is really version 1.3.
manolito is offline   Reply With Quote
Old 14th January 2022, 09:20   #514  |  Link
Floatingshed
Registered User
 
Join Date: Nov 2008
Posts: 327
Great, thanks for letting me know.
Floatingshed is offline   Reply With Quote
Old 22nd January 2022, 04:57   #515  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,560
Quote:
Originally Posted by Dogway View Post
MysteryX, what's the point of having different mask settings for different clip sizes as shown here? Does it have to do with the MAnalyse vectors?
Not sure I understand your question; but at the link you pointed to, I take blkSize into the equation so that the resulting frame is resolution-independent; meaning a "mask zone" will be about let's say 1/20th of the width on a 480p clip and 1/20th of the width on a 4K clip. Will look similar when looking at that clip full-screen without regards to input resolution.
MysteryX is offline   Reply With Quote
Old 22nd January 2022, 06:19   #516  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,560
I got tired of Windows and switched to Linux.

For when I get back to this; does RIFE work under Linux? It will be a bit more of an adventure to get all the plugins working in Linux.
MysteryX is offline   Reply With Quote
Old 22nd January 2022, 17:05   #517  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,115
Quote:
Originally Posted by MysteryX View Post
I got tired of Windows and switched to Linux.
Alright, I guess you will continue support for the upcoming Linus version in the Linux section at Doom9. Just one question:

Will you publish a final stable Windows version 2.0, or will you just abandon it and refer Windows users to the old stable version 1.3 ?

Whatever, thank you very much for your work on FrameRateConverter.

Cheers
manolito

Last edited by manolito; 22nd January 2022 at 17:08.
manolito is offline   Reply With Quote
Old 22nd January 2022, 18:47   #518  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,199
Quote:
or will you just abandon it and ...
Of course he would not just abandon it, MX is a very respectable person
with very strong principles and would not ever do that,
a final stable ver$ 2.0 is the least you can expect from the noble gentleman.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 22nd January 2022 at 19:07.
StainlessS is offline   Reply With Quote
Old 22nd January 2022, 21:10   #519  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,560
I also have Windows running within Linux with near-native performance with QEMU+KVM with GPU passthrough; enough to play games with native Windows performance.

Been busy with lots of other stuff. Including porting some of my software to Linux by switching UI from WPF to Avalonia, and porting MvvmDialogs to support Avalonia and other UI platforms. Oh, and converting the Media Player UI to work on Avalonia/Linux was a pain too (and not completed).

There's FrameRateConverter to finish, and xClean to finish.

Not counting my usual work in the astral realms.

Last edited by MysteryX; 22nd January 2022 at 21:12.
MysteryX is offline   Reply With Quote
Old 22nd January 2022, 22:21   #520  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,199
Quote:
There's FrameRateConverter to finish, and xClean to finish.
"Complete", better than 'finish".
And Good Luck in the "Astral Realms", [EDIT: whatever the hell they are {I'm guessin' close friend of Mystic Meg}],
also see U at some point in the Linux Realm
(Thank you MX)
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 22nd January 2022 at 22:29.
StainlessS is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:37.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.