SCXvidMask
From Avisynth wiki
(Difference between revisions)
(SCXvidMask) |
m (add x64 category) |
||
(7 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat5|External_filters|Plugins|Plugins_x64|Other_filters|Scene_change_detection}} |
− | + | ||
{{Filter3 | {{Filter3 | ||
| {{Author/tp7}} | | {{Author/tp7}} | ||
Line 11: | Line 10: | ||
<br> | <br> | ||
== Description == | == Description == | ||
− | + | A tiny AviSynth plugin that reads an [[SCXvid]] log and creates a binary mask based on it. In other words it just sets all i frames to 255 and all others to 0.<br/> | |
<br> | <br> | ||
+ | |||
== Requirements == | == Requirements == | ||
− | + | * [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6.0] or greater | |
− | + | * x64 version requires [http://forum.doom9.org/showthread.php?t=168856 AviSynth+ r1576] or later | |
− | + | * Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]] | |
<br> | <br> | ||
+ | * [http://www.microsoft.com/en-us/download/details.aspx?id=30679 Microsoft Visual C++ 2012 Redistributable Package (x86 / x64)] | ||
+ | :<span style="color:red">***</span> <tt>vcredist_x86.exe</tt> is required for <tt>SCXvidMask-x86</tt> | ||
+ | :<span style="color:red">***</span> <tt>vcredist_x64.exe</tt> is required for <tt>SCXvidMask-x64</tt> | ||
+ | <br> | ||
+ | |||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
:{{Template:FuncDef|SCXvidMask (clip, string path, int "offset", bool "strict")}} | :{{Template:FuncDef|SCXvidMask (clip, string path, int "offset", bool "strict")}} | ||
<br> | <br> | ||
::{{Par2|path|string| }} | ::{{Par2|path|string| }} | ||
− | :::Path to the SCXvid log; path can be omitted if the log is in the same directory as the script. | + | :::Path to the SCXvid log; path can be omitted if the log is in the same directory as the ([[AVS|*.avs]]) script. |
<br> | <br> | ||
::{{Par2|offset|int|0}} | ::{{Par2|offset|int|0}} | ||
Line 55: | Line 60: | ||
== External Links == | == External Links == | ||
*[http://github.com/tp7/SCXvidMask GitHub] - Source code repository. | *[http://github.com/tp7/SCXvidMask GitHub] - Source code repository. | ||
− | |||
<br> | <br> | ||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[External_filters#Scene_Change_Detection|External Filters]] ←''' | '''Back to [[External_filters#Scene_Change_Detection|External Filters]] ←''' |
Latest revision as of 21:02, 16 March 2020
Abstract | |
---|---|
Author | tp7 |
Version | v1.0 |
Download | SCXvidMask-x86.zip |
Category | Scene Change Detection |
License | MIT but binaries are GPLv2 |
Discussion |
Contents |
[edit] Description
A tiny AviSynth plugin that reads an SCXvid log and creates a binary mask based on it. In other words it just sets all i frames to 255 and all others to 0.
[edit] Requirements
- AviSynth 2.6.0 or greater
- x64 version requires AviSynth+ r1576 or later
- Supported color formats: Y8, YV12, YV16, YV24, YV411
- *** vcredist_x86.exe is required for SCXvidMask-x86
- *** vcredist_x64.exe is required for SCXvidMask-x64
[edit] Syntax and Parameters
- SCXvidMask (clip, string path, int "offset", bool "strict")
- string path =
- Path to the SCXvid log; path can be omitted if the log is in the same directory as the (*.avs) script.
- string path =
- int offset = 0
- Offset in frames (10 means frame 0 in the log will be considered frame 10 in the video).
- int offset = 0
- bool strict = false
- Error if an unknown frame outside of range is requested (unusable with offset != 0).
- bool strict = false
[edit] Examples
SCXvidMask with default settings:
AviSource("blah.avi") SCXvidMask(path="SCXvid.log", offset=0, strict=false)
[edit] Changelog
Version Date Changes
v1.0 03/04/2014 - public release.
[edit] Archived Downloads
Version | Download | Source Code |
---|---|---|
v1.0 | SCXvidMask-x86.zip | 1.0.zip |
[edit] External Links
- GitHub - Source code repository.
Back to External Filters ←