Replies: 1 comment 7 replies
-
Hi @ygreq,
this is a technical problem with macOS. Some, mainly GUI related tasks, need to be run from within the main event loop running in main thread. Such tasks UltraGrid deploys to main thread. But because Syphon capture needs to be run there, the display task then cannot. Easiest workaround would be to use separate UltraGrid processes for capture and display. In theory, the GL display doesn't need to run in the main thread but the window will then be a bit crippled (won't accept keyboard input and other window events like fullscreen or close). If you wish, I can add an option for that, but I think it is suboptimal.
I am not completely acquainted with Syphon nomenclature but AFAIK the server has 2 properties name and application name. Perhaps with different name the application may differentiate multiple servers while the application name remains the same? Anyways, it should be needed only to set only one of those if the value is unique. Anyways, the options |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
I managed to set a duplex communication between a pc and a mac for now on a local network. On the pc side, I managed to work with Spout, but on the MacOS side, I cannot manage to get going with Syphon.
On MacOS, this works alright using the integrated webcam. Some frames are lost, probably from the codec.
./uv --capture-filter preview -t avfoundation:device=0:mode=0:fps=30 -c libavcodec:codec=MJPEG -d multiplier:gl#preview --control-port 8888 [IP_ADDRESS] --param errors-fatal
But this does not:
./uv --capture-filter preview -t syphon:name=fromMax:app=Max:override_fps=60 -c libavcodec:codec=H.264 -d gl:syphon=toMax --control-port 8888 [IP_ADDRESS] --param errors-fatal
It gives me this error:
Unable to set socket buffer size: No buffer space available
Cannot run display when another mainloop registered!
BTW, I am running a syphon server and a syphon receiver on Cycling '74 Max 8.
And I still did not figure out what "app: Syphon server application name" really mean? Am I right to type Max considering the syphon server is on Max? Can I type anything?
Thank you so much for all your help!
ygreq
Beta Was this translation helpful? Give feedback.
All reactions