Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tophf/avspmod-macros

Macros for AvsPmod
https://github.com/tophf/avspmod-macros

avisynth avspmod macros python

Last synced: 2 days ago
JSON representation

Macros for AvsPmod

Awesome Lists containing this project

README

        

# I. rfs-scene.
##### Effort saving companion for per-scene filtering with [rfs()](http://forum.doom9.org/showpost.php?p=1644971&postcount=28 RemapFrames) avisynth plugin.
Requires you to load video scenecuts as bookmarks first.
Use [SCXvid](http://ivtc.vapoursynth.com/yatta%20support/) avisynth plugin or xvid 1st pass (works in VirtualDub too) to generate the log and then load it in AvsPmod via 'macros->import bookmarks from file' macro.

1. [**rfs-scene**](rfs-scene/rfs-scene.py): inserts current scene frame span at cursor position
2. [**rfs-scene1**](rfs-scene/rfs-scene1.py): insert current scene frame span in a comment-tagged *rfs(filter(), "[frames]")* ***#1***

Nine macros are provided, each looks for a corresponding comment tag: [#2](rfs-scene/rfs-scene2.py), [#3](rfs-scene/rfs-scene3.py), [#4](rfs-scene/rfs-scene4.py), [#5](rfs-scene/rfs-scene5.py), [#6](rfs-scene/rfs-scene6.py), [#7](rfs-scene/rfs-scene7.py), [#8](rfs-scene/rfs-scene8.py), [#9](rfs-scene/rfs-scene9.py).

Just assign handy hotkeys for as many macros from this set you would need, like Alt-1, Alt-2, Alt-3, etc or whatever you prefer.
3. [**find RFS for current frame**](rfs-scene/find%20RFS%20for%20current%20frame.py): finds a frame span that includes the current video frame and selects it.

You may want to assign e.g. Alt-F3 for convenience.

# II. Frame number

1. [**GoToFrameNumberUnderCursor**](GoToFrameNumberUnderCursor.py)
2. [**InsertFrameNumberAndSpace**](InsertFrameNumberAndSpace.py) - useful for [rfs()](http://forum.doom9.org/showpost.php?p=1644971&postcount=28 RemapFrames)
3. [**FrameNumberToClipboard**](FrameNumberToClipboard.py) - copies currently shown frame number to clipboard

# III. Color

1. [**InsertPixelColor**](InsertPixelColor.py) - useful for multiple color masks (see [tp7/colormask](https://github.com/tp7/tcolormask)): point anywhere in the video and invoke the macro

## Assign keyboard shortcuts to the macros!