Log in

View Full Version : How to estimate the motion (low or quick) of a movie ?


Dams
19th July 2006, 10:27
Hi all,

I was thinking about a little script with a plugin (which ??) , that can detect if a movie is a quick movie (like sf-movie) or a slow movie, is there any tool can help to ?

Thanks a lot.

:script:

foxyshadis
19th July 2006, 11:20
Quick and dirty:

WriteFile("motionstats.log", "current_frame", "colon", "YDifferenceToPrevious")

Much slower and more accurate:

vvbw = MVAnalyse(truemotion=true,blksize=8,delta=1,pel=1,isb=true ,idx=3,chroma=true,sharp=1)
MVMask(vvbw)
WriteFile("motionstats.log", "current_frame", "colon", "AverageLuma")

Then you just analyse the log, the higher the average amount the higher the movie motion (side benefit of pointing out high and low motion scenes). You might need to turn mvanalyse down so that it's not too accurate.

Adub
20th July 2006, 07:14
Damn, you kick ass foxyshadis!
I might use this just to test it out.

Laters,
Merlin