videohubctrl can be used to control Blackmagic Design Videohub SDI router device over the network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

videohubctrl.1 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. .TH VIDEOHUBCTRL "1" "November 2014" "videohubctrl" "User Commands"
  2. .SH NAME
  3. videohubctrl - Blackmagic Design Videohub SDI router control
  4. .SH SYNOPSIS
  5. .B videohubctrl --host <host> \fI..other options..\fR
  6. .SH DESCRIPTION
  7. videohubctrl implements the simple text based network protocol for
  8. controlling Blackmagic Design Videohub SDI router devices. The
  9. program is tested with Blackmagic Design Micro Videohub 16x16
  10. router and probably will work with other Videohub models.
  11. videohubctrl currently displays and can configure:
  12. - Video input port names
  13. - Video output port names
  14. - Video output routing
  15. - Video output locking
  16. .SH MAIN OPTIONS
  17. .PP
  18. .TP
  19. \fB\-h\fR, \fB\-\-host\fR <host>
  20. Set the device host name. It can be an IP address or host name. You
  21. can set \fBVIDEOHUB_HOST\fR environment variable instead of using
  22. this option.
  23. .TP
  24. \fB\-p\fR, \fB\-\-port\fR <port>
  25. Set the device port. You can set \fBVIDEOHUB_PORT\fR environment
  26. variable instead of using this option. The default port is \fB9990\fR.
  27. .SH COMMANDS
  28. .PP
  29. .TP
  30. \fB\-i\fR, \fB\-\-info\fR
  31. Show full device info. This is the default command if none is set.
  32. The command shows the equivalent of running all \-\-list-XXX commands.
  33. .TP
  34. \fB\-m\fR, \fB\-\-monitor\fR
  35. Display the Videohub configuration and updates it in real-time as it
  36. is changed. The monitor shows config changes immediately as they happen.
  37. The device is not being polled, instead the videohub protocol is designed
  38. in such way that every client receives changes on the fly.
  39. .TP
  40. \fB\-b\fR, \fB\-\-backup\fR
  41. Show the command line that will restore the device to it's configuration.
  42. .TP
  43. \fB\-\-list\-device\fR
  44. Display main device info including model, number of ports, etc.
  45. .TP
  46. \fB\-\-list\-vinputs\fR
  47. Display device video inputs and their names.
  48. .TP
  49. \fB\-\-list\-voutputs\fR
  50. Display device video outputs, their names, locking status and which
  51. input is routed to a given output. There are two locking statuses:
  52. L - The port is locked by another IP address (user)
  53. O - The port is locked by me (from my IP address)
  54. .SH VIDEO INPUT/OUTPUT CONFIGURATION
  55. .PP
  56. Everywhere where port number is accepted, you can use the port
  57. number or the port name.
  58. .TP
  59. \fB\-\-vi\-name\fR <in_X> <name>
  60. Set video input port X name.
  61. .TP
  62. \fB\-\-vo\-name\fR <out_X> <name>
  63. Set video output port X name.
  64. .TP
  65. \fB\-\-vo\-route\fR <out_X> <in_Y>
  66. Connect video output X to video input Y.
  67. .TP
  68. \fB\-\-vo\-lock\fR <out_X>
  69. Lock output port X.
  70. .TP
  71. \fB\-\-vo\-unlock\fR <out_X>
  72. Unlock output port X. If the port is locked by somebody else the
  73. port would be forcefully unlocked.
  74. .SH MISC OPTIONS
  75. .PP
  76. .TP
  77. \fB\-d\fR, \fB\-\-debug\fR
  78. Enable debugging output. Use this option more times to increase
  79. the verbosity.
  80. .TP
  81. \fB\-q\fR, \fB\-\-quiet\fR
  82. Suppress warnings about unsupported commands.
  83. .TP
  84. \fB\-V\fR, \fB\-\-version\fR
  85. Show program name and version.
  86. .TP
  87. \fB\-H\fR, \fB\-\-help\fR
  88. Show program usage text.
  89. .SH ENVIRONMENT VARIABLES
  90. .PP
  91. .TP
  92. \fBVIDEOHUB_HOST\fR
  93. Set the device host name.
  94. .TP
  95. \fBVIDEOHUB_PORT\fR
  96. Set the device port.
  97. .SH EXAMPLES
  98. .PP
  99. To get a quick start here are some example command lines.
  100. .nf
  101. # Rename video output
  102. videohubctrl -h sdi --vo-name 8 "Output 8 - test"
  103. videohubctrl -h sdi --vo-name "Output 8 - test" "Output 8"
  104. # Rename video input
  105. videohubctrl -h sdi --vi-name 4 "Windows 4 HD"
  106. videohubctrl -h sdi --vi-name "Windows 4 HD" "CPlay4"
  107. # Lock and then unlock output 16 (unlock assumes that the port is
  108. # named Output 16). The host name is set via env variable.
  109. export VIDEOHUB_HOST=sdi
  110. videohubctrl --vo-lock 16
  111. videohubctrl --vo-unlock "Output 16"
  112. # Set two outputs to receive from the same input using port names
  113. videohubctrl -h sdi --vo-route "Output 8" "Windows 4 HD"
  114. videohubctrl -h sdi --vo-route "Output 7" "Windows 4 HD"
  115. # Run several commands at once
  116. # Rename video input 11 and 12
  117. # Rename video output 5,
  118. # Set output 5 to receive from input 12
  119. # Lock output 5
  120. videohubctrl --host sdi \\
  121. --vi-name 11 "Test input" \\
  122. --vi-name 12 "Playout input" \\
  123. --vo-name 5 "Encoder h264" \\
  124. --vo-route 5 12 \\
  125. --vo-lock 5
  126. .fi
  127. .SH SEE ALSO
  128. See the README file for more information. If you have questions,
  129. remarks, problems or you just want to contact the developer, write
  130. to:
  131. \fIgeorgi@unixsol.org\fP
  132. .TP
  133. For more info, see the website at
  134. .I http://georgi.unixsol.org/programs/videohubctrl/
  135. .SH AUTHORS
  136. Written by Georgi Chorbadzhiyski <\fBgeorgi@unixsol.org\fR>
  137. .SH LICENSE
  138. videohubctrl is released under MIT license.