SalFPS3
From Avisynth wiki
(Difference between revisions)
(correct download link) |
(reformat and add some things) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat4|External_filters|Scripts|Adjustment_filters|Frame_Rate_Conversion}} |
− | + | {{Filter3 | |
− | | | + | |Mug Funky, Didée |
− | + | |3.0 | |
+ | |[[Media:salFPS3.avs|salFPS3.avs]] | ||
+ | |Frame Rate Converters | ||
+ | | | ||
+ | |6=[http://forum.doom9.org/showthread.php?p=987212#post987212 Doom9 Thread]}} | ||
− | == | + | == Description == |
− | A modded version of MotionProtectedFPS for | + | A modded version of MotionProtectedFPS for extra protection. Originally created by Mug Funky, modded by Didée. |
− | == | + | <br> |
+ | <br> | ||
+ | == Requirements == | ||
+ | * [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or later | ||
+ | * [[Progressive]] input only | ||
+ | * Supported color formats: [[YV12]] | ||
+ | === Required Plugins === | ||
* [[MaskTools2]] | * [[MaskTools2]] | ||
− | * [[Motion]] | + | * [[Motion]] | [http://wilbertdijkhof.com/mg262/Motion_v10.zip Motion_v10.zip] |
− | + | <br> | |
− | == | + | == [[Script variables|Syntax and Parameters]] == |
− | + | :{{Template:FuncDef|salFPS3 (clip input, float FPS, int "mode", int "protection", int "protection2", int "iterate", int "reset", int "initialise") }} | |
− | + | <br> | |
− | {{ | + | ::{{Par2|input|clip| }} |
− | + | :::Input clip to be converted. | |
− | + | <br> | |
− | {{ | + | ::{{Par2|FPS|float| }} |
− | The FPS to be converted to. | + | :::The FPS to be converted to, this value is not optional so it must be specified. |
− | + | <br> | |
− | {{ | + | :::{{Par2|mode|int|warp}} |
− | + | :::Modes: | |
− | + | :::*<code>move</code> : construct new frame by moving blocks | |
− | {{ | + | :::*<code>warpfast</code> : construct new frame by stretching blocks |
− | + | :::*<code>warp</code> : construct new frame by stretching blocks; more accurate than warpfast | |
− | + | <br> | |
− | {{ | + | ::{{Par2|protection|int|80}} |
− | + | :::<tt>multiplier</tt> value for <tt>SumStretchFPSMask</tt>. | |
− | + | <br> | |
− | {{ | + | ::{{Par2|protection2|int|20}} |
− | + | :::<tt>thY1</tt> value for <tt>mt_edge</tt>; low threshold, if the pixel value is less than thY1, the pixel is set to 0. | |
− | + | <br> | |
− | {{ | + | ::{{Par2|interate|int|2}} |
− | + | :::<tt>iterate</tt> value for <tt>FindMotion</tt>. | |
− | + | <br> | |
− | {{ | + | ::{{Par2|reset|int|50}} |
− | + | :::<tt>reset</tt> value for <tt>FindMotion</tt>. | |
− | + | :::*<code>reset=0</code> : motion estimation always uses estimated motion vectors for the previous frame, which forces linear access. | |
− | == | + | :::*<code>reset=50</code> : motion vectors are calculated from scratch every 50 frames, allowing seeking. Lower values will allow faster seeking. |
− | + | <br> | |
− | + | ::{{Par2|initialise|int|6}} | |
− | + | :::<tt>initialise</tt> value for <tt>FindMotion</tt>; higher values increase the accuracy of vectors calculated from scratch, at the cost of increased calculation time. | |
− | + | <br> | |
− | + | == Examples == | |
− | + | Change frame rate to 23.976: | |
− | + | [[AviSource]]("blah.avi")<br> | |
− | + | fps = 24000.0/1001.0 | |
− | + | salFPS3(fps) | |
− | + | <br> | |
− | + | ==External Links == | |
− | + | *Download [[Media: salFPS3.avs|salFPS3.avs]] : Current Version (recommended). <br> | |
− | + | *Download [[Media: salFPS.avs|salFPS.avs]] : Original Version. | |
− | + | <br> | |
− | + | <br> | |
− | + | ----------------------------------------------- | |
− | + | '''Back to [[External_filters#Frame_Rate_Conversion|External Filters]] ←''' | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | < | + | |
− | == Links == | + | |
− | Download [[Media: salFPS3.avs|salFPS3.avs]] : Current Version (recommended). <br> | + | |
− | Download [[Media: salFPS.avs|salFPS.avs]] : Original Version. | + | |
− | + | ||
− | [[ | + |
Revision as of 16:15, 8 March 2015
Abstract | |
---|---|
Author | Mug Funky, Didée |
Version | 3.0 |
Download | salFPS3.avs |
Category | Frame Rate Converters |
License | |
Discussion | Doom9 Thread |
Contents |
Description
A modded version of MotionProtectedFPS for extra protection. Originally created by Mug Funky, modded by Didée.
Requirements
- AviSynth 2.6.0 Alpha5 or later
- Progressive input only
- Supported color formats: YV12
Required Plugins
Syntax and Parameters
- salFPS3 (clip input, float FPS, int "mode", int "protection", int "protection2", int "iterate", int "reset", int "initialise")
- clip input =
- Input clip to be converted.
- clip input =
- float FPS =
- The FPS to be converted to, this value is not optional so it must be specified.
- float FPS =
- int mode = warp
- Modes:
move
: construct new frame by moving blockswarpfast
: construct new frame by stretching blockswarp
: construct new frame by stretching blocks; more accurate than warpfast
- int mode = warp
- int protection = 80
- multiplier value for SumStretchFPSMask.
- int protection = 80
- int protection2 = 20
- thY1 value for mt_edge; low threshold, if the pixel value is less than thY1, the pixel is set to 0.
- int protection2 = 20
- int interate = 2
- iterate value for FindMotion.
- int interate = 2
- int reset = 50
- reset value for FindMotion.
reset=0
: motion estimation always uses estimated motion vectors for the previous frame, which forces linear access.reset=50
: motion vectors are calculated from scratch every 50 frames, allowing seeking. Lower values will allow faster seeking.
- reset value for FindMotion.
- int reset = 50
- int initialise = 6
- initialise value for FindMotion; higher values increase the accuracy of vectors calculated from scratch, at the cost of increased calculation time.
- int initialise = 6
Examples
Change frame rate to 23.976:
AviSource("blah.avi")
fps = 24000.0/1001.0 salFPS3(fps)
External Links
- Download salFPS3.avs : Current Version (recommended).
- Download salFPS.avs : Original Version.
Back to External Filters ←