videohubctrl 1.0 - cmd line tool for controlling videohubs

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Georgi Chorbadzhiyski

  • Posts: 2
  • Joined: Wed Dec 03, 2014 12:07 pm
  • Location: Sofia, Bulgaria

videohubctrl 1.0 - cmd line tool for controlling videohubs

PostWed Dec 03, 2014 12:47 pm

Hey guys, I have Micro Videohub and since I'm not a Windows person I was
not happy with the fact that there is only a Windows (and Mac) programs
for managing it.

Luckily the protocol was simple enough (I found the documentation after
running a couple wireshark sessions :) and using it I've developed a command
line utility (tested under Linux and OS X, probably can be compiled under
Windows aswel) to control and display Videohub settings.

georgi.unixsol.org/programs/videohubctrl/

Small blurb from the README: georgi.unixsol.org/programs/videohubctrl/README.txt

videohubctrl implements the simple text based network protocol for
controlling Blackmagic Design Videohub SDI router devices. The
program is tested with Blackmagic Design Micro Videohub and
probably works with other Videohub models.

videohubctrl currently displays and can configure:

- Video input port names
- Video output port names, routing and locking
- Input/Output port statuses
- Monitoring video output port names, routing and locking
- Serial ports names, routing, locking and directions
- Processing units
- Frames

Configuration of Videohub's network settings can be made using
Blackmagic's Windows program when the device is connected via USB.

Configuration of processing units and frames is probably not working
properly because the support was added by just following the very
minimal documentation and with no testing on a real device, so don't
expect miracles in this department. The other stuff is solid but
please see the TODO section of this document and help.


The program is under MIT license and it's source is hosted at github:

github.com/gfto/videohubctrl

I hope videohubctrl is useful for someone besides me.

=====

So the SPAM part is over, I have couple of questions (which are part
of the TODO):

- How much "Frame buffers" are supported? There is no field in VIDEOHUB
DEVICE that set the maximum number.

- PROCESSING UNIT ROUTING routes video input via processing unit right?

- How to set PROCESSING UNIT output to be routed over to an output?

- How to set a FRAME BUFFER X to be routed over output Y?

- How are frames uploaded to the frame buffers on the device? Is it over
USB only?

- Can somebody shed a light on what these commands are supposed to do:
ALARM STATUS:
END PRELUDE:
ENGINEERING:

- There are several options in VIDEOHUB DEVICE: that are also interesting:
Debug mode:
Power:

- Which devices support "Friendly name:"? Mine Micro - doesn't.

- Is there an updated documentation for protocol version 2.4? The latest
docs are for 2.3.

- Can somebody please help with processing units and frames because the
docs are not complete and even when I tricked the Windows program of
talking to a fake Workgroup Videohub it isn't clear how the settings
are supposed to be working and "FRAME BUFFER ROUTING" just sets
"0 FrameName" or "0 -1" (disable).

In addition to these questions I would appreciate, if somebody have
access to Universal Videohub and can test input/output port statuses,
serial ports settings and monitoring monitoring to report back to me
if everything is configured and shown correctly.

If somebody have access to Workgroup Videohub I would be happy to get
a configuration dump with Frames and Processing units sections. Run
"telnet videohub-ip 9990" and copy+paste the text.
Offline

Georgi Chorbadzhiyski

  • Posts: 2
  • Joined: Wed Dec 03, 2014 12:07 pm
  • Location: Sofia, Bulgaria

Re: videohubctrl 1.0 - cmd line tool for controlling videohu

PostSun Dec 07, 2014 12:35 am

Guys is anyone able to shed some light on my questions?

Is there a BMD engineer that even reads and is allowed to post here?

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 25 guests