technomorph's picture

Also is there anywhere you can direct me to as how I can use that code in an Xcode Project?

I would rather that be able to be a separate function that I can pass a composition to as a variable. Rather than a main() function call.

From the other Xcode project I see that there is some action that happen in the that sets up a context object and a VuoRunnerCocoa object. would I need to include some code in there? Or can I do it in the AppDelegate

For the most part all of my Xcode Projects in the main.m file it's usually always just the standard. Template, except for when I've created AscOBJC AppleScript projects.



technomorph's picture

Yes can totally see the need for speed for getting info a compile tile. And I know VDMX is using a cache based system in their VuoCache folder to pre-build the executables. I also know they've build their own Cocoa Framework that extends the Vuo Framework and from my observations in the log they are using the C++API with VuoRunner rather than the CocoaRunner which I understand has it's limitations (which I think I was running into, I've come from straight Objective-C programming and not too familiar with using C++ and mixing it. I think a few times I was trying to do some bridging stuff but was probably doing it all wrong! haha)

I will experiment with the


and start trying to learn the C++ API

I know it can also be gathered straight from the GraphViz text info in the comp. Which I'm realizing isn't necessary straight JSON. (also realizing I need to learn more about json_object

label="PublishedInputs|<time>time\r|<image>image\r|<Wave>Wave\r|<Amplitude>Amplitude\r|<Periods>Periods\r|<Which>Which\r" _time_type="VuoReal" _time="0.000000" _time_suggestedMin="0" _time_suggestedMax="1" _image_type="VuoImage" _Wave_type="VuoWave" _Wave_menuItems="[\{\"value\":\"sine\",\"name\":\"Sine\"\},\{\"value\":\"triangle\",\"name\":\"Triangle\"\},\{\"value\":\"sawtooth\",\"name\":\"Sawtooth\"\}]" _Wave="\"sine\"" _Amplitude_type="VuoReal" _Amplitude="0.1" _Periods_type="VuoList_VuoInteger" _Which_type="VuoInteger" _Which_suggestedMin="1" _Which="1"];

or just the WAVE


Could easily load and parse the Text from the Above and search for "menuItems" key.

I will experiment more. Thanks for your tips and the cod

Benedikt's picture
Benedikt posted a new Discussion, “slow download
MartinusMagneson's picture
Magneson commented on technomorph's Feature Request, “Combine Layers - Composite Top Down

Technically speaking, it does that. Layer 2 is on top of layer 1 - but the list is upside down from what you're used to in the UI 🙃. As a workaround, you can use an "invert list" to have it represented as you're used to.

useful design's picture
Alastair commented on Chris's Feature Request, “Render to Virtual UVC Camera node

Chris, first rule of software seems to be get it out there. then add more features later… hopefully Apple does develop a secure virtual cam framework they are happy to allow into the App Store.

useful design's picture
Alastair commented on Chris's Feature Request, “Render to Virtual UVC Camera node

I hope so keithlang. though Apple is notoriously hard to rely on for software support on undisclosed matters.

I put a project I was developing in QC a few years ago on ice that was a kind of vision mixer for Zoom with some flair I guess you'd say. would have been gold during the pandemic with a virtual webcamera output for getting it into Zoom, Teams, et al. Was too busy to pick it up but thinking I'll make it a custom layer for mimoLive at first. It's an mmhmm sort of thing, but more TV studio production type of settings.

keithlang's picture
keithlang commented on Chris's Feature Request, “Render to Virtual UVC Camera node

My bet is that Apple is developing an API for this, since they gave the mmhmm app a bunch of promo (even though it's not on the App Store because it uses this same deprecated(?) method).

Ie, even though it works now for non-app store apps, I'm guessing(hoping) there will be some support for it in future.

cwilms-loyalist's picture
Chris commented on Chris's Feature Request, “Render to Virtual UVC Camera node

keithlang Very cool that you were able to find a solution and that the Vuo Team was able to help you out. I’ve been reading more about how macOS support webcams and realize there are some real hurdles using IOkit or come up with a solution and have it signed by either Apple or by the same dev as the App you’re using it with. I think it’s a security thing to prevent rogue apps hijacking your camera while it’s in use.

Alastair Thanks, I appreciate the advice. I’ve actually dabbled with both Syphon and NDI. Here are a couple of my Compositions: SyphonCast, NDICast I’m actually working on something new that could potentially incorporate both Syphon, NDI and originally was thinking potentially a virtual webcam output as well if that could be supported at some point. It’s looking much less likely now the way it appears Apple has secured video access by apps in macOS.

useful design's picture
Alastair commented on Chris's Feature Request, “Render to Virtual UVC Camera node

In the meantime, you can output from Vuo as a Syphon image stream server and pick that up in other apps that can output a virtual webcam (the, still QC based, mimoLive for example), and there may still be free apps that do this, CamTwist used to do it back in the day IIRC.

useful design's picture
Alastair commented on Chris's Feature Request, “Render to Virtual UVC Camera node

Maybe some of us can look at paying something to make this a Vuo Pro included feature based on what keithlang commissioned. I don't imagine that his specs would be very different to what we all are looking for?



Vuo is more than nodes and cables, it's a community! Feel free to browse or add your voice.

Browse Discussions

Start a Discussion

Browse Feature Requests

Suggest a Feature

Browse the Composition Gallery

Share a Composition

How can I get notifications?

Learn more about the community

Learn more about Vuo

Vuo Announcements

Sign up for the Vuo announcements mailing list to get news and join the community. We post about once per month.