FFAvisynth
Raffriff42 (Talk | contribs) m (link fix) |
Raffriff42 (Talk | contribs) m (spellcheck) |
||
(6 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
[[Category:External_filters]] | [[Category:External_filters]] | ||
[[Category:Plugins]] | [[Category:Plugins]] | ||
+ | [[Category:Audio_filters]] | ||
+ | [[Category:Multipurpose_Filters]] | ||
{{Filter3 | {{Filter3 | ||
| Milan Cutka | | Milan Cutka | ||
| 2012.03.28 | | 2012.03.28 | ||
| [https://sourceforge.net/projects/ffdshow-tryout/ sourceforge.net/ffdshow-tryout] (plugin is included in ffdshow package) | | [https://sourceforge.net/projects/ffdshow-tryout/ sourceforge.net/ffdshow-tryout] (plugin is included in ffdshow package) | ||
− | | [[:Category: | + | | [[:Category:Plugins|Plugins]] |
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | | [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
− | |6=}} | + | |6=[http://forum.doom9.org/showthread.php?t=85447 doom9.org]}} |
− | + | ||
− | + | ||
== Description == | == Description == | ||
− | A plugin which lets you directly use ffdshow | + | A plugin which lets you directly use [http://en.wikipedia.org/wiki/Ffdshow ffdshow] video and audio filters from AviSynth scripts. |
Just install '''ffdshow''' (with Avisynth support option checked), and the plugin ffavisynth.dll will be installed in your avisynth plugin folder. | Just install '''ffdshow''' (with Avisynth support option checked), and the plugin ffavisynth.dll will be installed in your avisynth plugin folder. | ||
In ffdshow-20051124.exe and more recent versions, ffavisynth filter uses the AviSynth C interface, and thus should be loaded using LoadCPlugin (or Load_StdCall_Plugin). Since 2007-10-30 ffavisynth.dll is loaded automatically by AviSynth (with ffavisynth.avsi). | In ffdshow-20051124.exe and more recent versions, ffavisynth filter uses the AviSynth C interface, and thus should be loaded using LoadCPlugin (or Load_StdCall_Plugin). Since 2007-10-30 ffavisynth.dll is loaded automatically by AviSynth (with ffavisynth.avsi). | ||
+ | |||
+ | YV12, YUY2, and RGB colorspaces are supported. Input and output colorspaces are equal. Even if ffdshow image processing filter chain would produce image with different colorspace, it will be converted to match that on input. | ||
== Syntax and Parameters == | == Syntax and Parameters == | ||
− | + | video: {{Template:FuncDef|ffdshow(clip, string "preset", string "options")}} | |
− | video | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | :{{Template:FuncDef|ffdshow(clip, string "preset", string "options")}} | + | |
− | audio | + | audio: {{Template:FuncDef|ffdshowAudio(clip, string "preset", string "options")}} |
− | :{{Template:FuncDef|ffdshowAudio(clip, string "preset", string "options")}} | + | |
− | + | ||
::{{Par2| |clip| }} | ::{{Par2| |clip| }} | ||
:::Input clip. | :::Input clip. | ||
Line 76: | Line 67: | ||
which will load preset, modify given values and process video. | which will load preset, modify given values and process video. | ||
− | |||
− | |||
Latest revision as of 13:31, 7 December 2015
Abstract | |
---|---|
Author | Milan Cutka |
Version | 2012.03.28 |
Download | sourceforge.net/ffdshow-tryout (plugin is included in ffdshow package) |
Category | Plugins |
License | GPLv2 |
Discussion | doom9.org |
[edit] Description
A plugin which lets you directly use ffdshow video and audio filters from AviSynth scripts.
Just install ffdshow (with Avisynth support option checked), and the plugin ffavisynth.dll will be installed in your avisynth plugin folder.
In ffdshow-20051124.exe and more recent versions, ffavisynth filter uses the AviSynth C interface, and thus should be loaded using LoadCPlugin (or Load_StdCall_Plugin). Since 2007-10-30 ffavisynth.dll is loaded automatically by AviSynth (with ffavisynth.avsi).
YV12, YUY2, and RGB colorspaces are supported. Input and output colorspaces are equal. Even if ffdshow image processing filter chain would produce image with different colorspace, it will be converted to match that on input.
[edit] Syntax and Parameters
video: ffdshow(clip, string "preset", string "options")
audio: ffdshowAudio(clip, string "preset", string "options")
- clip =
- Input clip.
- clip =
- string preset =
- existing ffdshow preset to be used.
- string preset =
- string options =
- array of "name=value" pairs separated by commas (without spaces for revisions older 2007-10-30).
- string options =
Both parameters are optional. If preset is not specified, a new preset called "ffavisynth" is created temporarily. Options override preset settings. List of allowed options names and values should be documented once, but for now look at registry key HKEY_CURRENT_USER\Software\GNU\ffdshow\default to get the list.
[edit] Examples:
Use the current ffdshow settings:
AviSource("E:\testi.avi") ffdshow("default")
Or create a new preset by hitting the new button (under 'Image settings'), rename it by clicking twice on "default 1" or what the new one is named and change its settings to your liking, then use
AviSource("E:\testi.avi") ffdshow("<name of your new preset>")
Try to append this:
AviSource("E:\testi.avi") ffdshow(options="isLevels=1,levelsMode=0,levelsGamma=1500")
to your script. If it would work, the effect should be very visible.
Another example using a created preset:
AviSource("E:\testi.avi") # denoise is a created preset: ffdshow(preset="denoise")
and you can combine both
AviSource("E:\testi.avi") ffdshow(preset="denoise", options="isLevels=1,levelsMode=0,levelsGamma=1500")
which will load preset, modify given values and process video.
Adapted from ffavisynth.htm
$Date: 2007/11/21 18:02:03 $