View Single Post
Old 28th September 2005, 12:42   #14  |  Link
eMotionEstimation
Registered User
 
Join Date: Aug 2003
Posts: 18
Avisynth Filter

Hello everyone!

I wrote a little Avisynth Filter that takes care of the too big scale and rate problem.

The filter's function name is "NiceFPS(int x)". x is the maximum new scale (by default 5000) that the function is allowed to use for approximating the original FPS. It chooses the new rate and scale in a way that the resulting rate/scale is as close (or equal) to the original FPS as possible. Do not set x too high - the default value is good enough and the new FPS is most of the time 1/1.000.000 or less away from the original fps. So you WON'T notice any sync issues.

example AVS-Script:
-----------------------
loadplugin("nicefps.dll")
avisource("movie.avi")
...
nicefps()
-----------------------

I hope you'll find this little filter useful. Feedback is welcome.

Wishes, Chris
Attached Files
File Type: zip NiceFPS.zip (29.1 KB, 834 views)
__________________
entropy is always a matter of context

Last edited by eMotionEstimation; 29th September 2005 at 18:36.
eMotionEstimation is offline   Reply With Quote