FrameRepeat
From Avisynth wiki
(Difference between revisions)
(FrameRepeat: add documentation) |
(v1.02) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{FilterCat6|External_filters|Plugins|Plugins_x64|Adjustment_filters|Range_Processing|Deep_color_tools}} |
[[Category:Plugins]] | [[Category:Plugins]] | ||
{{Filter3 | {{Filter3 | ||
|1={{Author/StainlessS}} | |1={{Author/StainlessS}} | ||
| − | |2=v1. | + | |2=v1.02 |
| − | |3=[https://web.archive.org/web/ | + | |3=[https://web.archive.org/web/20221103173619if_/https://files.videohelp.com/u/223002/FrameRepeat_25_26_x86_x64_dll_v1-02_20221103.zip FrameRepeat_25_26_x86_x64_dll_v1-02_20221103.zip] |
|4=Frame Replacement / Range Processing | |4=Frame Replacement / Range Processing | ||
|5=[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | |5=[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
| Line 16: | Line 16: | ||
== Requirements == | == Requirements == | ||
* [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6] | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6] | ||
| + | * [x64]: [[AviSynth+]] | ||
* Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]] | * Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]] | ||
| + | ** AviSynth+: HBD colors supported | ||
<br> | <br> | ||
| − | * [https://www.microsoft.com/en-us/download/details.aspx?id=26368 Microsoft Visual C++ 2008 Redistributable Package (x86)] | + | * [https://www.microsoft.com/en-us/download/details.aspx?id=26368 Microsoft Visual C++ 2008 Redistributable Package (x86 / x64)] |
| − | :<span style="color:red">***</span> <tt>vcredist_x86.exe</tt> is required for <tt> | + | :<span style="color:red">***</span> <tt>vcredist_x86.exe</tt> is required for <tt>Prune-x86</tt> |
| + | :<span style="color:red">***</span> <tt>vcredist_x64.exe</tt> is required for <tt>Prune-x64</tt> | ||
<br> | <br> | ||
| Line 77: | Line 80: | ||
v1.0, 7 June 2013. Initial version. | v1.0, 7 June 2013. Initial version. | ||
v1.01, 31 Mar 2015. Recomile v2.6 dll with Avisynth Version 6 Header. | v1.01, 31 Mar 2015. Recomile v2.6 dll with Avisynth Version 6 Header. | ||
| + | v1.02, 02 Nov 2022. Add x64 compile + version resource. HBD capable for SHOW and VER Subtitles. | ||
</pre> | </pre> | ||
<br> | <br> | ||
| Line 86: | Line 90: | ||
!!width="200px"| Download | !!width="200px"| Download | ||
!!width="200px"| Mirror | !!width="200px"| Mirror | ||
| + | |- | ||
| + | !v1.02 | ||
| + | |[https://web.archive.org/web/20221103173619if_/https://files.videohelp.com/u/223002/FrameRepeat_25_26_x86_x64_dll_v1-02_20221103.zip FrameRepeat_25_26_x86_x64_dll_v1-02_20221103.zip] | ||
| + | |[https://www.mediafire.com/file/ngibp5etmsqv73z/FrameRepeat_25%252626_x86_x64_dll_v1-02_20221103.zip/file FrameRepeat_25&26_dll_v1-01_20150331.zip] | ||
|- | |- | ||
!v1.01 | !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] | |[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] | ||
| − | | | + | | |
|} | |} | ||
<br> | <br> | ||
Latest revision as of 18:51, 3 November 2022
| Abstract | |
|---|---|
| Author | StainlessS |
| Version | v1.02 |
| Download | FrameRepeat_25_26_x86_x64_dll_v1-02_20221103.zip |
| Category | Frame Replacement / Range Processing |
| License | GPLv2 |
| Discussion | Doom9 Forum |
Contents |
[edit] Description
FrameRepeat() is a simple plugin to select frames to repeat.
[edit] Requirements
- [x86]: AviSynth+ or AviSynth 2.6
- [x64]: AviSynth+
- Supported color formats: RGB24, RGB32, YUY2, Y8, YV12, YV16, YV24, YV411
- AviSynth+: HBD colors supported
- *** vcredist_x86.exe is required for Prune-x86
- *** vcredist_x64.exe is required for Prune-x64
[edit] 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.
[edit] Examples
[edit] Changelog
v1.0, 7 June 2013. Initial version. v1.01, 31 Mar 2015. Recomile v2.6 dll with Avisynth Version 6 Header. v1.02, 02 Nov 2022. Add x64 compile + version resource. HBD capable for SHOW and VER Subtitles.
[edit] Archived Downloads
| Version | Download | Mirror |
|---|---|---|
| v1.02 | FrameRepeat_25_26_x86_x64_dll_v1-02_20221103.zip | FrameRepeat_25&26_dll_v1-01_20150331.zip |
| v1.01 | FrameRepeat_25_26_dll_v1-01_20150331.zip |
[edit] External Links
Back to External Filters ←