FrameRepeat: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Raffriff42 (talk | contribs)
redirect for convenient searching ** TODO: category?
 
v1.02
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[External_filters#Frame_Replacement.2FRange_Processing]]
{{FilterCat6|External_filters|Plugins|Plugins_x64|Adjustment_filters|Range_Processing|Deep_color_tools}}
{{FilterCat|External_filters|Adjustment_filters|TODO}}
[[Category:Plugins]]
{{Filter3
|1={{Author/StainlessS}}
|2=v1.02
|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
|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]
* [x64]: [[AviSynth+]]
* Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
** AviSynth+: HBD colors supported
<br>
* [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>Prune-x86</tt>
:<span style="color:red">***</span> <tt>vcredist_x64.exe</tt> is required for <tt>Prune-x64</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.
v1.02, 02 Nov 2022. Add x64 compile + version resource. HBD capable for SHOW and VER Subtitles.
</pre>
<br>
 
== Archived Downloads ==
{| class="wikitable" border="1"; width="500px"
|-
!!width="100px"| Version
!!width="200px"| Download
!!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
|[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>
== External Links ==
<br>
<br>
-----------------------------------------------
'''Back to [[External_filters#Frame_Replacement/Range_Processing|External Filters]] &larr;'''
-----------------------------------------------

Latest revision as of 19: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


Description

FrameRepeat() is a simple plugin to select frames to repeat.

Requirements


*** vcredist_x86.exe is required for Prune-x86
*** vcredist_x64.exe is required for Prune-x64


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

TODO

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.


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





Back to External Filters