OpenFX plug-ins
An OpenFX plug-in is an effect that a video application loads by itself: it appears in its effects library and works on the timeline like any other. ISF Studio exports shaders and pipelines in this format, so that an effect built here can be used in DaVinci Resolve, Natron and the other applications that load OpenFX plug-ins. What has been tried, and where, is said in Tested with. Some plug-ins built with ISF Studio are offered ready to install on the Resources page.
Export a plug-in
- Select what you want to deliver in the explorer: shaders, pipelines,
.istshaderbundles, or a folder that holds some. - Right-click and choose Export, OFX Plug-in…, or use File, Export, OFX Plug-in… to export the whole opened library.
- Name the plug-in, tick the effects it holds, choose the platforms, and press Export.
notarytool, from Xcode or its Command Line Tools) and an Apple Developer account. The signature for this Mac only needs nothing installed.A pipeline must have been saved at least once: the plug-in is made from the shader the pipeline compiles to. A document that is not a valid ISF shader is left out of the list, with the reason.
The dialog
| Setting | What it does |
|---|---|
| Name of the plug-in | The name of the bundle: Name.ofx.bundle. |
| Effects | The documents that go in, 2048 at most. Each one appears in the host under its own name. A bundle holds 512 effects: a bigger plug-in is split into several bundles (Name 1, Name 2…) that the host lists in one section named after the plug-in. See Big plug-ins. |
| For | The platforms to build for. Each platform gets a bundle of its own, with the binaries for its processors (Apple silicon and Intel in one, Windows and Linux for x64 and Arm). |
| Install on this computer | Puts the plug-in of this computer's system where the host looks for it. The system asks for the administrator password. |
| Make an installer | Delivers an installer in place of the bare bundle, to send to whoever uses the plug-in: a .pkg for macOS, a .deb for Linux. There is none for Windows: its bundle is delivered as it is. Only with a license that releases plug-ins (see Watermark and Publisher). See Installers. |
| macOS signature | Signs the plug-in: with a Developer ID certificate when there is one, for this Mac only otherwise. Notarize with Apple makes a plug-in that opens on any Mac without a warning; it needs a notarytool keychain profile and takes a few minutes: Cancel Export stops the wait, and the form comes back. |
Platforms that are not installed, or whose runtime is missing, are greyed out with the reason. The bundles for other platforms go to a folder you choose. Nothing is replaced in it without your agreement.
Tested with
An OpenFX plug-in is meant to load in any host that follows the standard, but each host has its own limits (the contexts it supports, how it renders in parallel). This is what has been tried:
| Host | macOS | Windows | Linux |
|---|---|---|---|
| DaVinci Resolve Studio | Tested | Not tested | Not tested |
| Natron | Tested | Not tested | Tested |
| Fusion Studio, Nuke, Vegas and others | Not tested | Not tested | Not tested |
The plug-ins for Windows are built, but have not been loaded in a host yet; those for Linux have been loaded in Natron only. If you try one, tell us what happened: it is a report we want, whatever the result.
Big plug-ins
A bundle holds up to 512 effects. With more, the export makes several bundles, as even as can be, named Name 1.ofx.bundle, Name 2.ofx.bundle… and the host lists all their effects in the one section Name. The dialog says how many bundles it makes, and every platform gets the same ones.
- An installer holds them all: one
.pkgor.debputs every bundle in place at once. See Installers. - Install on this computer installs all of them, with one request for the administrator password.
- Notarizing (macOS) is done on the installer when there is one, and not on each bundle, which saves minutes.
- A runtime built before this version holds 64 effects. The export uses the smallest capacity of the platforms you check, so one old runtime makes bundles of 64 for all of them.
Installers
Whoever receives a bare bundle has to copy it into a folder that needs the administrator password. An installer does it for them, with every bundle of a big plug-in in one file.
| System | Installer | What it takes |
|---|---|---|
| macOS | Name.pkg, signed and, if you ticked Notarize with Apple, notarized | A Developer ID signature for the plug-in and a Developer ID Installer certificate in your keychain (a different certificate from the Application one, from the same Apple account). It is made on a Mac. |
| Linux | isf-ofx-name_<version>_all.deb | Nothing: it can be made on any computer. It is for Debian, Ubuntu and what comes from them; the distributions that use .rpm (Rocky, RHEL) get the bundle. |
| Windows | none | The bundle is delivered as it is, and copied by hand. |
The installer puts the plug-in in the folder of the table below, and an update replaces the earlier version: an effect that is no longer in it disappears. On Linux, the package manager can remove it. On macOS, an installer that is not notarized makes other Macs warn before they open it: ISF Studio tells you when that is the case.
Install on this computer works as before, with the bundle. Ticked together with Make an installer, the plug-in is installed here and the installer goes to the folder you choose.
Where plug-ins live
Hosts read OpenFX plug-ins from a folder of the system. Install on this computer puts the bundle there; for the other platforms, copy it yourself.
| System | Folder |
|---|---|
| macOS | /Library/OFX/Plugins |
| Windows | C:\Program Files\Common Files\OFX\Plugins |
| Linux | /usr/OFX/Plugins |
Restart the host application to see the effects. They are listed in a section named after the plug-in (the name you gave it in the export): a plug-in called ColorLab puts its effects in a ColorLab section.
What an effect becomes
An effect appears in the host according to the images it takes:
| The ISF shader has | The effect is |
|---|---|
| no image input | a generator |
an inputImage | a filter |
a startImage and an endImage | a transition, driven by the progress input |
Its inputs become parameters of the effect:
| ISF input | Parameter in the host |
|---|---|
float | A number with its range. |
long | A menu when it has VALUES and LABELS, a whole number otherwise. |
bool, event | A checkbox. |
color | A color. |
point2D | Two numbers from 0 to 1 (a position on the image). The shader receives them multiplied by the size of the picture, in pixels, as the ISF specification says. |
| images imported by the shader | Copied into the plug-in: it does not depend on your library. |
Multi-pass shaders, persistent buffers, buffers of a different size (WIDTH and HEIGHT of a pass, which may use $WIDTH, $HEIGHT and the numeric inputs) and vertex shaders are supported.
Good to know
- A shader that listens hears silence. An
audiooraudioFFTinput has nothing to listen to in a video application: the effect is made and runs, and its sound input is a black texture, so what reacts to the sound stays still. The notice at the end of the export lists the effects concerned. - Effects that keep what they drew (a pass with
PERSISTENT: feedback, trails, an attractor that draws itself over time) need the host to play the video in order: the effect says so to the host, which then renders in sequence. The first image the effect renders is its image 0 (FRAMEINDEXis 0, so a shader that starts itself there does), wherever the clip sits in the timeline, and the state starts again from zero when the host goes back in time. Moving about in the timeline gives another state than a render from the first image to the last: judge these effects in continuous playback, and render them from the start. TIMEcounts from the start of the effect, not from the start of the timeline: a clip placed at 01:00:00:00 seesTIMEstart at 0, as it does in ISF Studio. The start is the one the host gives the effect, or the first image it renders. A shader that multiplies the time (the frequency of a noise, of a warp) drifts further from what you drew the longer it runs: add the time instead.- Effects that change with the time (
TIME,TIMEDELTA,FRAMEINDEX,DATE) tell the host that their image changes from one image to the next even if no parameter does, so that it does not reuse an image it has already drawn. - A shader keeps the license of its author. ISF has no license field, so authors write it in the credit, in the description or in a comment of the code. When the export reads one that does not let a plug-in be sold (non-commercial, copyleft, share-alike, all rights reserved) or a shader that comes from Shadertoy, where CC BY-NC-SA is the default, the export dialog lists them under the effects, before anything is made (only for the effects that are ticked), and the notice at the end of the export repeats them: each line names the effect and the words it found. It is a hint, not a check: a shader that says nothing may still have a license, and Publisher covers your own work, not the rights of others.
- A font image carries a copy of a font's outlines. An effect that draws text with a font image delivers that copy inside the plug-in. When the font says it may not be embedded, the notice at the end of the export lists the effects concerned: deliver such a plug-in only with the license of the font.
- A position (
point2D) is in pixels in the host. See Positions below: ISF Studio does not convert it for you. - A graphics driver with OpenGL 3 or later is needed, as it is for ISF Studio's own preview.
- A plug-in is made from the documents as they are when you export: export it again after changing a shader.
Positions
In the host, a point2D input is a control from 0 to 1 on the image (0.5, 0.5 is the center). The plug-in gives the shader that value multiplied by the size of the picture: on a 1920 × 1080 picture, 0.5, 0.5 reaches the shader as 960, 540. This is the ISF convention for a position in pixels.
ISF Studio's own preview does not do it: it gives the shader the value as it is. So a shader made for ISF Studio, with a position or an offset in picture units (0.02, 0.3), does not look the same in a host: the value is multiplied by the picture's size, and the drawing ends up out of the frame, so that you only see the background. ISF Studio does not warn about it.
- A shader that expects pixels (an ISF shader written for other applications) works as it is. In the host, type the position as a fraction of the picture: 540 pixels on a 1080-pixel-high picture is
0.5, not540. - A shader that expects a position or an offset in picture units (most of the pipelines made in ISF Studio) has to use
floatinputs instead of apoint2D: afloatreaches the shader as it is, in the preview and in a host. Two floats (xandy) do the job of a position. In a pipeline, replace the position input by two number inputs. - Check before you deliver: open the plug-in in the host and move each position input. If the drawing leaves the frame as soon as the value is not 0, the shader does not expect pixels.
Watermark and Publisher
Without ISF Studio Publisher, an OpenFX plug-in carries the ISF Studio icon, in grey, over every image: a larger mark at the center and a grid of small ones across the frame. It leaves the image readable, so that you can try an effect in your editor, but it is not meant to be delivered.
ISF Studio Publisher exports the same plug-ins with no watermark, and licenses their release: you may distribute and sell the plug-ins you make. Each plug-in is sealed when you export it, with a key your license server gave to this computer, so the export works offline: the key holds 30 days, as long as the activation, and ISF Studio renews it by itself while the computer is online (at launch, and in the last week of the key). The first time, the computer must be online once, to receive the key. If the key has run out and the computer is offline, the export still succeeds, but the plug-in carries the watermark: connect, and export it again.
A seal is tied to the effects of the plug-in. Changing one of its shaders by hand, after the export, brings the watermark back.
See Pricing for what each edition includes.
If something does not work
- The effects do not appear. Restart the host, and check that the bundle is in the folder of the table above.
- macOS says the plug-in cannot be opened. A plug-in signed for this Mac only does not run on another one. Sign it with a Developer ID certificate and notarize it, or remove the quarantine with
xattr -dr com.apple.quarantine <the bundle>. - Make an installer is greyed out. It needs a platform that has one (macOS or Linux), a license that releases plug-ins, and, for macOS, a Developer ID signature and a Developer ID Installer certificate in the keychain. The line under it says which is missing.
- A platform is greyed out in the dialog. The runtime for that platform is not part of this build of ISF Studio.
- An effect is missing from the plug-in. It was left out of the list, with the reason under it: the file could not be read, or is not an ISF shader.