SCXvidMask: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m add x64 category
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Other_Filters|Scene Change Detection}}
{{FilterCat5|External_filters|Plugins|Plugins_x64|Other_filters|Scene_change_detection}}
[[Category:Plugins]]
{{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.
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://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6.0 Alpha5] or later
* [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
* x64 version requires [http://forum.doom9.org/showthread.php?t=168856 AviSynth+ r1576] or later
:- Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
<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>
<br>
:- [http://www.microsoft.com/en-us/download/details.aspx?id=30679 Microsoft Visual C++ 2012 Redistributable Package]


== [[Script variables|Syntax and Parameters]] ==
== [[Script variables|Syntax and Parameters]] ==
Line 24: Line 27:
<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 57: 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>
<br>
-----------------------------------------------
-----------------------------------------------
'''Back to [[External_filters#Scene_Change_Detection|External Filters]] &larr;'''
'''Back to [[External_filters#Scene_Change_Detection|External Filters]] &larr;'''

Latest revision as of 22:02, 16 March 2020

Abstract
Author tp7
Version v1.0
Download SCXvidMask-x86.zip

SCXvidMask-x64.zip

Category Scene Change Detection
License MIT but binaries are GPLv2
Discussion


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.

Requirements


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


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.


int  offset = 0
Offset in frames (10 means frame 0 in the log will be considered frame 10 in the video).


bool  strict = false
Error if an unknown frame outside of range is requested (unusable with offset != 0).


Examples

SCXvidMask with default settings:

AviSource("blah.avi")
SCXvidMask(path="SCXvid.log", offset=0, strict=false)


Changelog

Version      Date            Changes
v1.0 03/04/2014 - public release.


Archived Downloads

Version Download Source Code
v1.0 SCXvidMask-x86.zip

SCXvidMask-x64.zip

1.0.zip


  • GitHub - Source code repository.




Back to External Filters