Hi, I recently bought a new TV that runs at 60Hz that I have my computer hooked up to, and was looking into ways of raising the framerate of DVDrips I've done via Deinterlacing. in doing that, I ran across MVTools, which has a function called "MVFlowfps2." In the description of how to use it, it says
MVFlowFps2 (clip, clip "mvbw", clip "mvfw", clip "mvbw2", clip "mvfw2", int "num", int "den", int "mask", float "ml", clip "pelclip", int "idx", int "idx2")
It then goes on to describe what each of the switches does. My question, is what format am I supposed to write the script as? I've never done this before, so I'm a little confused. Do I just switch out whatever is in quotations with the values I want to use, and leave the template intact? I've tried that, and it appears that there is no change. Also, I'm using the AVISyth option in FFDShow Video.
For anyone more knowledgeable than I am, here is the site of the tool: http://avisynth.org.ru/mvtools/mvtools.html it's about a third of the way down. Thanks for the help
edit:
after using the template at the bottom of the page here:
# Assume progressive PAL 25 fps source. Lets try convert it to 50.
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1, search=3)
# we use explicit idx for more fast processing and use full search
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1, search=3)
cropped = source.crop(4,4,-4,-4) # by half of block size 8
backward_vec2 = cropped.MVAnalyse(isb = true, truemotion=true, pel=2, idx=2, search=3)
forward_vec2 = cropped.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2, search=3)
source.MVFlowFps2(backward_vec,forward_vec,backwar d_vec2,forward_vec2,num=50,idx=1,idx2=2)
I get errors saying "source" isn't a command. So I change that to the file I'm playing, and that doesn't work either. any ideas?
edit 2: I'm not sure if this is relevant, but I'm using MPlayer classic, and have "add ffdshow video source" checked.
+ Reply to Thread
Results 1 to 8 of 8
-
-
Add this above those particular commands
source=last"Quality is cool, but don't forget... Content is King!" -
Do I add that after every instance of source (i.e. change every source to source=last), or do I add that at the top of the commands?
nm. got it. thanks! -
One more question. I have a video that is already in progressive format, so when doing the above, every other frame flashes nothing (black). Is there any way to change that? I tried looking through the switch definitions, and I'm stumped.
-
It should create interpolated "middle" frames. Dunno why it is doing that.
BTW, if your TV is 60hz, you should change your parameters in the last line of your script. It's creating 50fps files
Also, there's a newer version - MVtools2 with new scripts.
AVISource("c:\test.avi") # or MPEG2Source, DirectShowSource, some previous filter, etc
super = MSuper(pel=2)
backward_vec = MAnalyse(super, isb = true)
forward_vec = MAnalyse(super, isb = false)
MFlowFps(super, backward_vec, forward_vec, num=60000, den=1001, ml=100) # get 59.94 fps"Quality is cool, but don't forget... Content is King!" -
I should clarify: it was more to make the video run slightly smother than it was to have it run at 60fps. I'm not sure if that is the reason, but with the previous script, I could watch interpolated (sp?) video's at double the frame rate with no problem. with this script, I can't (the audio starts to lag behind the video). is there any way to reconcile the two, or am I stuck with not being able to watch smother video with the computer that I have?
-
To double fps with MFlowFps for fastest (almost) real-time playing:
AVISource("c:\test.avi") # or MPEG2Source, DirectShowSource, some previous filter, etc
# assume progressive PAL 25 fps or NTSC Film 23.976 source
super = MSuper(pel=1,hpad=0,vpad=0,chroma=false)
backward_vec = MAnalyse(super, blksize=32, isb = true, chroma=false, searchparam=1,search=0)
forward_vec = MAnalyse(super, blksize=32, isb = false, chroma=false, searchparam=1,search=0)
MFlowFps(super, backward_vec, forward_vec, num=2*FramerateNumerator(last), \
den=FramerateDenominator(last), mask=0)"Quality is cool, but don't forget... Content is King!"
Similar Threads
-
MVtools/MVtools 2 frame doubling problem
By Gnodab03 in forum Software PlayingReplies: 2Last Post: 3rd May 2011, 04:14 -
AviSynth working with Y8 uncompressed AVIs and MVTools motion interpolation
By a1s2d3f4 in forum Newbie / General discussionsReplies: 6Last Post: 10th Nov 2010, 21:32 -
quick question on power of Avisynth script?
By kopmjj in forum RestorationReplies: 4Last Post: 16th Apr 2010, 22:36 -
Audio missing when opening an Avisynth script in WMP & VirtualDubMOD
By aln688 in forum Video ConversionReplies: 3Last Post: 2nd Apr 2010, 05:09 -
Avisynth Script Question
By MegaTonTerror in forum Video ConversionReplies: 4Last Post: 22nd Aug 2009, 21:28