Sharing video with other apps
The Minima desktop app can share graphics with other apps on the same computer: a patch can show what another app sends, and a preview’s graphics can go out to other apps. On Windows this works through Spout, which apps such as Resolume, TouchDesigner, OBS and many game engines support; on macOS through Syphon, which apps such as VDMX, Resolume, MadMapper, TouchDesigner and OBS support. Both stay on your computer: they use no network, and nothing you share through them leaves the computer or reaches Minima.
The desktop app can also receive video and sound over NDI® from other apps and devices on your local network (Receiving NDI), and publish a preview to them (Publishing a preview to NDI).
Spout runs in the desktop app on Windows only, and Syphon in the desktop app on macOS only. On other systems, in the browser and in the phone apps, a patch that reads a Spout or Syphon source shows an empty picture, and its row says it is not supported there.
Receiving a Spout source
Section titled “Receiving a Spout source”A patch reads a Spout source with spoutTexture, such as spoutTexture(0) for the first one. When you play it, the preview shows a Spout 1 row.
- Start the app that sends, so its Spout sender is running.
- In the Spout row, choose the sender by name. First sender takes whichever sender Spout lists first.
- Tap Allow. The patch shows the sender’s picture until you tap Stop.
Nothing is received until you tap Allow, and opening a patch never starts it. If the sender closes, the source stops; Minima never switches to another sender on its own. The sender you chose is remembered on this computer only.
Publishing a preview
Section titled “Publishing a preview”- In the preview, open Publish.
- To change the name other apps see, choose Sender Name…, type a name and choose Save. The name is kept on this computer; it is Minima until you change it.
- Choose Spout. Other Spout apps on the same computer now list the preview under that name, until you choose Stop Publishing.
If another sender already uses the name, Spout adds a number, such as Minima_1.
Two graphics cards
Section titled “Two graphics cards”Spout shares the picture between apps that run on the same graphics card. On a computer with two, such as a laptop with built-in and separate graphics, set both Minima and the other app to use the same one in Windows’ Settings, under System, Display, Graphics.
Receiving a Syphon source
Section titled “Receiving a Syphon source”On a Mac, a patch reads a Syphon source with syphonTexture, such as syphonTexture(0) for the first one. When you play it, the preview shows a Syphon 1 row.
- Start the app that sends, so its Syphon server is running.
- In the Syphon row, choose the server. Each is listed by its name and the app that runs it, such as Main – VDMX. First server takes whichever server Syphon lists first.
- Tap Allow. The patch shows the server’s picture until you tap Stop.
Nothing is received until you tap Allow, and opening a patch never starts it. If the server stops, the source stops; Minima never switches to another server on its own. The server you chose is remembered on this Mac only, by its name and its app’s name, so it is found again when that app restarts.
Publishing a preview to Syphon
Section titled “Publishing a preview to Syphon”- In the preview, open Publish.
- To change the name other apps see, choose Sender Name…, type a name and choose Save. It is Minima until you change it.
- Choose Syphon. Other Syphon apps on the same Mac now list the preview under that name and Minima’s, until you choose Stop Publishing.
Syphon lets two servers share a name, so the name is used as you typed it.
Receiving NDI
Section titled “Receiving NDI”NDI® is a registered trademark of Vizrt NDI AB. The desktop app receives NDI sources on your local network: their video on Windows and macOS, and their sound on Windows, macOS and Linux. On Linux the app receives an NDI source’s sound but not its video, which its web engine cannot draw. In the browser, NDI rows show that NDI is not supported.
NDI needs the NDI Runtime on your computer. Minima does not include it: get it from ndi.video. Without it, the NDI rows and settings say the runtime is missing and link there.
- Open Settings → Profile → NDI® and turn on Use NDI®. Minima looks for NDI sources only while it is on; turning it off stops every source.
- To find sources through an NDI Discovery Server, enter its host name or IP address under Discovery Server, with a port if it is not 5959. To look only in some NDI groups, enter them under Groups, separated by commas.
- A patch reads a source’s picture with
ndiTexture, such asndiTexture(0), and its sound withndiAudio, such asndiAudio(0, 0)for the left channel of the first source. In the preview’s NDI® 1 or NDI® audio row, choose the source by its NDI name. First source takes whichever source is listed first. - Tap Allow. The patch receives the source until you tap Stop, and the source is told it is in use meanwhile.
Nothing is received until you tap Allow, and opening a patch never starts it. What Minima receives stays on your computer. A source that leaves the network stops. A mono source plays in the left channel. The source you chose is remembered on this computer only.
NDI in the iOS and Android apps
Section titled “NDI in the iOS and Android apps”The iOS and Android apps are not yet in the App Store or Google Play; what this page says about them applies once they are released.
The iOS and Android apps receive and publish NDI® too, through the NDI library they carry, so they need no NDI Runtime. Turn it on in Settings → Profile → NDI®, which has the same Discovery Server and groups as the desktop app. The NDI rows in a preview’s bar then list the sources on your network, and the publish control beside Share in the preview’s controls publishes the preview to NDI, with its sound when Include Sound is on, until you tap it again to stop, leave the app or turn NDI off. On Android, NDI video needs Android 10 or later; sound works on every version. A build without NDI’s library shows NDI as not supported on this device. More about NDI is at ndi.video.
Publishing a preview to NDI
Section titled “Publishing a preview to NDI”The desktop app can publish a preview as an NDI source, so NDI receivers on your local network, such as OBS, vMix, Resolume or NDI Studio Monitor, can show it. On Windows and macOS it publishes the preview’s graphics, with its sound if you include it. On Linux it publishes the preview’s sound only, since its web engine cannot read the graphics back; on a Mac where a preview’s graphics cannot start, the same. NDI needs the NDI Runtime from ndi.video, and Use NDI® turned on in Settings → Profile → NDI®.
- Play the patch, and open the preview’s Publish menu.
- Leave Include Sound on to send the preview’s sound with the picture, or turn it off to send the picture alone.
- Choose Sender Name… to name the source. Receivers list it with your computer’s name, such as
STUDIO (Minima). - Choose NDI®. Receivers on your network now list the source, until you choose Stop Publishing or turn NDI off.
While it publishes, the Publish menu says how many receivers are watching, and On program or On preview when a receiver has it there. A patch can read the same with core.input("publish.ndi.program", 0), which is 1 while a receiver has the preview on program, and core.input("publish.ndi.preview", 0) for preview; both read 0 in every export.
The source joins the NDI groups set under Groups, and registers with the Discovery Server when one is set. Publishing starts only when you choose it, and opening a patch never starts it. What goes out is the preview’s picture and, if included, its sound, under the name you chose and your computer’s name; nothing goes through Minima’s servers. Learn more about NDI at ndi.video.