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
July 14, 2010 at 4:53 pm
@timgbpd: That’s a very good question, and it’s something I do myself. The reason I skipped it in the guide was just for ease-of-use, since using the original audio requires another program.
Firstly, you can just skip steps 9 and 10; just click the Enqueue button in the “Video encoding” part instead of the AutoEncode button. That will mean MeGUI simply converts the video and ignores the audio.
Next, you should install a program called MKVToolnix. It comes with a program called MKVMerge which is what you want. When you have MKVMerge open, and MeGUI is finished encoding your video, you drag the completed file onto MKVMerge and then drag the original file there as well. So now in the main MKVMerge window you should see about 3 options (not including subtitles/chapters/other things), there should be 2 video tracks and 1 audio track. So just make sure you have selected your converted video track and unselected the original one, then you just click the “Start muxing” button. When that’s finished, the file that was output (usually the filename with (1) at the end) has the original audio with the converted video.
I’ll add this to the guide sometime soon too in a better way.
I should also add that if you use a media server you should download version 4.0 of MKVToolnix instead of a newer version since there are compatibility problems with the newer releases.
July 16, 2010 at 10:33 pm
@timgbpd
Just don’t input any audio information, if you don’t plan to do audio conversion from the source material. If you just leave it blank, it’ll demux the audio from the original source into the new container, be it mp4 or mkv.
July 17, 2010 at 5:35 pm
It doesn’t do that for me, I just tested it. I get the video with no audio.
July 18, 2010 at 12:32 am
SubJunk, that’s correct.
Now you use Yamb to extract the audio track from the original file.
Then use MKVMerge to join them together.
July 18, 2010 at 11:55 am
You just need to leave the audio field blank and directly transcode the source into a new container and not raw .264 format. It’ll demux the original source audio into the new container, as long as it’s compatible with it. If that still doesn’t work, just mux the original file containing the video and audio source into the new transcoded file and it’ll do it’s thing, putting the audio stream/track into the new file, while leaving the video untouched (it won’t be transfer over).
Recently did a transcode of Final Fantasy Advent Child Complete from Thora’s version. Sadly it came out really bad, so much damaged frames in practically all the high motion action scenes, that makes it unwatchable with the 60fps script. Which is a shame, would really like to see FF AC Complete in a more watchable 60fps, as I truly think it’s the way it’s ment to be watched.
July 18, 2010 at 12:24 pm
@syia: Like I said, it doesn’t mux the audio for me.
Did you try the newest script (added it less than 24 hours ago)? The quality has been greatly improved in high-motion frames.
July 18, 2010 at 12:25 pm
@redman458: Actually you don’t need to extract the audio track from the original file, you can simply add the original file to MKVMerge directly.
July 18, 2010 at 9:27 pm
@SubJunk: Thanks I’ll try that
@syia: Yeah you should try out the new script from SubJunk. That Transformers trailer was improved greatly in scenes with high motion.
July 21, 2010 at 3:39 am
hey im getting an avisynth error after step 9.
it says,
AviSynth script error:
Script error: expected a, or)
((null)), line 4, column13)
July 21, 2010 at 5:06 pm
@jonathan: That’s strange. Are you sure you copied the script properly? It’s saying there’s a problem on the 4th line but the 4th line is very simple so I can’t see any way it would cause that error unless it was copied or edited wrong.
July 22, 2010 at 11:06 am
yeah i just tried it again now its saying its something wrong with line 2. I’ve made sure it lookslike what it says in the instructions I don’t know. I’ll give another go after i get off work.
July 24, 2010 at 2:07 am
Weird, must be some special way I have my megui setup where it transfers the audio for me.
Well megui does have it’s own supplemented demuxer, using the “HD Streams Extractor” you can rip out video, audio, and subtitle tracks from mkv and then remux them into the new transcoded container.
I’m using the latest script from the update on the 20th. It has greatly been improved quality wise. Not so much damaged frames anymore, great job on that! Really loving this new script, tho it’s still not picture perfect yet, but getting darn close. 😀
July 24, 2010 at 4:30 pm
ok these errors are killing i keep getting this error.
file://localhost/C:/Users/Public/Pictures/Capture%2007-23-2010.png
July 24, 2010 at 4:43 pm
@Jonathan: I can’t see that image since it’s on your computer. You need to upload it to the internet in order for other people to see it. Try http://imageshack.us/
July 25, 2010 at 2:12 pm
ok i got it sorry i was at work but here you go.
http://s861.photobucket.com/albums/ab177/jonhubb/?action=view¤t=Capture07-24-2010.jpg
July 25, 2010 at 2:16 pm
and this is the way i put the script in.
http://s861.photobucket.com/albums/ab177/jonhubb/?action=view¤t=Capture07-24-2010-1.jpg
July 25, 2010 at 3:20 pm
@jonathan: That line isn’t in the script on this page. It looks like you have only partially updated the script, since the first few lines there are from old scripts. Make sure to copy each line and then customise the paths if you need to.
July 28, 2010 at 12:51 pm
Hey SubJunk, have you tried doing any combination with like 3D scripts? I’ve been googling about and can’t find anything decent with regards to 3D Anaglyph video transcoding. I seen a few vids out on the net that has videos transcoded in such a fashion, have always wonder how it’s done and what if it’s combined with a 60fps script. Fluid 3D video viewing experience would be quite fun to experiment around with.
Let me know what you think.
July 28, 2010 at 2:39 pm
@syia That could be cool. It would probably be best to create the 60FPS video and then apply the 3D script, instead of the other way around.
It could be fun to try 🙂
August 7, 2010 at 5:33 am
@subJunk, When I start to encode, there is a error message:
Microsoft Visual C++ Runtime Library
Runtime Error! Program: C:\program Files\MeGUI\tools\x264\x264.exe
This application has requested the Runtime to terminate it in an unusual way.
August 8, 2010 at 2:12 am
Ha, if I delete thr first line in script, it is OK. But I found the FPS rate of the encode movie is not stable at playback.
August 9, 2010 at 3:11 pm
OK! I found that the FPS rate of the encoded movie is not stable at playback if I use CoreAVC with CUDA to do decoding. If I use ffdshow video decoder, the playback is OK at 60 FPS rate without frame dropped. Anyone know why?
August 10, 2010 at 8:31 pm
Have CoreAVC do the decoding with CUDA off. You’ll get better performance that way. For CUDA to work well on 1080p 60fps video(s), you would need a nvidia graphic card with a minimum of 1GB of ram.
September 4, 2010 at 3:03 am
Ok currently problem im having is that in the AviSynth configuration dialog, in the extra settings tab the “prefered DSS2 over DirectShowSource” is grayed out (the one in the filter part of the MeGUI creator is fine and works) this is slightly annoying since i have to manually enable it each time is there any fix to this?
September 5, 2010 at 10:09 am
I think that probably means there’s a codec configuration problem. Maybe try uninstalling all codecs and installing a different package? If you use K-Lite try Shark007, if you use Shark007 try K-Lite. They both work but sometimes strange things go wrong in the wonderful world of codecs :p
September 5, 2010 at 11:55 pm
Ah thanks SubJunk that solved problem, i hadn’t updated my K-lite for awhile so i just got new version and it fixed it never thought it would be the codec …
September 7, 2010 at 5:26 am
Anyone has a 3D script for avisynth… it would be interesting
October 3, 2010 at 2:13 pm
i get an error when i click the save button in step 9
load plugin..unable to load C:\……directshowsource.dll”
plz help!
October 3, 2010 at 4:41 pm
Hi xinghong,
Are you using the 64-bit version of MeGUI or Avisynth? This guide will only work with x86 (32-bit) versions, without some tweaks.
October 7, 2010 at 3:27 am
Good morning! I wonder why the field “Prefer DSS2 DirectShowSource” is disabled for me, I can not check these fields. thanks
October 7, 2010 at 1:42 pm
Hi Christiano,
Try installing K-Lite Codec Pack, after uninstalling any other codec packs you have. Hopefully after a restart it will be fixed
October 8, 2010 at 3:40 am
obrigado! corrigi este problema. agora quanto ao script não consigo fazer rodar sempre da erro. poderia me passar o arquivo de script de qualidade para mim. muito obrigado.
October 8, 2010 at 3:48 am
thanks! solves this problem. Now about the script can not always rotate the error. could pass me the script file quality for me. thank you.
October 8, 2010 at 8:10 am
Hi Christiano,
I’m glad that error was fixed. I will add it to the FAQ.
I don’t understand your last comment, though. I realise English is not your first language, but can you please try to explain again?
October 8, 2010 at 9:06 am
Good afternoon! sorry for my english my friend! I’m trying to convert some movies I have in HD 24fps to 60fps following his tutorial.Copying and pasting your script for saving the following error appears: “Script error: There in the function named “Msuper”.I would love to watch movies at 60fps. Could you pass me the file with the script ready for my mail. thank my friend for help.
October 8, 2010 at 9:08 am
There is no function named “Msuper”
October 8, 2010 at 9:41 am
This was that I created srcipt:
LoadPlugin(“C:\Program Files\MeGUI\tools\avisynth_plugin\mt.dll”)
LoadPlugin(“C:\Program Files\MeGUI\tools\avisynth_plugin\TCPDeliver.dll”)
LoadPlugin(“C:\Program Files\MeGUI\tools\avisynth_plugin\DirectShowSource.dll”)
LoadPlugin(“C:\Program Files\K-Lite Codec Pack\Filters\Haali\avss.dll”)
dss2(“C:\mkv\file.mkv”, fps=23.976)
SetMemoryMax(1280)
SetMTMode(5,8)
SetMTMode(2)
super=MSuper(pel=1, hpad=0, vpad=0)
backward_1=MAnalyse(super, chroma=true, isb=true, blksize=16, blksizev=16, searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1=MAnalyse(super, chroma=true, isb=false, blksize=16, blksizev=16, searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=16, blksizev=16, searchparam=2, search=3)
forward_2 = MRecalculate(super, chroma=true, forward_1, blksize=16, blksizev=16, searchparam=2, search=3)
backward_3 = MRecalculate(super, chroma=true, backward_2, blksize=8, blksizev=8, searchparam=1, search=3)
forward_3 = MRecalculate(super, chroma=true, forward_2, blksize=8, blksizev=8, searchparam=1, search=3)
MBlockFps(super, backward_3, forward_3, num=60, den=1, mode=0)
October 8, 2010 at 1:19 pm
Hi Christiano,
Your English is very good.
That script is not the same one from this article, please copy the one from this article and try again.
October 9, 2010 at 12:08 pm
My friend:
I copied the script and its equal to the following error appears in
time to save. “Avisynth Script error: syntax error;
C: \ mkv \ avatar.avs, line11, Column0). what would be this:
thanks again
October 10, 2010 at 9:46 am
Hi Christiano,
You’re having bad luck! It’s OK, we will fix it 🙂
That says there is an error on line 11, so can you please post the script that gives the error? Then I can look at line 11.
October 11, 2010 at 8:10 am
My friend:
follows the script. Please check if everything is right and the
because of this error that appears in line 11, column 0.
Thanks.
LoadPlugin(“C:\Program Files\MeGUI\tools\avisynth_plugin
\DirectShowSource.dll”)
LoadPlugin(“C:\Program Files\MeGUI\tools\avisynth_plugin
\TCPDeliver.dll”)
LoadPlugin(“C:\Program Files\MeGUI\tools\avisynth_plugin\MT.dll”)
SetMemoryMax(1280)
SetMTMode(5,8)
SetMTMode(2)
super=MSuper(pel=2, hpad=0, vpad=0)
backward_1=MAnalyse(super, chroma=false, isb=true, blksize=16, blksizev=16,
searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1=MAnalyse(super, chroma=false, isb=false, blksize=16, blksizev=16,
searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2 = MRecalculate(super, chroma=false, backward_1, blksize=8,
blksizev=8, searchparam=2, search=3)
forward_2 = MRecalculate(super, chroma=false, forward_1, blksize=8,
blksizev=8, searchparam=2, search=3)
backward_3 = MRecalculate(super, chroma=false, backward_2, blksize=4,
blksizev=4, searchparam=1, search=3)
forward_3 = MRecalculate(super, chroma=false, forward_2, blksize=4,
blksizev=4, searchparam=1, search=3)
MBlockFps(super, backward_3, forward_3, num=60, den=1, mode=2)
ConvertToYV12()
October 11, 2010 at 9:20 am
Hi Christiano,
Please check Step 2 and Step 6 🙂
You script is different to the one here, and you need to use the file mvtools2.dll
October 11, 2010 at 8:44 pm
Hey SubJunk, thanks for the awesome script and tutorial. I’ve been playing with it all weekend. I had a couple of questions for you though. I tried bumping the framerate from 60 to 120 fps. I did this because I thought it might reduce artifacts since 120 is the closest multiple of both what the film was shot at and what my display is refreshing at. I completed a 1 one minute sample (after 40 minutes of rendering on my weak dual core). When I went to open the file, it was extremely choppy and was running well below even 60fps. I don’t have this problem with 48 or 60 fps encodes so I was wondering if you could help me out. Do I just not have the hardware to render 120fps? The processor is not maxed out. I used this script (I tweaked the quality script to lower block size and set pel to 4):
#MEGUI READY FOR NON REAL TIME UBER QUALITY 48FPS SCRIPT (TWEAKED)
Setmemorymax(1024)
LoadPlugin(“C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\mt.dll”)
SetMTMode(2,0)
LoadPlugin(“C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\mvtools2.dll”)
#
#
#
#
super = MSuper(pel=4, hpad=0, vpad=0, rfilter=4)
Width > 720 ? Eval(“””
backward_1 = MAnalyse(super, isb=true, blksize=8, searchparam=3, plevel=0, search=3, badrange=(-24))
forward_1 = MAnalyse(super, isb=false, blksize=8, searchparam=3, plevel=0, search=3, badrange=(-24))
backward_2 = MRecalculate(super, backward_1, blksize=4, searchparam=1, search=3)
forward_2 = MRecalculate(super, forward_1, blksize=4, 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)
“””) \
: Eval(“””
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=48, den=1)
MFlowFps(super, backward_3, forward_3, num=120, den=1)
ConvertToYV12()
Thanks for your time and effort.
October 12, 2010 at 12:54 pm
Hi Steven,
Glad you like the script 🙂
If the video playback is choppy but the CPU isn’t maxed out it’s possible that your video card is being used and that is the bottleneck. In our tests we found that it’s always best to set the FPS to be the same as your display. So if your monitor runs at 75Hz you want 75FPS. I set it to 60FPS in my script because that seems to be the most common Hz for computer monitors right now.
Also – like I said on the AVS Forum but I’ll repeat it here for the benefit of people reading these comments – you will see higher quality and smoother playback if you set pel to 2 instead of 4.
We did a lot of testing and while block size is a matter of opinion (lower is less accurate but less ghosting, while larger (like I use) is more accurate with more ghosting, and different people prefer different ones) pel=4 is always worse than pel=2 since it doesn’t increase accuracy and it introduces a lot of artifacts.
October 15, 2010 at 4:40 am
Good morning! I converted some videos. Everything worked out using this new script.
For movies in 1080p, this taking too long to finish around 2 days. this is
normal? The film I’m using is the animation UP-high adventure.
October 15, 2010 at 8:22 am
Hi Christiano,
I’m glad you got it working 🙂
The speed all depends on your CPU and the encoder settings. If you want it to be faster you can use lower codec settings, and if you have a good NVIDIA video card you can use DG NV Tools to make your video card help with encoding too.
October 16, 2010 at 9:23 am
Whenever I try to convert videos in 1080p error when going to encode the video.
When 720p without problems. any suggestions? thanks
October 16, 2010 at 9:24 am
Hi Christiano,
What is the error? 🙂
October 16, 2010 at 9:28 am
To add subtitles which procedure? thanks
October 16, 2010 at 9:33 am
Hi Christiano,
I have never seen that error before.
It might be best to look for support in places like here.