View Full Version : InterFrame 2.8.2 - Framedoubling/60FPS/HFR conversion script
Pages :
1
2
3
4
5
6
7
8
9
10
11
12
[
13]
14
15
16
17
18
19
20
daglax
20th March 2014, 23:26
Did you guys ever test, which preset produces the fewest artifacts?
I did a lot of testing the last days and i come to the conclusion, that "Smooth" produces fewer artifacts than the default preset "Film" in almost any cases (except for Sports or fast moving individual things).
I also come to the conclusion, that "Medium" is not always the best option, especially not for live conversion. I have one of the best Desktop-CPU's out there (4770k) and still can't run the medium preset at 1080p-movies. I'm not even able to run "Fast" @1080p. And there are still framedrops, if i install a pretty good GPU (760 GTX).
For live conversion, it is necessary to go back to "Faster", or you will get FPS-drops sooner or later (without modding the script itself).
But i don't think that's a real problem, because in most cases, you can't tell a difference between "Faster" and "Medium". There's the same amount of artifacts.
To minimize artifacts on live conversion, you can do the following:
InterFrame(GPU=true, Preset="Faster", Tuning="Smooth", NewNum=48000, NewDen=1001, Cores=4)
With this script you'll get ~ 48 fps from a ~ 24 fps movie. The lower the output-fps the less artifacts you'll get.
Did you guys have other tricks to minimize artifacts?
daglax
22nd March 2014, 04:01
Hey it's me again.
I did some further testing and i stumbled upon a strange behavior.
If I set the framerate to 30 fps, the whole video laggs like crazy (live conversion). Much more than with the normal 24 fps.
Why is this happening?
I used
InterFrame(GPU=true, Preset="Faster", NewNum=30000, NewDen=1001, Cores=8)
for testing
EDIT: Nevermind. I resolved the issue by putting Avisynths buffer back/ahead to around 12. For some reason 30 fps need more buffered pictures than 48 fps (everything below 10 is too low!).
pirum
2nd April 2014, 20:22
I'm about to convert some blurays to 1280x720x50p, as that is within bluray specs. (I intend to play them on my bluray-player).
Any idea what would be a good way to do it?
I was thinking of doubling the frames, and then speed up the video (and sound) from 48fps to 50fps, similar to the way PAL DVDs are produced, a 4% increase of speed is rarely noticeable IMHO and I reckon this will produce the best result.
Or am I better off just going straight from 24fps to 50fps or 60fps?
SubJunk
2nd April 2014, 23:10
1280x720x60p is also within blu-ray specs, which is a fairly nice conversion from 24p
aegisofrime
7th April 2014, 06:26
Hi Subjunk :)
Will there be an update to take advantage of the recent improvements in svp, or will replacing the dlls do the job? :o
SubJunk
7th April 2014, 22:39
Replacing the DLLs should do it :) I'll release an update with updated DLLs too when I have time to test the improvements
SubJunk
8th April 2014, 01:41
The updated DLLs are causing crashes for me so I don't recommend updating them for use with InterFrame
aegisofrime
8th April 2014, 05:58
The updated DLLs are causing crashes for me so I don't recommend updating them for use with InterFrame
Alright I will wait for you to release an update to InterFrame then. :)
daglax
13th April 2014, 15:07
Does it affect smoothness or quality, if Interframe interpolates the video to a non-integer instead of an integer?
For example: Is 24 x2 = 48 fps better than 24 x2.08 = 50 fps?
And if I want to interpolate a video to 40 fps to be rendered on a 120 hz projector (60fps produces more artifacts), should i use "NewNum=40" or "NewNum=40000, NewDen=1001"? Couldn't see much of a difference.
Music Fan
13th April 2014, 15:29
Does it affect smoothness or quality, if Interframe interpolates the video to a non-integer instead of an integer?
For example: Is 24 x2 = 48 fps better than 24 x2.08 = 50 fps?
I guess interpolate to an integer is easier to calculate and should produce smoother result.
But you can try both with a short extract to see differences.
Sparktank
14th April 2014, 02:32
You'll get better quality the closer you get to the original source FPS. So going double the FPS (24*2=48) will have less artifacts than going 24->50/60(59.94).
Also if you have a decent, compatible graphics card (CUDA recommended), you'll get better results with the GPU-Acceleration.
How smooth it is depends on the settings.
40fps to 120Hz projector, as in convert to 40fps to 120fps?
40fps source and "NewNum=40000, NewDen=1001" will give you same as the source.
NewNum/NewDen is what you set for the target.
NewNum=120000, NewDen=1001 (or NewDen=1000 for even 120?).
daglax
14th April 2014, 13:51
I know. the less interpolated frames, the less artifacts you'll get.
that's the reason i want to got to 40fps videos instead of 60 fps. So the source is a 23.976 movie that i want to interpolate to 40 fps. The reason why i want to do this is, because a 40 fps video on a 120 hz screen doesn't have the motion judder that an 48fps video will have.
I tried both options: "NewNum=40" and "NewNum=40000, NewDen=1001" and both convert a 23.976 fps movie to a 40 fps video. I didn't notice any difference in playback so far. So what should i choose?
Music Fan
15th April 2014, 07:38
And what if you let the video in 24hz ? 120/24 = 5, an integer, which means no judder. You can make a simple assumefps(24) in real time to get exactly 24 hz instead of 23.976.
Does your screen support 100 hz ? If yes, you can convert 24hz into 48 (or 47.952) and make assumefps(50).
daglax
15th April 2014, 17:33
Yep. If i play back a normal 24p movie on a 120hz screnn, there is no 24p-judder at all, but the lack of frames per second is still very much noticeable. For normal movies, i don't activate frame interpolation, because i'm used to this crucial framerate givben from the film industry, but in 3D 24 fps is way too low to enjoy a movie (at least in my opinion). It just doesn't look natural and fluid.
So interpolate all 3D movies to at least 40 fps.
pirum
15th April 2014, 21:09
1280x720x60p is also within blu-ray specs, which is a fairly nice conversion from 24p
Thanks, I tried to convert the same film to 60p, and 50p (going first to 48p and then speeding up to 50p), and the 60p looked noticeably smoother (not surprising considering 20% more fps) but also had more artifacts/ripples/whatever in some scenes.
So for now I'll go for 50fps for my TV, if video should be played on my computer screen 60fps is better.
Maybe next I'll, just for fun, try 1920x1080 interlaced (to keep it playable in my Bluray player).
BTW, one reason I'm doing this is because I'm a bit annoyed, to say the least, that the Hobbit-films aren't released in HFR. I'd say that on my 32" TV the 50fps versions I created using Bluray as source is quite good. Very big thanks to InterFrame.
druneau
3rd May 2014, 20:52
I know. the less interpolated frames, the less artifacts you'll get.
that's the reason i want to got to 40fps videos instead of 60 fps. So the source is a 23.976 movie that i want to interpolate to 40 fps. The reason why i want to do this is, because a 40 fps video on a 120 hz screen doesn't have the motion judder that an 48fps video will have.
I tried both options: "NewNum=40" and "NewNum=40000, NewDen=1001" and both convert a 23.976 fps movie to a 40 fps video. I didn't notice any difference in playback so far. So what should i choose?
Have you tried sticking to multiples of the source frame rate? To me this results in cleaner image look since you keep source frames intact.
As for the refresh rate, you can create custom ones easily then use your player's ability to switch refresh rates when needed. (I've been using ToastyX's Custom Resolution Utility (http://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU) for a while.)
SubJunk
5th May 2014, 01:34
BTW, one reason I'm doing this is because I'm a bit annoyed, to say the least, that the Hobbit-films aren't released in HFRI'm also annoyed at that!
chainik_svp
5th May 2014, 22:55
The updated DLLs are causing crashes for me so I don't recommend updating them for use with InterFrame
I've no idea why the "sertified beta tester" of SVP project can't report such information to us :confused:
CPU mode with blend=true and pel>=2 - are you talking about this crash? Fixed in SVPflow libs 1.0.11.
SubJunk
5th May 2014, 23:25
I've had lots of stuff going on in my life including my computer being broken for weeks. Thanks for the fix.
aegisofrime
6th May 2014, 12:43
Can I assume that with 1.0.11, I can simply update the dlls and they will work in Interframe?:cool:
Reel.Deel
6th May 2014, 15:48
Can I assume that with 1.0.11, I can simply update the dlls and they will work in Interframe?:cool:
It should work without a problem.
daglax
10th May 2014, 21:48
Is there any need to update the dlls or say is there any noticeable improvement with the new ones?
Sparktank
10th May 2014, 23:18
Is there any need to update the dlls or say is there any noticeable improvement with the new ones?
You don't need to, but it you could benefit from the updates, especially where an issue has just been addressed that chainik_svp mentioned a few posts back.
Check out the SVPflow thread for updates to the libraries.
http://forum.doom9.org/showthread.php?t=164554
Plus with SubJunk having computer problems lately, it'd be helpful if you did update them and report any issues so the teams can work on it (and be aware of any issues).
daglax
11th May 2014, 03:46
ok. I updated the dlls and watched a movie since then. Didn't play around in the settings. I didn't notice any difference in playback whatsoever.
As far as i can say, there even isn't any difference in cpu load. So no performance gain/drop for me.
I'll keep you guys updated, if i stumble upon any issues.
SubJunk
11th May 2014, 12:15
I just tested the new libraries and can confirm the crash has been fixed for me.
I can also confirm what daglax said about performance, I found very similar performance between the old and new DLLs.
Also the quality difference is slight but it's there. I noticed it when comparing single frames. I did a comparison of Game of Thrones footage and it was sometimes better and sometimes worse than before, but it was better more often.
InterFrame 2.5.2 is released
wdwms
14th May 2014, 03:05
Greetings! I'm using Interframe for the first time. I'm feeding it 18fps Super8 film as an input and using interframe to output 29.97fps. The results are incredible!
However I have one problem.. After I create the 30fps file, I want to use another script to append some video to the beginning and end. All videos that I'm appending are also 29.97. I use the following code to create the 30fps file, I load this into Virtualdubmod and save the output as an AVI. This avi plays super smooth and looks great.
AVISource("V:\18fps.avi").assumefps(18).ConvertToYV12()
InterFrame(NewNum=30000,NewDen=1001,Cores=8,GPU=false)
Then in my new script, if just put these two lines, and NOTHING else:
movie=Directshowsource("V:\30fpsfile.avi").converttoYV12().SSRC(AudRate).assumefps(29.97)
movie
The above returns a video that plays too fast, 9:24 cut down to 5:38. Changing assumefps to 18, returns the video in its proper length but it is choppy and back to 18fps. I'm using the latest version of InterFrame.
What am I doing wrong? does interframe create a "fake" 29.97 file? that is its 18fps but with other information thrown in?
Thanks!
SubJunk
14th May 2014, 04:16
Hi wdwms, glad you like InterFrame and thanks for using it :)
InterFrame really does output the framerate specified, so the video from the first script should really be 29.97FPS. You can check that with MediaInfo.
Have you tried removing SSRC() to see if it still gives 18FPS? I haven't used that function before but it might be scaling the video length with the sample rate or something
wdwms
14th May 2014, 04:35
InterFrame really does output the framerate specified, so the video from the first script should really be 29.97FPS. You can check that with MediaInfo.
Have you tried removing SSRC() to see if it still gives 18FPS? I haven't used that function before but it might be scaling the video length with the sample rate or something
Yes I checked the file with mediainfo, and with MPC. Everything shows 29.97.. However, no matter what program I bring it into to encode it (avisynth, tried TMPGenc as well) - when it is saved back out the Interframes are completely lost. I removed SSRC, that had no effect.
I got the time to render correctly by using this as input:
movie=Directshowsource("V:\30fpsfile.avi", fps=29.97,convertfps=true).converttoYV12()
movie
But the resulting AVI file shows 29.97fps, but its choppy and has lost the work that interframe has done. Its got to be something with the encoding of the file, as all programs are having trouble with it.
Can you test out a short clip to see if you are getting the same? Just use interframe on a short 10 second clip, save it out to an avi with virtualdubmod, then try to bring it back into vdub with my line above and save it out again as avi. The result will be a new file that says it is 29.97fps, but it will play as if you never applied interframe to it.
SubJunk
14th May 2014, 04:44
Yup I can test it just send me a link :)
wdwms
14th May 2014, 11:43
Yup I can test it just send me a link
Will put together a file w/the scripts shortly... thanks.
Try using AVISource instead of DirectShowSource in your second script and see if the result differs?
Did that too, no difference... frames are still lost
wdwms
14th May 2014, 12:53
Ok I think i found the problem.. I may have been pulling the unconverted file into my script.. wow it was late last night.. rendering now, so i'll know later today if to worked
Thanks!
wdwms
14th May 2014, 18:34
Ok I've got it all worked out.. Sorry for the false alarm.. had some other settings incorrect.
Here is the final results: https://vimeo.com/95237467
This is a 18fps HD 1920x1080 transfer of Super8 film, InterFrame converted it to 30fps! Amazing!
StainlessS
14th May 2014, 19:38
Hi there SubJunk, thanks for Interframe, first time I've used it and very impressive too.
However, I often deligate one of several older single core machines to render in MeGUI, I'm getting
this error message from a Pentium 4 (Prescott) 3Ghz single core with Hyperthreading.
Evaluate: System exception - Illegal instruction
(Interframe2.avsi, line 153)
(Interframe2.avsi, line 57)
Same error message from another Pentium 4, 2.88Ghz without Hyperthreading.
The question is, is multicore supposed to be mandatory, I've seen no mention in opening post ?
EDIT: What are the requirements, Instruction set etc (SSE2/3)?
(I dont use MT version Avisynth, just standard [or ICL] v2.6Alpha5.)
EDIT: This line:
SVSmoothFps(Input, Super, Vectors, SmoothString, url="www.svp-team.com", mt=Cores)
With Cores=1, GPU=false.
SubJunk
14th May 2014, 23:58
Ok I've got it all worked out.. Sorry for the false alarm.. had some other settings incorrect.
Here is the final results: https://vimeo.com/95237467
This is a 18fps HD 1920x1080 transfer of Super8 film, InterFrame converted it to 30fps! Amazing!No problem, it turned out great :)
The question is, is multicore supposed to be mandatory, I've seen no mention in opening post?Since version 2 of InterFrame it has used the SVP libraries and I think they require multithreading, since SVP bundles AviSynth MT. You should be able to use InterFrame 1 without multithreading, although you'll take a quality and speed hit going back to that version
StainlessS
15th May 2014, 01:24
Thank you for your answer knd sir.
I shall try t locate v1.0, and decide wehther to only render on multi-core, or otherwise,
can I suggest that you mention on 1st post that there is a requirement, (or refer to older posts if not met).
Sleep well my friend, and again, thank you.
SubJunk
15th May 2014, 06:01
Good idea, I've clarified that on the first page now.
You can get InterFrame 1.14 (the last release of version 1) from here: http://www.spirton.com/uploads/InterFrame/InterFrame-1.14.zip
The documentation is: http://www.spirton.com/uploads/InterFrame/InterFrame.html
Aznboy1993
18th May 2014, 03:37
Hello SubJunk. I would first like to thank you for you for making InterFrame and the possibilities that it entails! Now, if you don't mind me asking you a few questions?
I am a novice when it comes to AVS scripts, but I have a pretty good knowledge of video processing and DSP in general. Recently, I have used your guide to convert lower frame movies to HFR using InterFrame (Spirton website). I am converting a 23.976 movie to 60 fps (it's a direct Blu-ray rip of Disney's Frozen, if that matters). However, I have found some artifacts and such during high motion scenes. Now, I do know that this is a consequence of motion interpolation and that for the most part nothing can be done about it. However, using SVP (SmoothVideo Project) and "live streaming" the video to 60 fps I get less (sometimes considerably less) frame artifacting. I have found specific examples in the same file (one using InterFrame to upconvert to 60 fps and other using SVP to live upconvert to 60 fps) where using SVP there is much less artifacting when compared to the the file processed through InterFrame.
I am just wondering why this is the case since to my knowledge InterFrame is based directly off of SVP and uses its dynamic link libraries. Also, is there a way to make it so that I get this "antialiasing" (so to speak) and make the converted videos like SVP with less artifacting? I am not bashing your product in anyway, I am just curious as to why this is occurring.
Please correct me if I am grossly misinformed in any of this matter. Your help is much appreciated :)
SubJunk
20th May 2014, 04:21
Hi Aznboy1993, thanks for the post. The reason that there can be different results - sometimes better and sometimes worse - than SVP is because we use different options than the SVP program does.
SVP supports outputting its .avs file so you can see what options it's using. If you post the .avs file from SVP then we can compare its settings and see which one/s are different
lpcstr
20th May 2014, 04:22
I for the life of me can't get this to work.
I started by following the instructions here: http://www.spirton.com/convert-videos-to-60fps/
Installed the version of Avisynth provided, installed the K-lite Mega pack, installed MeGUI and ran the updates, etc.
First problem was that "Prefer DSS2 over DirectShowSource" was disabled, and contrary to the information in the "FAQ", reinstalling K-lite and rebooting didn't do anything. Reading in the comments someone suggested the solution was to install "Haali", which I assumed meant the Matroska splitter. Installing that allowed me to enable the option. But then when I get to step 9 and I select the file for video input MeGUI gives me an error:
MeGUI encountered a fator error and may not be able to proceed.
Reason: Could not load file or assembly 'MediaInfoWrapper, Version=0.7.61.0, Culture=neutral, PublicKeyToken=null' or one of it's dependencies. The system cannot find the file specified.
So I said to heck with MeGUI, I will simply write a avs script and see if I can play it back in MPC-HC. So I do like so:
Setmemorymax(512)
SetMTMode(3,4)
PluginPath = "C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\"
LoadPlugin(PluginPath+"svpflow1.dll")
LoadPlugin(PluginPath+"svpflow2.dll")
Import(PluginPath+"InterFrame2.avsi")
dss2("C:\file.mkv", fps=23.976).ConvertToYV12()
SetMTMode(2)
InterFrame(Cores=4)
And it tells me that dss2 isn't a function. So I do a bit more looking around and somebody says to copy avss.dll from Haali into the AviSynth plugin directory. Now MPC-HC simply displays the error "Can't open C:\file.mkv: 80004005".
This is ridiculously frustrating. I wish there was simply a ffmpeg filter or something for this so I could skip all this AviSynth and DirectShow codec and registry nonsense.
SubJunk
20th May 2014, 04:36
It looks like you're using an old version of MeGUI, please make sure it updates. It will probably fix that error you described - they updated MediaInfo to 0.7.64 in July last year so I'm not sure why it would have 0.7.61.
I'm updating the guide now with the Haali thing. K-Lite used to install it by default but stopped doing it recently.
lpcstr
20th May 2014, 04:48
It looks like you're using an old version of MeGUI, please make sure it updates. It will probably fix that error you described - they updated MediaInfo to 0.7.64 in July last year so I'm not sure why it would have 0.7.61.
I'm updating the guide now with the Haali thing. K-Lite used to install it by default but stopped doing it recently.
I ran update again on MeGUI (was once not enough? :confused:) and now when I select a file it asks me for my preferred way of opening and when I select DirectShowFilter, it gives me an error:
AviSynth Script error:
DirectDhowSource: RenderFile, the filter graph manager won't talk to me
EDIT: Ok, I selected a different video file (the first was encoded with H.265) and it seems it may be working now.
SubJunk
20th May 2014, 05:06
I ran update again on MeGUI (was once not enough? :confused:) and now when I select a file it asks me for my preferred way of opening and when I select DirectShowFilter, it gives me an errorSeems like a codec issue. When installing K-Lite make sure to select "Profile 9: Lots of Stuff" during installation and that could fix it.
Anyway none of this involves InterFrame (these errors are all about opening and reading the file, regardless of InterFrame) so this probably isn't the best place to discuss it, if you'd like more help we can switch to the comments section of the "Convert videos to 60fps" article :)
Edit:
Ok, I selected a different video file (the first was encoded with H.265) and it seems it may be working now.Cool :)
Aznboy1993
21st May 2014, 01:28
Hi Aznboy1993, thanks for the post. The reason that there can be different results - sometimes better and sometimes worse - than SVP is because we use different options than the SVP program does.
SVP supports outputting its .avs file so you can see what options it's using. If you post the .avs file from SVP then we can compare its settings and see which one/s are different
Thanks for your response! Yes, I figured that was the and I was going to go ahead and see if I could change the parameters, but upon looking at the AVS script for InterFrame, I have no idea :stupid:
Here is the AVS script generated from SVP:
# This script was generated by SmoothVideo Project (SVP) Manager.
# Check http://www.svp-team.com for more details.
SetMemoryMax(1024)
global svp_scheduler=true
global threads=15
global svp_cache_fwd=threads+2
LoadPlugin("C:\Program Files (x86)\SVP\plugins\svpflow1.dll")
LoadPlugin("C:\Program Files (x86)\SVP\plugins\svpflow2.dll")
SetMTMode(3,threads)
DirectShowSource("D:\Frozen\Frozen Videos\CRF\Frozen (1080p HD).mkv", fps=23.976, convertfps=true).ConvertToYV12()
SetMTMode(2)
global crop_params=""
global resize_string=""
global super_params="{scale:{up:0},gpu:1,rc:false}"
global analyse_params="{main:{search:{coarse:{distance:-10,bad:{sad:2000}}}},refine:[{thsad:65000}]}"
global smoothfps_params="{rate:{num:5,den:2},algo:13,scene:{limits:{m1:0,m2:0}}}"
global demo_mode=0
stereo_type=0
stereo_left_selection=""
stereo_right_selection=""
########## BEGIN OF MSMoothFps.avs ##########
# This file is a part of SmoothVideo Project (SVP) 3.1.4
# This is NOT the full AVS script, all used variables are defined via
# JavaScript code that generates the full script text.
function interpolate(clip src)
{
input = crop_params=="" ? src : eval("src.crop("+crop_params+")")
input = resize_string=="" ? input : eval("input."+resize_string)
super=SVSuper(input, super_params)
vectors=SVAnalyse(super, analyse_params, src=input)
smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, url="www.svp-team.com")
return demo_mode==0 ? smooth : demo(input,smooth)
}
input=last
stereo_type==0 ? eval(""" interpolate(input)
""") : stereo_type==1 || stereo_type==3 ? eval("""
lf = interpolate(input.crop(0,0,input.width/2,0))"""+stereo_left_selection+"""
rf = interpolate(input.crop(input.width/2,0,0,0))"""+stereo_right_selection+"""
StackHorizontal(lf, rf)
""") : stereo_type==2 || stereo_type==4 ? Eval("""
lf = interpolate(input.crop(0,0,0,input.height/2))"""+stereo_left_selection+"""
rf = interpolate(input.crop(0,input.height/2,0,0))"""+stereo_right_selection+"""
StackVertical(lf, rf)""") : input
########### END OF MSMoothFps.avs ###########
Much help would be appreciated :)
SubJunk
21st May 2014, 04:15
Thanks for your response! Yes, I figured that was the and I was going to go ahead and see if I could change the parameters, but upon looking at the AVS script for InterFrame, I have no idea :stupid:
Here is the AVS script generated from SVP:
# This script was generated by SmoothVideo Project (SVP) Manager.
# Check http://www.svp-team.com for more details.
SetMemoryMax(1024)
global svp_scheduler=true
global threads=15
global svp_cache_fwd=threads+2
LoadPlugin("C:\Program Files (x86)\SVP\plugins\svpflow1.dll")
LoadPlugin("C:\Program Files (x86)\SVP\plugins\svpflow2.dll")
SetMTMode(3,threads)
DirectShowSource("D:\Frozen\Frozen Videos\CRF\Frozen (1080p HD).mkv", fps=23.976, convertfps=true).ConvertToYV12()
SetMTMode(2)
global crop_params=""
global resize_string=""
global super_params="{scale:{up:0},gpu:1,rc:false}"
global analyse_params="{main:{search:{coarse:{distance:-10,bad:{sad:2000}}}},refine:[{thsad:65000}]}"
global smoothfps_params="{rate:{num:5,den:2},algo:13,scene:{limits:{m1:0,m2:0}}}"
global demo_mode=0
stereo_type=0
stereo_left_selection=""
stereo_right_selection=""
########## BEGIN OF MSMoothFps.avs ##########
# This file is a part of SmoothVideo Project (SVP) 3.1.4
# This is NOT the full AVS script, all used variables are defined via
# JavaScript code that generates the full script text.
function interpolate(clip src)
{
input = crop_params=="" ? src : eval("src.crop("+crop_params+")")
input = resize_string=="" ? input : eval("input."+resize_string)
super=SVSuper(input, super_params)
vectors=SVAnalyse(super, analyse_params, src=input)
smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, url="www.svp-team.com")
return demo_mode==0 ? smooth : demo(input,smooth)
}
input=last
stereo_type==0 ? eval(""" interpolate(input)
""") : stereo_type==1 || stereo_type==3 ? eval("""
lf = interpolate(input.crop(0,0,input.width/2,0))"""+stereo_left_selection+"""
rf = interpolate(input.crop(input.width/2,0,0,0))"""+stereo_right_selection+"""
StackHorizontal(lf, rf)
""") : stereo_type==2 || stereo_type==4 ? Eval("""
lf = interpolate(input.crop(0,0,0,input.height/2))"""+stereo_left_selection+"""
rf = interpolate(input.crop(0,input.height/2,0,0))"""+stereo_right_selection+"""
StackVertical(lf, rf)""") : input
########### END OF MSMoothFps.avs ###########
Much help would be appreciated :)Cool. Firstly I will assume you're using gpu=true with InterFrame - that will give a quality boost if you weren't already using it.
If the default values of InterFrame with GPU=true were written into the SVP script you provided, it would be as follows:
global super_params="scale:{up:0,down:4},gpu:1,rc:false}"
global analyse_params="{block:{w:8,overlap:2},main:{search:{distance:0,coarse:{distance:-10,bad:{sad:2000}}}},refine:[{thsad:250}]}"
global smoothfps_params="{rate:{num:60000,den:1001,abs:true},algo:13,mask:{cover:80,area:0,area_sharp:1.2},scene:{blend:true, mode:0}}"
So from there you can compare them
Aznboy1993
21st May 2014, 16:19
Cool. Firstly I will assume you're using gpu=true with InterFrame - that will give a quality boost if you weren't already using it.
If the default values of InterFrame with GPU=true were written into the SVP script you provided, it would be as follows:
global super_params="scale:{up:0,down:4},gpu:1,rc:false}"
global analyse_params="{block:{w:8,overlap:2},main:{search:{distance:0,coarse:{distance:-10,bad:{sad:2000}}}},refine:[{thsad:250}]}"
global smoothfps_params="{rate:{num:60000,den:1001,abs:true},algo:13,mask:{cover:80,area:0,area_sharp:1.2},scene:{blend:true, mode:0}}"
So from there you can compare them
Thank you very much for the information, SubJunk. Yes, I do use GPU=true. I have compared the values and I have a few questions:
- Why does SVP use "less information" when compared to "InterFrame" (at least for those global variables)?
- Is it possible to mimic the settings I have in SVP to InterFrame (namely the interpolation method used in SVP - "1.5m")?
Your help is very much appreciated! :thanks:
SubJunk
22nd May 2014, 06:28
SVP relies on the default values a lot more than us so that's why InterFrame looks more complex. You could mimic the settings by editing InterFrame2.avsi. Hope that helps :)
Aznboy1993
23rd May 2014, 04:28
SVP relies on the default values a lot more than us so that's why InterFrame looks more complex. You could mimic the settings by editing InterFrame2.avsi. Hope that helps :)
Ahh, I see. Thanks for that. Do you know how I should go about editing the avsi to mimic the "1.5m" interpolation method of SVP?
otherman
28th May 2014, 14:35
And this is my strange case: I've a 24fps source with full temporal resolution in green channel, but half temporal resolution for Red and Blue channel (even frames have red and green channels, odd frames have green and blue channel. I would like use green channel full temporal resolution to rebuild missing Red and Blue, becouse working directly on only 12fps red/blue channel take terrible output. Any idea how to achieve that?
Bloax
28th May 2014, 17:53
Sounds a bit like a job for MFlow (since you can do the motion analysis on the Green channel.), but I'm not sure.
Guest
28th May 2014, 17:58
@otherman
Please don't duplicate your other thread issue here. Cross-posting is not allowed. Thank you.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.