Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
26th September 2009, 20:16 | #1 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Guide on using AviSynth filters in StaxRip
It's frequently asked how to use AviSynth filters in StaxRip so I wrote small guide you can see below.
Opening the AviSynth plugin directory One of the first steps is likely to put a AviSynth plugin DLL to the AviSynth plugin directory. The plugin directory can be opened (meaning showing a explorer window) directly from StaxRip's main menu under 'Tools/Directories/Plugins' (you can also open the source/target file directory and several other important directories from this menu). If you run Vista or higher you will see a UAC prompt trying to copy files. It's possible to move the plugin directory to your home directory editing the following registry key: Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth] "plugindir2_5"="c:\\program files\\avisynth 2.5\\plugins" Creating a filter profile Once the DLL was copied to the plugin directory the most common task is to create a filter profile. To edit the filter profiles right-click the filters list and select 'Profiles...' from the context menu. A window shows the filter profile definitions in INI format. While the INI format is dated it's perfectly suited to define filter profiles. A INI section defined within brackets defines the category to which a filter belongs: Code:
[category name] Code:
filter profile name = filter profile code Code:
MPEG-2 = MPEG2Source("%source_file%") Code:
Yadif = LoadCplugin("%application:Yadif%") Yadif() Code:
Yadif = LoadCplugin("%application:Yadif%")%newline%Yadif() The filter list has check boxes to enable/disable filters. The filter order can be changed with drag & drop. To replace a filter it can be right-clicked, the context menu will show all filters of the same category. To replace it with a filter of another category choose 'Replace'. 'Insert' inserts a filter pushing the selected filter below and 'Add' inserts a filter at the end. 'Edit' shows the filter list in a new window with some additional features. Double-clicking a filter edits the clicked filter. Filter Setup Profiles While a filter profile represents a part of a AviSynth script a filter setup profile represents the entire scripts. Changing the filter setups of project templates Frequently used filter setups can be saved in project templates, like the default project template loaded at startup so the filter setup don't has to be changed everytime. Project templates are saved from the main menu under 'Project/Save As Template'. Importing a AviSynth script It's possible to use a AviSynth script as source file. StaxRip will simply import the script in the source filter. Scripts shouldn't however contain a return statement as it would disables a few StaxRip features since filters below would be ignored.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 26th December 2009 at 13:22. |
|
|