MartinusMagneson's picture

Thanks! Previously when i ran above 8 I/O split into separate apps it crashed. I assumed it was related to the same issue but trying again now it seems to work.

keithlang's picture
keithlang commented on keithlang's Discussion, “In-app purchase…any ideas?

Thanks—I think for now that rules out the casual pirates.

jstrecker's picture
Jaymie commented on keithlang's Discussion, “In-app purchase…any ideas?

Yes, it's possible though not trivial. Someone could use tools like dtruss and ptrace to spy on the internal workings of the app (possibly after rebooting with System Integrity Protection disabled).

jstrecker's picture

VuoCompositionLoader only comes into play when running a composition from the editor. When you run a composition, Vuo spawns a process called VuoCompositionLoader. VuoCompositionLoader is a middle layer between the editor and the composition that makes live editing possible. As you can see in Activity Monitor, a separate VuoCompositionLoader process is created for each running composition.

When you run an exported app, there's no editor or middle layer, just a process for the composition itself. As Activity Monitor shows, there's a separate process for each app (even if they have the same name).

Since the limit on open files is per-process, you should be able to split your 8-NDI app into 2 x 4-NDI apps and avoid the crash… Yep, I tested and it seems to work.

useful design's picture
Alastair commented on 2bitpunk's Discussion, “Another movie player (Vuo primer)

Hap was developed by Tom Butterworth, one of the pair of developers who developed Syphon, amongst other great tools.

Joëlle's picture

Thanks for the links, will read through! I want to upload a FBX into an app called SuperWorld which has a AR layer mapped on top of Google Maps. I'd be uploading a 3D object for them to add into their app and the format they require is FBX. So I was wondering if there was anyway I could basically export a Vuo file into that format with the textures etc.

MartinusMagneson's picture

Thanks for the explanation! Does this mean that the Vuo Composition Loader runs as one process when two or more exported apps are running though? As two different applications with 4 I/O each also will crash? Or could this be because of app/composition naming (not sure if I was particularly careful there)?

MartinusMagneson's picture

Which application do you want to export it to?

A lot of info on implementing it for Blender here: https://code.blender.org/2013/08/fbx-binary-file-format-specification/ (comments are very useful), and a derived C++ library with an MIT license for exporting/saving to FBX here: https://github.com/jskorepa/fbx/tree/master

keithlang's picture
keithlang commented on 2bitpunk's Discussion, “Another movie player (Vuo primer)

Today I learnt about HAP. Thanks for sharing!

jstrecker's picture

The operating system imposes a limit on the number of "files" that a process can open. "Files" includes not only regular files but other things like network sockets, pipes, and the "kqueue" mentioned in the error message.

Each NDI send/receive node adds to the number of open "files" — because of course it needs those to be able to communicate with other nodes or devices.

The reason your composition doesn't crash when run from the Vuo editor is because we happen to have already increased the number of open files it is allowed (to fix a different problem). To resolve this bug report, we'll similarly increase the number of open files allowed for exported apps. That will fix your crash.

As a workaround until then, you can run this command in Terminal to increase the number of open files allowed:

sudo launchctl limit maxfiles 1024 unlimited

(This is a system-wide setting, affecting all processes and not just your NDI app. It will reset after you reboot, unless you do more work to make it stick.)

Pages

Welcome!

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.