[How-To] 120Hz "MotionFlow" effect in Media Player Classic

Petros

Thief IV
Joined
19 May 2003
Messages
3,038
[How-To] 120Hz "MotionFlow" framerate effect in Media Player Classic

Did a lot of research and a lot of searching on the subject, here's what I found.

1. First, if you have Media Player Classic installed, download and install FFDshow.
2. Download and install AVIsynth
(Alternatively to steps 1 and 2--and this is probably the best and easiest way--install a codec pack and make sure FFDshow and AVIsynth get installed as the default decoder for xvid/DVD/h.264)

3. Download the DLLs for MVtools (found on the bottom of this page) and AVIsynth MT. Extract MVtools contents to the AVISynth\plugins folder and extract avisynth.dll over your originals wherever you have them (usually %windir%\System32).

Open FFDshow configuration and check the AVIsynth box, adding this script: (thank you very much to Bahn Yuki and Sodaboy581 at AVSforums for these bits of genius)
Code:
source=ffdshow_source()
SetMTMode(2,2)
frn = int ( FrameRateNumerator(source) )
frd = int ( FrameRateDenominator(source) )
# If the denominator is 1, multiply the numerator by 1000
frn = ( frd == 1 )  ? ( frn * 1000 ) : frn
# If the denominator is 1, now change it to 1001
frd = ( frd == 1 ) ? 1001 : frd
# If the numerator is 2997 and the denominator is 125, change the numerator to 24000
frn = ( ( frn == 2997 ) && ( frd == 125 ) ) ? 24000 : frn
# If the numerator is 2997 and the denominator is 100, change the numerator to 30000
frn = ( ( frn == 2997 ) && ( frd == 100 ) ) ? 30000 : frn
# If the denominator is 125 and the numerator was changed earlier to 24000, change the denominator to 1001
frd = ( ( frd == 125 ) && ( frn == 24000 ) ) ? 1001 : frd
# If the denominator is 100 and the numerator was changed earlier to 30000, change the denominator to 1001
frd = ( ( frd == 100 ) && ( frn == 30000 ) ) ? 1001 : frd
# If the denominator is 1001, which is the only denominator MVTools seems to work with, multiply the numerator by 2.
frn = ( frd == 1001 ) ? ( frn * 2 ) : frn
# assume progressive PAL 25 fps or NTSC Film 23.976 source
backward_vec = ( frd == 1001 ) ? source.MVAnalyse(blksize=16, isb = true, chroma=false, pel=1, searchparam=1, idx=1) : 0
# we use explicit idx for more fast processing
forward_vec = ( frd == 1001 ) ? source.MVAnalyse(blksize=16, isb = false, chroma=false, pel=1, searchparam=1, idx=1) : 0
# If the denominator is 1001, return the MVFlowFPS version of the source, otherwise return the original source
return (  frd == 1001 ) ? source.MVFlowFps(backward_vec, forward_vec, num=frn,  den=frd, mask=0, idx=1) : source
Run your average AVI file and see some weird stuff...

For those of you who run HTPCs and were thinking about spending the extra bux on a 120Hz TV, you might be able to save some money if this concept develops to a higher level and the scripts and libraries improve.

I'm watching some old movies like this now and HOLY...

Futurama looks so wrong
 
Last edited:
followed all your steps but I get a black screen in media player classic when running avi files, I get sound but no picture...
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back