FrameRepeat
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) m (added category) |
(FrameRepeat: add documentation) |
||
| Line 1: | Line 1: | ||
| − | + | {{FilterCat4|External_filters|Plugins|Adjustment_filters|Range_Processing}} | |
| − | {{ | + | [[Category:Plugins]] |
| + | {{Filter3 | ||
| + | |1={{Author/StainlessS}} | ||
| + | |2=v1.01 | ||
| + | |3=[https://web.archive.org/web/20200526150602if_/https://files.videohelp.com/u/223002/FrameRepeat_25_26_dll_v1-01_20150331.zip FrameRepeat_25_26_dll_v1-01_20150331.zip] | ||
| + | |4=Frame Replacement / Range Processing | ||
| + | |5=[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
| + | |6=[https://forum.doom9.org/showthread.php?t=168047 Doom9 Forum] | ||
| + | }} | ||
| + | <br> | ||
| + | == Description == | ||
| + | FrameRepeat() is a simple plugin to select frames to repeat. | ||
| + | <br> | ||
| + | <br> | ||
| + | == Requirements == | ||
| + | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6] | ||
| + | * Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]] | ||
| + | <br> | ||
| + | * [https://www.microsoft.com/en-us/download/details.aspx?id=26368 Microsoft Visual C++ 2008 Redistributable Package (x86)] | ||
| + | :<span style="color:red">***</span> <tt>vcredist_x86.exe</tt> is required for <tt>FrameRepeat-x86</tt> | ||
| + | <br> | ||
| + | |||
| + | == [[Script variables|Syntax and Parameters]] == | ||
| + | <pre> | ||
| + | FrameRepeat(Clip,int "default",string "Cmd", bool "Show", bool "Ver") | ||
| + | |||
| + | Compulsory args: | ||
| + | |||
| + | Clip, No Default, source clip. | ||
| + | |||
| + | Optional args: | ||
| + | |||
| + | default, int, default=0. The default repeat count for frames not mentioned in command file. | ||
| + | Default =0, is, frames not mentioned in Cmd command file are excluded (repeated 0 times, ie not output at all). | ||
| + | |||
| + | Cmd, string, Default= "", Not set. | ||
| + | Command file, frame numbers supplied in a file. Use eg "Repeat.txt" for command file in your script directory. | ||
| + | |||
| + | Show bool, Default= false. | ||
| + | true = Show info. | ||
| + | |||
| + | ver bool, Default=false. | ||
| + | true = Show version. | ||
| + | |||
| + | |||
| + | The 'Cmd' Command file allows one command per line and can contain comments eg: | ||
| + | |||
| + | #------------- # below contents of a text file eg "Repeat.txt". | ||
| + | 1 1 # This is a comment. Output frame 1 once. | ||
| + | 2 # Single frame number without a repeat count, outputs frame only once, equivalent to 2 1. | ||
| + | 3,2 # Can also use ',' COMMA rather than SPACE as a number separator. Outputs frame 3 twice. | ||
| + | 5,3 # Output frame 5, 3 times. | ||
| + | #------------- | ||
| + | |||
| + | Given a 6 frame clip (frames 0 -> 5) | ||
| + | |||
| + | FrameRepeat(clip,default=0,cmd="Repeat.txt") # would produce this sequence "1,2,3,3,5,5,5". | ||
| + | |||
| + | FrameRepeat(clip,default=1,cmd="Repeat.txt") # would produce this sequence "0,1,2,3,3,4,5,5,5". | ||
| + | |||
| + | FrameRepeat(clip,default=2,cmd="Repeat.txt") # would produce this sequence "0,0,1,2,3,3,4,4,5,5,5". | ||
| + | |||
| + | FrameRepeat(clip,default=3) # would produce this sequence "0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5". | ||
| + | # Note, above without a command file. | ||
| + | |||
| + | Where a frame number and repeat count is mentioned more than once in file, the last one will override earlier ones. | ||
| + | </pre> | ||
| + | <br> | ||
| + | |||
| + | == Examples == | ||
| + | [[TODO]] | ||
| + | <br> | ||
| + | <br> | ||
| + | == Changelog == | ||
| + | <pre> | ||
| + | v1.0, 7 June 2013. Initial version. | ||
| + | v1.01, 31 Mar 2015. Recomile v2.6 dll with Avisynth Version 6 Header. | ||
| + | </pre> | ||
| + | <br> | ||
| + | |||
| + | == Archived Downloads == | ||
| + | {| class="wikitable" border="1"; width="500px" | ||
| + | |- | ||
| + | !!width="100px"| Version | ||
| + | !!width="200px"| Download | ||
| + | !!width="200px"| Mirror | ||
| + | |- | ||
| + | !v1.01 | ||
| + | |[https://web.archive.org/web/20200526150602if_/https://files.videohelp.com/u/223002/FrameRepeat_25_26_dll_v1-01_20150331.zip FrameRepeat_25_26_dll_v1-01_20150331.zip] | ||
| + | |[http://www.mediafire.com/file/66y6e9169q1bac1/FrameRepeat_25%252626_dll_v1-01_20150331.zip/file FrameRepeat_25&26_dll_v1-01_20150331.zip] | ||
| + | |} | ||
| + | <br> | ||
| + | == External Links == | ||
| + | <br> | ||
| + | <br> | ||
| + | ----------------------------------------------- | ||
| + | '''Back to [[External_filters#Frame_Replacement/Range_Processing|External Filters]] ←''' | ||
| + | ----------------------------------------------- | ||
Revision as of 16:11, 26 May 2020
| Abstract | |
|---|---|
| Author | StainlessS |
| Version | v1.01 |
| Download | FrameRepeat_25_26_dll_v1-01_20150331.zip |
| Category | Frame Replacement / Range Processing |
| License | GPLv2 |
| Discussion | Doom9 Forum |
Contents |
Description
FrameRepeat() is a simple plugin to select frames to repeat.
Requirements
- [x86]: AviSynth+ or AviSynth 2.6
- Supported color formats: RGB24, RGB32, YUY2, Y8, YV12, YV16, YV24, YV411
- *** vcredist_x86.exe is required for FrameRepeat-x86
Syntax and Parameters
FrameRepeat(Clip,int "default",string "Cmd", bool "Show", bool "Ver")
Compulsory args:
Clip, No Default, source clip.
Optional args:
default, int, default=0. The default repeat count for frames not mentioned in command file.
Default =0, is, frames not mentioned in Cmd command file are excluded (repeated 0 times, ie not output at all).
Cmd, string, Default= "", Not set.
Command file, frame numbers supplied in a file. Use eg "Repeat.txt" for command file in your script directory.
Show bool, Default= false.
true = Show info.
ver bool, Default=false.
true = Show version.
The 'Cmd' Command file allows one command per line and can contain comments eg:
#------------- # below contents of a text file eg "Repeat.txt".
1 1 # This is a comment. Output frame 1 once.
2 # Single frame number without a repeat count, outputs frame only once, equivalent to 2 1.
3,2 # Can also use ',' COMMA rather than SPACE as a number separator. Outputs frame 3 twice.
5,3 # Output frame 5, 3 times.
#-------------
Given a 6 frame clip (frames 0 -> 5)
FrameRepeat(clip,default=0,cmd="Repeat.txt") # would produce this sequence "1,2,3,3,5,5,5".
FrameRepeat(clip,default=1,cmd="Repeat.txt") # would produce this sequence "0,1,2,3,3,4,5,5,5".
FrameRepeat(clip,default=2,cmd="Repeat.txt") # would produce this sequence "0,0,1,2,3,3,4,4,5,5,5".
FrameRepeat(clip,default=3) # would produce this sequence "0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5".
# Note, above without a command file.
Where a frame number and repeat count is mentioned more than once in file, the last one will override earlier ones.
Examples
Changelog
v1.0, 7 June 2013. Initial version. v1.01, 31 Mar 2015. Recomile v2.6 dll with Avisynth Version 6 Header.
Archived Downloads
| Version | Download | Mirror |
|---|---|---|
| v1.01 | FrameRepeat_25_26_dll_v1-01_20150331.zip | FrameRepeat_25&26_dll_v1-01_20150331.zip |
External Links
Back to External Filters ←