@dusx said:
With that said, you use the standard method of mutating your inputs/outputs to the expected types.
These User Actors of mine can be quite useful for that: https://troikatronix.com/add-ons/mutator-user-actors/
Pythoner basically passes values from Isadora into your Python script as raw Python objects. There is:
❌ No built-in type system for inputs/outputs
❌ No way to declare types like “this input is always an int” at the actor level
✅ Only positional passing of values
With that said, you use the standard method of mutating your inputs/outputs to the expected types.
Additionally in your python code it is useful to test the type of inputs to ensure proper function. (I honestly don't do this often because I'm quite careful with my input connections. Using user actors to contain my pythoner scripts makes this even easier because you can set the type of the user inputs before attaching them).
You might look into using:
# Validate types
if not isinstance(my_input, expected_type):
# convert or handle error
# Convert if needed
my_input = int(my_input) # or float, list, etc.
This allows you to test incoming values in your python_init() function
Hi there,
I'm working with the Pythoner actor and I'm trying to figure out if there is a way of indicating that an input should have a particular range to start with inside the python code?
I'm able to get it to make different kinds of inputs but they always populate as "0". . . .
Any guidance would be great.
Thank you!
-=Alex=-
(edit: added extra words for more clarity)
Thanks, Ryan.
It'd just be a stream from an IP Camera on the local network, so I think the OBS / NDI solution will work fine for my needs.
I'm sure you have better things to do with your time :-)
Cheers
Mark
@mark_m said:
best of all possible ways
I guess that would depend on what you are expecting?
I have an example file (I need to test it again to determine how complete it is) that uses Pythoner to connect and stream a RTSP stream.
This doesn't provide sound, and can run OpenCV or FFmpeg as backends.
If you have a test URL, I could test this and send you a working file if it will suite your needs?
Hello world,
I've seen some past discussions about getting RTSP feeds into Isadora, with feature requests (made during Covid, when teleperformance was the only performance!) for an RTSP input actor, which I don't think ever happened.
Is our current best solution still to capture the RTSP stream in OBS and send to Isadora via NDI?
That works fine, but just checking this is the best of all possible ways.
Thanks a lot!
Mark (not that Mark)
Hi everyone,
I’d like to share an OSC server and client video patch that we created during an Isadora workshop in Cuba some time ago.
The patch was developed as part of a collaborative learning process, exploring real-time communication between systems using OSC. It’s a simple but practical setup that can be useful for those experimenting with networked video, interactive installations, or remote control between machines.
We also used this setup in The Escapist, a large-scale video projection by my friend and artist Pavel Méndez, presented at the National Museum of Fine Arts of Cuba. I’m also sharing a link so you can check out the project and see how it was used in a real-world context. https://youtu.be/gRqExMF7MdA
I’ve made a small update to make it compatible with Isadora 4, although it was originally created for version 2. The goal was to help students implement video-splitting systems without requiring highly specialized or expensive hardware, since access to technology in Cuba can be quite limited. For this reason, the system was designed to run across multiple basic computers. The system uses a Data Array actor to save parameters. You can export and import these settings as external .txt files, so students only need to import their own media.
It’s nothing super advanced, but I’m proud that it worked and was useful for many students, and I believe it can serve as a starting point for anyone interested in creating something similar. It’s by no means perfect, after all it was developed during a 5-day workshop. I didn’t run into any issues, and neither did my students, but you might encounter some.
Feel free to try it out, modify it, or use it as a starting point for your own projects. If you have any questions or ideas for improvement, I’d love to hear your thoughts! I’m always curious to see how it’s being used, so if you do end up using it, please send me a picture or a link—I’d love to check it out.
Best, Milton
@pascal said:
Universal Audio audio driver
There was an issue in the past with a Nahimic audio driver, that wouldn't let Isadora open. Do you have anything by that name?
@pascal said:
I wonder if there might be an incompatibility with the Universal Audio audio driver? This has been happening ever since I installed it for a sound card.
Could be. Have you tried removing it?
Just out of curiosity, could you download Isadora 4.1.3 and see if it launches? (Isadora 4 and Isadora 2 can be installed on the same computer without interfering with each other, and you can try launching Isadora 4 in demo mode, without a license, just to see if you have the same problem.)