Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is completely off topic, but I am looking for script or example of same that will let save and restore routes on video hub? #1

Open
Jibun-no-Kage opened this issue Jan 14, 2024 · 4 comments

Comments

@Jibun-no-Kage
Copy link

This is completely off topic, but I am looking for script or example of same that will let save and restore routes on video hub? We have a situation where we need a very simple method to change the personality of our hub on demand, so at one point the hub defined routes are X, and during a recording/streaming session the routes need to be changed from X to Y, and then at a later point, back to X. I realize this can be done by a macro (or so I believe) we would like to be able to do it from a web browser via a simple REST API... that part is easy of course, but once the REST API commands are received we need to pass that on to the video hub API in some way right? I found your project, so figured you might be able to suggest or point me in the direction of any project that has attempted to save and restore of routers on the hub. Why BMD has never added this to the hub control software really boggles the mind.

@migillett
Copy link
Owner

Hey Jibun, So sorry for the delay on the response! For some reason my Github messages don't go to my main email.

What you want to do is totally possible though. It could be pretty easy to setup, especially with something like FastAPI or a little flask page. You'd just have to pre-define the routes for each of them (or have them loaded in a JSON file that you can modify).

@migillett
Copy link
Owner

If there's a demand for it, I could work on a little API for this repo. Something that you could run on a machine and would interface with the router. The only problem is that I no longer have access to a BMD videohub anymore.

@Jibun-no-Kage
Copy link
Author

Can you point me to examples of how access the configuration? I was thinking of using NodeRed or similar framework to provide the interface, so if I can figure out how to access the information on the hub read/write, via say PowerShell or JsavaScript?

@migillett
Copy link
Owner

You might want to check out the Videohub SDK on Blackmagic's website. There are some commands that you can run that will spit out the current config. Current version is 9.0.1 as of Feb 2024. Videohubs use unsecured telnet over port 9990, so all you should have to do is get the IP address and create a way to talk to it. You can then issue commands pretty easily. That's basically what I did in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants