FFAvisynth

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (line break)
m (spellcheck)
 
(3 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  
Line 7: Line 9:
 
| [[:Category:Plugins|Plugins]]
 
| [[: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 image processing filters from AviSynth scripts.
+
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.
Line 19: Line 21:
  
 
== Syntax and Parameters ==
 
== Syntax and Parameters ==
<!--
+
video: {{Template:FuncDef|ffdshow(clip, string "preset", string "options")}}
video: <tt>ffdshow</tt> (clip, string ''"preset"'', string ''"options"'')
+
  
audio: <tt>ffdshowAudio</tt> (clip, string ''"preset"'', string ''"options"'')
+
audio: {{Template:FuncDef|ffdshowAudio(clip, string "preset", string "options")}}
 
+
''preset'' - existing ffdshow preset to be used
+
 
+
''options'' - array of "name=value" pairs separated by commas (without spaces for revisions older 2007-10-30)
+
-->
+
video:
+
:{{Template:FuncDef|ffdshow(clip, string "preset", string "options")}}
+
 
+
audio:
+
:{{Template:FuncDef|ffdshowAudio(clip, string "preset", string "options")}}
+
<br>
+
 
::{{Par2| |clip| }}
 
::{{Par2| |clip| }}
 
:::Input clip.
 
:::Input clip.

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.
string  preset =
existing ffdshow preset to be used.
string  options =
array of "name=value" pairs separated by commas (without spaces for revisions older 2007-10-30).

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 $

Personal tools