# This is other dumb stuff that I don't fully understand. # If you want the output fps to match your display, you likely want 60000 as the output fps numerator and 1001 as the output fps denominator, since most displays nowadays are 59.94 Hz, even if they say they're 60 Hz. # Possible tuning values: Film, Animation, Smooth, UltraSmooth, Weak # Possible preset values from slowest to fastest: Placebo, Medium, Fast, Faster, Very Fast, Super Fast, Ultra Fast Loadplugin("a:\tools\avisynth\interframe\dependencies\removegrainsse3.dll") Loadplugin("a:\tools\avisynth\interframe\dependencies\mvtools2.dll") Loadplugin("a:\tools\avisynth\interframe\dependencies\eedi2.dll") Import("a:\tools\avisynth\interframe\interframe.avsi") Sometimes, programmers (like me) are dumbasses. After doing that, if the script returns an error about being unable to load fftw3.dll, copy that file from interframe\dependencies to your windows\system32 and windows\syswow64 directories. Point them to wherever the corresponding files that came with InterFrame are located. # These commands load the various things necessary to get InterFrame to work, including InterFrame itself. Loadcplugin("a:\tools\ffmpegsource\ffms2.dll") Mine works properly only with "loadcplugin". There are different ways to load ffmpegsource and I still don't fully understand the difference. If this line returns an error or the output looks weird, try changing "loadcplugin" to just "loadplugin". This is ffmpegsource, something that uses ffmpeg or libav to read video files and turn them into clips avisynth can understand. # You should change this path to point to wherever your ffms2.dll is. If your input video has a constant frame rate, just set "variableframerate" to false, which will cause "inputfpsnumerator" and "inputfpsdenominator" to be ignored. My vfr video I originally wrote this script for has an intro that's lower frame rate, then has 29.97 fps for the main part. It would be ideal to not have to do this and pass vfr video straight to InterFrame, but I don't know how. # If your input video has a variable frame rate, you'll have to set the frame rate yourself if you want the audio to be synchronized with the resulting video. Videofile = "c:\media\video\capture\waencode\" If no path is used, the video must be in the same directory as this script. # This is the video file you want to load with this script. You are free to do whatever you want with it. I hereby waive all rights to this work by using the Creative Commons Zero license, as described here. # This script was written by me, Alex Folland, in order to use InterFrame (frame rate interpolation script downloadable from here: ) with any video easily.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |