Sections:
Introduction:
Many modern TVs now include an extra frames feature, usually either 120Hz or 240Hz. This just means they take the source video, which is usually between 24-30FPS, and add new, interpolated frames between the original frames that make the motion look much more smooth.
High framerate (HFR at 48fps) was used in The Hobbit and will be used in upcoming films like the Avatar sequels, so why not watch all your movies at higher framerates?
A lot of people don’t realize this, but 99% of TVs made before this feature was introduced are actually capable of displaying 50FPS and 60FPS, and of course most LCD monitors display 60FPS as well.
This tutorial will allow you to convert videos of any framerate to higher framerates; 25FPS becomes 50FPS and 24/30FPS becomes 60FPS by default, or you can specify whichever framerate you want.
This script offers greater quality than any televisions I have seen.
I’m sure many people will want to see how well this script works, so here’s a comparison:
Original File
Converted File
Note: This can now be done in realtime using Universal Media Server!
Purpose:
This post provides instructions on how to easily convert any video to 60FPS, which allows you to take advantage of this feature of modern TVs on your computer monitor or TV without actually buying anything.
Step 1:
The files needed for this step are found in this zip folder (~3MB).
Run and install the file AviSynth.exe.
It is an early version of AviSynth 2.6 that is more stable and faster for multithreading than 2.5 releases.
Download and install MeGUI, run it, let it update all the things it wants to and import all of the presets.
Optional Tip: If you want MeGUI to update to the very latest stuff (at your own risk) you can push ctrl+s, go to the Extra Configuration tab, and in the Auto Update section select “Use development update server”
Close MeGUI and extract the files in the tools folder from our zip file into your MeGUI tools folder, which for most people will be either C:\Program Files (x86)\MeGUI\tools\ or C:\Program Files\MeGUI\tools\.
Step 2:
Download and install MKVToolnix.
When that is installed, run MKVMerge (Start Menu -> All Programs -> MKVToolnix -> mkvmerge GUI).
You will also need codecs installed. If you don’t already have them I recommend K-Lite Mega Codec Pack. If you install K-Lite, make sure to select “Profile 9: Lots of Stuff” during installation.
Step 3:
Start MeGUI again. You should be left with a window that looks similar to this:
Step 4:
Push ctrl+r, or go to Tools -> AVS Script Creator.
Now you should see something like this:
Step 5:
Click the Config button next to Avisynth profile.
It should look like this:
Step 6:
Click the New button down the bottom and type 60FPS in the name box, so it should look like this:
Step 7:
Now for the script that will do the actual 60FPS conversion.
Just copy and paste the following code into the text input area.
Cores=4
SetMemoryMax(512)
SetMTMode(3,Cores)
PluginPath = "C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\"
LoadPlugin(PluginPath+"svpflow1.dll")
LoadPlugin(PluginPath+"svpflow2.dll")
Import(PluginPath+"InterFrame2.avsi")
<input>.ConvertToYV12()
SetMTMode(2)
<deinterlace>
<crop>
<denoise>
<resize>
InterFrame(Cores=Cores)
Important note #1: Make sure the path on the third line is correct.
For example, if you are running 32-bit Windows, you will need to modify the path to “Program Files” instead.
Important note #2: You should change the number “4” in the script (on line 1) to your number of CPU cores. If you don’t know how many cores your CPU has just Google your CPU and you should be able to find the specs somewhere, or 4 should be fine anyway.
Important note #3: If you have a video card, you can improve quality by adding “GPU=true” to the script. However, it may make encoding time slower, so take that into account.
So InterFrame(Cores=Cores) would turn into InterFrame(Cores=Cores, GPU=true)
If you do this, you may also need to go into your MeGUI tools folder (usually C:\Program Files (x86)\MeGUI\tools\x264) and rename the file opencl.dll to opencl.dll.bak. This will let MeGUI use the version of opencl.dll that your video card drivers have installed, instead of the generic one from MeGUI.
Important note #4: This script always outputs either 50FPS or 59.94FPS (60FPS) for compatibility reasons. If you want to always double the framerate instead, so that for example 23.976FPS turns into 47.952FPS (48FPS), you can use the “FrameDouble” parameter.
So InterFrame(Cores=Cores) would turn into InterFrame(Cores=Cores, FrameDouble=true)
So now your window should look similar to this (with different text):
Step 8:
Click the Extra Setup tab and make sure “Prefer DSS2 over DirectShowSource” is checked.
Optional tip #1: You might also want to choose your preferred resizer. For aspect-ratio changes (like from 720×576 to 720×480) a neutral filter like Spline36 will be nice. For actual resizing (like from 1920×1080 to 1280×720) a sharp filter like Spline64 will be best. I usually just leave it on Spline36. Make sure to untick the checkbox on the option after you change the default resizer, otherwise it will always be used by default which is often unnecessary.
Optional tip #2: I recommend changing the “MOD value used for resizing” to mod4. This gives the best balance between compatibility (a lot of devices like PS3 don’t have good mod2 support) and aspect ratio accuracy (the higher the MOD value, the more likely the aspect ratio is to be skewed more heavily).
Now it should look something like this:
Then just click the Update button then the OK button
Step 9:
Now we’re back to the AviSynth script creator window and now that we have our 60FPS AviSynth template made and selected, it’s time to choose which video we want. Just click the … button next to Video Input up the top of the window and find your video, then click Open.
A window will pop up with buttons, click the option on the right, usually either “DirectShowSource” or “AviSource”.
A window will pop up to show you the video, you can just close that.
Now you should see something like this:
Step 10:
Click the Save button. The video preview window might pop up again, you can close it again.
Step 11:
Now is the time when you need to choose the quality of the video and audio.
If you don’t know what to do here, something quick and easy is to just use CRF, which means you let the codec decide on the bitrates itself. So you can click the “Config” button next to the “Encoder settings” dropdown when you have a x264 option selected, then just enter a number between 16-20 in the “Quality” input box. 16 means your video will be almost exactly the same quality as the source, while 20 will look good too while taking up less space. Personally I use 16 for everything because why not? 🙂
So when you have your quality, click Queue in the Video encoding section.
Step 12:
Now your video is ready for conversion.
Now just go to the Queue tab and click Start down the bottom, then wait for it to finish.
Step 13:
The final step is to add your audio and/or subtitles from the original file to the converted file. This process uses muxing, not conversion, so there is no quality loss.
For this we will use the program we installed earlier, MKVMerge.
So run that and drag the converted file into that program, then do the same with the original file. If you can’t drag them on, you can use the add button instead.
Now you have several items in the Tracks, chapters and tags section. You just need to untick the ones you don’t want. Usually you will want to leave them all selected except for the original video track, as I’ve done in the following example:
Finally, set the Output filename down the bottom of the window and click Start muxing.
When that is done, you have your final video!
Final Thoughts:
This might seem like a long process, but actually it is only long once. Since we have now made templates, the process for the videos from now on will be much faster; instead of entering the script each time, now you can just make sure your 60FPS AviSynth script is selected.
This file can now be played just like any other video. I personally watch videos on my TV which is linked up to my computer using the awesome, free program called Universal Media Server, and that handles these 60FPS videos perfectly with no configuration.
Any comments are appreciated. If you can think of an improvement to the script, or to the process, or if you just found it useful and want to say thanks, please do leave a comment. I would love to know that it’s being used.
If you want to donate to help me with server costs and time spent keeping this article updated, you can do so here with my thanks 🙂
FAQ:
- How can I fix random crashing of vfw4x264.exe?
This probably means you are encoding a file using an input mode other than DSS2, which can happen if the clip is .m2ts or .dga (blu-ray) or another uncommon format.
You can fix it by changing the 2 in the second line of the script to either 3, 4, 5 or just removing that line (try them in that order, since the options get progressively slower) - The option “Prefer DSS2 over DirectShowSource” is disabled. or
I get an error like “can’t load avss.dll”.
This means your computer is missing Haali Media Splitter. You can download it here or as part of a K-Lite Mega Codec Pack and the error should go away after you install it. If you install K-Lite, make sure to select “Profile 9: Lots of Stuff” during installation. - The file stops encoding after 99%.
This usually indicates a codec configuration issue. Try installing/reinstalling K-Lite Mega Codec Pack, and make sure to let it select its preferred defaults (not “quick upgrade”) - Can I customize the output framerate to make it 48FPS, 75FPS, 120FPS, or anything else?
Yes, you can choose any framerate you want. It is best to choose a framerate that is divisible in some way with the original video, but even that is your choice. You just need to add the options “NewNum” and “NewDen”, like this:
InterFrame(Cores=Cores, NewNum=48000, NewDen=1001)
NewNum stands for “New Numerator” and NewDen stands for “New Denominator”. In general, with NTSC material the NewDen should be 1001 and the NewNum should be 1000x your desired framerate (so for 48FPS you want 48000 and 1001) while for PAL content you might just want something like NewNum=75,NewDen=1 to output 75FPS content. - The output seems choppy, can I make it smoother?
Yes, by default we output a video that sacrifices a little smoothness in order to reduce errors, but different people’s eyes pick up on different things so it can all be a matter of taste. You can try the Smooth tuning, like this:
InterFrame(Cores=Cores, Tuning="Smooth")
Also, using GPU mode produces more accurate results and therefore should appear smoother, though it can be slightly slower overall. You can try it like this:
InterFrame(Cores=Cores, GPU=true)
Or try both options at once like this:
InterFrame(Cores=Cores, Tuning="Smooth", GPU=true)
- Why isn’t the GPU being used much in GPU mode?
Only some things are done with the GPU in GPU mode, it’s still mostly done by CPU but helped by GPU. - Why is the video still the original framerate after running it through MKVMerge?
You probably selected the wrong tracks in MKVMerge so you’re getting the original video track instead of the new one; make sure you untick the original video stream before muxing. - Why does MeGUI give an error “SVSmoothFPS: unable to load library given in ‘compose’ […svpflow2.dll]
Try re-installing or updating your video card drivers, and if that doesn’t work then maybe your video card doesn’t support OpenCL so remove GPU=true from your script. - Why am I getting the error “SVSmoothFps: unable to load library given in ‘compose'” when I try to run the encoding process, but not when I preview?
Go into your MeGUI tools folder (usually C:\Program Files (x86)\MeGUI\tools\x264) and rename the file opencl.dll to opencl.dll.bak. This will let MeGUI use the version of opencl.dll that your video card drivers have installed, instead of the generic one from MeGUI. - Why am I getting the error “Error message for your reference: Can not read the video stream”?
MeGUI can’t read from folders or files with certain characters, so try moving the video to a different folder and/or renaming the file.
Thanks:
Widezu69 for providing the original AviSynth script that I used as a base.
Fizick for MVTools, the library that does all the work, and SVP for the modifications to MVTools that make it even better for our purposes.
Everyone on various forums for their feedback, this is really a community effort.
Changelog:
21/05/2015:
- Updated InterFrame to 2.8.2, which improves speed
16/03/2015:
- Corrected and improved the instructions and FAQ
05/03/2015:
- Updated InterFrame to 2.8.0, which improves speed and lowers memory usage
- Updated conversion script
24/02/2015:
- Updated the instructions and FAQ
27/09/2014:
- Updated InterFrame to 2.6.0
- Added a tip about using framedoubling mode
- Updated most images to reflect the minor changes to MeGUI
- Minor improvements to instructions
22/07/2014:
- Added more items to the FAQ
10/07/2014:
- Added more items to the FAQ
- Shortened the changelog to only the latest 3 changes by default
20/05/2014:
- Updated instructions
- Added more tips
- Added to and updated the FAQ
- Updated the link to MKVToolnix to always point to the latest version
March 25, 2012 at 11:17 pm
and also i forgot to ask that should i put the new version 2 .dll files just into avisynth plugin folder or like the version 1 i also should put them in my sys32 or syswow64 too and if yes, all of them or which one?
thanks again
sed
March 25, 2012 at 11:20 pm
@Sed: 2.0 is not recommended for use yet so it isn’t in this guide. When it is good enough I will update the guide for it.
March 26, 2012 at 11:51 pm
OK, thanks, actually i did play around with it for a while and i got it working, and right now i am doing my first conversion with 2 (just a test) on a file that i did before with one, its not finished yet, as for being faster, cant say if its faster, as for quality, i just have to wait and see and compare it with the one i did with 1 to be able to say, but i did notice something that made me happy and that’s when i was trying to do some split and joint with 1 it was almost always MeGui crush but so far it did not (don’t know for sure if it has some thing to do with interFrame 1 and or 2 or it was a bug in my system that its not there anymore), anyway i want to really thank you for your hard work (it took me almost 3 months to get comfortable with MeGUI and then i found out about interFrame and another month to get hang of this, but i am really happy as i am finding my way to build a big collection of 60FPS movies, again thanks to you guys.
Sed
April 20, 2012 at 9:47 am
Hi Subjunk,
I get a AviSynth Script Error: There is no function named “SetMTmode” I’m kind of a newbie but would like to code some of my 30fps AVI and other video files to 60fps
April 20, 2012 at 10:03 am
@Derfu: Make sure you follow step 1 fully and it will fix that error
April 20, 2012 at 12:04 pm
Thank Subjunk =)
MKVMerge will not mux wmv to the new mkv. Is there any way around this? or some other software to aid this mux? Thank you in advance
April 20, 2012 at 12:14 pm
@Derfu: Yeah WMV is a pain in the butt, try to avoid it 🙂 You can try ctrl+f7 in MeGUI which will work for some files, if that doesn’t work it’s probably best just to convert the audio in MeGUI. You can convert it to FLAC which is lossless so it’s kindof the same as muxing 🙂
April 20, 2012 at 4:37 pm
@Subjunk
I have yet to try ctrl+f7 but will do so later. What would be the script to convert it to FLAC?
Also, I have done a couple converts to 60fps but have not seen any or much difference at all to the original source. Am I missing something here? I do notice when I do download some 60fps torrents that those videos have movement that look real smooth, so far my conversion isn’t producing the smoothness I read other users are experiencing. Is there something wrong with my script.
Here is the script I’m using.
Setmemorymax(1024)
SetMTMode(2,7)
PluginPath = “C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\”
LoadPlugin(PluginPath+”mvtools2.dll”)
LoadPlugin(PluginPath+”RemoveGrainSSE3.dll”)
Import(PluginPath+”InterFrame.avsi”)
.ConvertToYV12()
SetMTMode(2)
InterFrame(FlowPath=PluginPath)
April 20, 2012 at 4:48 pm
@derfu: For the FLAC conversion you can just use MeGUI.
For extra smoothness you can use the smooth tuning, like:
InterFrame(FlowPath=PluginPath, Tuning=”Smooth”)
Plus your script is old, I suggest updating it based on the guide
April 20, 2012 at 6:42 pm
@SubJunk
I’m quite new and don’t understand the software too much. Can you let me know how to do the FLAC conversion using MeGUI.
Can you give me a script that you use for your upconversion as a template for me to try.
April 20, 2012 at 6:43 pm
Also want to thank you SubJunk for your quick replies. Great job on this also!
April 20, 2012 at 8:48 pm
@derfu: For the audio conversion, in the main window of MeGUI there is the video section then an audio section below it. Just load your file with the Audio Input option, then choose FLAC in the Encoder settings then click Queue and start the job like with videos.
Bringing your script up to date would be:
Setmemorymax(512)
SetMTMode(3,7)
PluginPath = “C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\”
LoadPlugin(PluginPath+”mvtools2.dll”)
LoadPlugin(PluginPath+”RemoveGrainSSE3.dll”)
Import(PluginPath+”InterFrame.avsi”)
<input>.ConvertToYV12()
SetMTMode(2)
InterFrame(FlowPath=PluginPath)
April 21, 2012 at 5:15 am
Hi SubJunk,
I want to rotate video. How could I do it with avisynth script?
April 21, 2012 at 9:55 am
@Jet: Looks like there is a plugin called Rotate: http://avisynth.org.ru/rotate/rotate.html
I don’t want to get into the habit of giving general Avisynth support though so if you have more questions like that I suggest using a forum like Doom9 🙂
April 22, 2012 at 3:46 am
@subjunk
Thank you for all your help. I have converted a few videos successfully and it has been fun testing this. I recently ran into a problem doing a 1440 x 1080 res wmv. It would process that video about 60% and stop. Any idea why this process is stopping. There was also a mpg4 video that had this problem occur.
April 22, 2012 at 10:26 am
@Derfu: I’m glad it’s working now. Sounds like an FTV video, sometimes codecs for WMV and MP4 do weird things and re-installing or configuring codecs fixes it.
April 22, 2012 at 10:47 pm
when i use megui to make 60fps video,original video is MP4 format,and transform it become 60fps video successfully,but the video before two seconds is the same like the first frame,the same pictuer will lasts two second,other was normal like original vieo without any error,when i transform original video that is avi format is normal use same parameter is normal,i don’t koow where is error,following is my AVS Script:
Setmemorymax(512)
SetMTMode(3)
PluginPath = “C:\Program Files\MeGUI\tools\avisynth_plugin\”
LoadPlugin(PluginPath+”mvtools2.dll”)
LoadPlugin(PluginPath+”RemoveGrainSSE3.dll”)
Import(PluginPath+”InterFrame.avsi”)
DirectShowSource(“E:\BTOB – Insane (HD 1080p).mp4”, fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001).ConvertToYV12()
SetMTMode(2)
#deinterlace
#crop
LoadPlugin(“C:\Program Files\MeGUI\tools\avisynth_plugin\Convolution3DYV12.dll”)
Convolution3D(“movielq”) # Heavy Noise
#resize
InterFrame(FlowPath=PluginPath)
April 23, 2012 at 12:01 pm
@klys: Try following Step 8 fully 🙂
May 1, 2012 at 5:53 pm
my computer keeps crashing after i choose ” directshowsource” in step 9..what should i do?
May 6, 2012 at 1:09 am
Can you please tell me what you mean by “extract the tools folder over the top of your MeGUI tools folder”?
May 6, 2012 at 10:35 am
Just to take the contents of the zip file from the guide and put them into the MeGUI tools folder
May 11, 2012 at 1:21 am
Can there be a way to do this with FFMpeg?
May 11, 2012 at 10:36 am
FFmpeg can take AviSynth scripts instead of video input so yes 🙂
May 14, 2012 at 12:30 pm
What is the script to do it on live in ffdshow video decoder?…
i put the script of the guide and show syntax error mesage..
sorry my english
May 31, 2012 at 1:32 pm
hi…i want to ask something…
I want to make a 60fps video from an AVI video…
but when i`m inputting the video..one of the 3 buttons shows AviSource instead of DirectShowSource..
is this the right one ??
because after the encode process finished…suddenly the video have an extra 1 second at the beginning..
which make the video & audio could not fully sync….
anyway thx before…
June 1, 2012 at 10:09 am
@zeroka: Yes, that is the right way to do it. Maybe the avi file has an audio offset that MeGUI didn’t detect. You can set it yourself using MKVMerge 🙂
June 2, 2012 at 6:20 pm
I keep on getting LINE 8 error when it try to Que it. This didn’t happen before. Please fix.
June 2, 2012 at 9:35 pm
@Nathan: What is the script you’re using and what is the exact error?
June 3, 2012 at 7:06 am
im stuck at 99.98% what do i do?
June 3, 2012 at 11:16 am
@Kenny: When that happens, the file is usually 100% finished but the job isn’t stopping. It’s related to codecs/containers, usually happens with MP4s but can with others too. Just make a copy of the output file then cancel the job.
June 13, 2012 at 5:40 pm
it says it can’t find “mediainfowrapper” and cannot proceed, what in the unholy fucking shit is that!?
June 14, 2012 at 12:03 am
@bakonfreek: Sounds like a MeGUI error, try updating the program or reinstalling it
June 14, 2012 at 7:47 pm
I have the same problem than Kenny, it gets stuck at 99% but when I copy the output file and try to open it says the file is corrupted. I noticed this happens when I activate the “Prefer DSS2 over DirectShowSource” option.
Any clue?
June 19, 2012 at 5:41 pm
I must say this program and your very detailed instructions and illustrations did what you said it would and that is unimaginable results there is a few elements that needs to be addressed if i may say, but i am not writing this for that reason no. My main reason is to and if i may elucidate a bit, Is to publicly THANK YOU for the time and effort in posting a most informative step by step instructional tutorial on something i all ways had an interest somewhat in. You are unquestionably one of the most intelligent, intellectually and technically inclined individual, for that you deserve to be commended, so i commend you sir and i thank you again for sharing your knowledge and expertise and hope that you continue the good work thank you.
June 21, 2012 at 12:37 pm
@john: Thanks a lot for the encouragement, I really appreciate it 🙂
June 23, 2012 at 2:01 am
A gazillion kudos! This is by far the coolest thing I have experienced regarding video encoding. I wasn’t expecting results this awesome.
Just one question, I have a sandy bridge cpu, can quick sync be of any use here? (I haven’t tried using GPU=true, not expecting much since its an on board gpu. However, Quick Sync would certainly speed up the awesomeness). I’ll try GPU=true and share the results for anyone with modern on board graphics.
Once again AWESOME WORK.
June 25, 2012 at 10:12 am
@Wagas: Thanks for the kind words, it’s really great 🙂 I’m not sure about Quick Sync, sorry
June 28, 2012 at 3:54 am
Hello and thanks for the guide! Got it working however it takes TIME! Right now I have at best 2.40fps enconding speed.. it says it will finish after 2 days rofl.. which isn’t really up my alley.. Any suggestions?
June 28, 2012 at 8:54 am
@Heike: Try using the fastest x264 preset in MeGUI and make sure you set the correct number of cores in the script.
July 6, 2012 at 1:30 am
Awesome work, takes awhile to get used to the smoothness of the video, but you get to pick out details that you’d never see at high-speed 24fps. My only problem is because of the quality setting i used for the video, my file size grew fourfold, 2 gigs grew to 8 gigs. Encoding went at around 8 fps on my q6600 with 8800gt
July 9, 2012 at 9:28 pm
Hi,
It’s been a while since I dabble with conversion but now I’d like to get back in it. One thing though is that I lost my scripts and tools in an HD crash a couple of months ago. Good thing you keep an archive of all the comments because I found the script I used to use the most in a comment I left, here it goes
Setmemorymax(1024)
LoadPlugin(“C:\Program Files (x86)\60fps\MeGUI\tools\avisynth_plugin\mt.dll”)
SetMTMode(2,0)
LoadPlugin(“C:\Program Files (x86)\60fps\MeGUI\tools\avisynth_plugin\mvtools2.dll”)
AVISource(“G:\test.avi”, audio=false)
#deinterlace
#crop
#denoise
#resize
super = MSuper(pel=2, hpad=0, vpad=0, rfilter=4)
backward_1 = MAnalyse(super, isb=true, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1 = MAnalyse(super, isb=false, blksize=16, searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2 = MRecalculate(super, backward_1, blksize=8, searchparam=1, search=3)
forward_2 = MRecalculate(super, forward_1, blksize=8, searchparam=1, search=3)
backward_3 = MRecalculate(super, backward_2, blksize=4, searchparam=0, search=3)
forward_3 = MRecalculate(super, forward_2, blksize=4, searchparam=0, search=3)
MFlowFps(super, backward_3, forward_3, num=FrameRateNumerator*2, den=FrameRateDenominator, ml=10000)
ConvertToYV12()
***
As you can see it merely functions as a doubler, which is what I want. Now I think I’ve reinstalled everything, the problem is that I can’t by a simple syntax error. Everytime I try to use the script I get :
Avisynth open failure
unexpected character “””
(H:\Stuff\60a.avs, line 2, column 11)
Now if I remove the ” I get the following
Avisynth open failure
Script error: expected a , or )
(H:\Stuff\60a.avs, line 2, column 13)
Any idea why that is?
Thanks!
July 11, 2012 at 1:07 pm
@Phil: It’s probably because the quotation marks are in a stylized format that AviSynth can’t recognise. Try replacing them all by typing them with your keyboard. However you really should update that old script because the new ones are much better quality and faster. The newer one can also double the framerate so you would not lose any functionality.
July 12, 2012 at 11:23 pm
Hi Sub,
You mean to use the new one in your step 7 ?
Two questions :
1: My workflow is that, with the script I posted I could frameserve from Sony Vegas to VirtualDub and let it encode in whatever codec I wanted, can I still do that with the new version of the script?
2: Which line, if any, should I change in order to make the script a doubler, cause if I have a 25FPS source I want to double it into 60fpps and not convert it to 60.
Thanks for your help.
July 12, 2012 at 11:48 pm
I mean “to double it into 50fps”
July 12, 2012 at 11:55 pm
@Phil: 1) Yes, I don’t think there will be any problems.
2) The default action of the script on this page is to convert 25fps videos to 50fps
July 13, 2012 at 1:01 am
Well I get a syntax error line 7 column 1
I’ve copied the script from your page and replaced all (“”), here it is again just to be sure
Setmemorymax(512)
SetMTMode(3,6)
PluginPath = “C:\Program Files\MeGUI\tools\avisynth_plugin\”
LoadPlugin(PluginPath+”svpflow1.dll”)
LoadPlugin(PluginPath+”svpflow2.dll”)
Import(PluginPath+”InterFrame2.avsi”)
.ConvertToYV12()
SetMTMode(2)
InterFrame(Cores=6, GPU=true)
Now, in the previous script I was using the was a line that calls for the location of an AVI source, so that Vdub will open the file I want to frameserve. Do I need this line or is it part of the “Interframe2.avsi”
Thanks
July 13, 2012 at 1:23 pm
@Phil: You’ll need to replace the input line with your input, so for example:
Setmemorymax(512)
SetMTMode(3,6)
PluginPath = “C:\Program Files\MeGUI\tools\avisynth_plugin\”
LoadPlugin(PluginPath+”svpflow1.dll”)
LoadPlugin(PluginPath+”svpflow2.dll”)
Import(PluginPath+”InterFrame2.avsi”)
AVISource(“G:\test.avi”, audio=false).ConvertToYV12()
SetMTMode(2)
#deinterlace
#crop
#denoise
#resize
InterFrame(Cores=6, GPU=true)
July 13, 2012 at 11:29 pm
All good so far now. Thank you for your time!
July 15, 2012 at 5:54 pm
I have two questions about this:the frist is at the step 7,Important note #3,you say recent video card,whther it is independent video card or not,I don’t see what you mean.Or recent is the latest means.Could you explain,please.Not is use GPU coding no CPU coding quality good,I heard with GPU codes will reduce the video quality.Don’t know if it’s really true.The second is I have some 1080i,I want to turn them into a 720p or 1080p video that is 60fps.I can do the same as the one above,or still need to add other parameters.
Thanks.
July 18, 2012 at 7:50 pm
Dear SubJunk,
Hope to get your reply soon. I am trying to convert my 25 fps video to 50 fps (instead of 60fps) using interframe, and in the description , it is written that
if value of NewNum=> 0 – Automatic output framerate then If the input framerate is 25FPS, output 50FPS
i tried with 0 using the following script
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”)
AVISource(“C:\Desktop\25p.avi”, audio=false).ConvertToYV12()
SetMTMode(2)
InterFrame(NewNum=0, NewDen=0, Cores=4)
–> in the above case i get 6 times increase in frame rate e.g: if original # of frames= 125 (for 25p video) then after conversion i get # of frame = 750(for 50p)
which is wrong as after conversion # of frame for 50p video should be 250(125 original+125 interpolated) frames.
i also tried with the case
InterFrame(NewNum=5, NewDen=1, Cores=4) and in this case i am also getting wrong frames number (after conversion for 50p i am getting less frames (60 frames))
please let me know why i am not getting the desired frame number (i.e 250 frames after the conversion from 25p to 50p)
thanks in advance,