Browse Source

Text fixes.

Georgi Chorbadzhiyski 9 years ago
parent
commit
e65ffebd59
2 changed files with 14 additions and 16 deletions
  1. 11
    13
      README
  2. 3
    3
      videohubctrl.c

+ 11
- 13
README View File

1
 videohubctrl - Blackmagic Videohub control application
1
 videohubctrl - Blackmagic Videohub control application
2
 ======================================================
2
 ======================================================
3
 
3
 
4
-Blackmagic Design Videohub is SDI router device which can be controlled
5
-over the network using very simple text based protocol which
6
-videohubctrl implements.
7
-
8
-videohubctrl is tested with Blackmagic Design Micro Videohub 16x16
4
+videohubctrl implements the simple text based network protocol for
5
+controlling Blackmagic Design Videohub SDI router devices. The
6
+program is tested with Blackmagic Design Micro Videohub 16x16
9
 router and probably will work with other Videohub models.
7
 router and probably will work with other Videohub models.
10
 
8
 
11
 videohubctrl currently displays and can configure:
9
 videohubctrl currently displays and can configure:
15
   - Video output routing
13
   - Video output routing
16
   - Video output locking
14
   - Video output locking
17
 
15
 
18
-The following features found in bigger Videohub models are currently not
19
-supported (I don't have the hardware):
16
+The following features found in bigger Videohub models are currently
17
+not supported (I don't have the hardware):
20
 
18
 
21
   - Configuration of video processing units
19
   - Configuration of video processing units
22
   - Configuration of Video monitoring outputs
20
   - Configuration of Video monitoring outputs
44
  Usage: videohubctrl --host <host> [..commands..]
42
  Usage: videohubctrl --host <host> [..commands..]
45
 
43
 
46
 Main options:
44
 Main options:
47
- -h --host <hostname>       | Set device hostname.
45
+ -h --host <host>           | Set device host name.
48
  -p --port <port_number>    | Set device port (default: 9990).
46
  -p --port <port_number>    | Set device port (default: 9990).
49
 
47
 
50
 Commands:
48
 Commands:
51
  -i --info                  | Show full device info (default command).
49
  -i --info                  | Show full device info (default command).
52
-                            . This command is shows the equivallent of
50
+                            . This command is shows the equivalent of
53
                             .  running all --list-XXX commands.
51
                             .  running all --list-XXX commands.
54
  -m --monitor               | Display real-time config changes monitor.
52
  -m --monitor               | Display real-time config changes monitor.
55
  -b --backup                | Show the command line that will restore
53
  -b --backup                | Show the command line that will restore
68
  --vo-lock <out_X>          | Lock output port X.
66
  --vo-lock <out_X>          | Lock output port X.
69
  --vo-unlock <out_X>        | Unlock output port X.
67
  --vo-unlock <out_X>        | Unlock output port X.
70
 
68
 
71
-  NOTE: For <in_X/out_X/in_Y> you may use port number or port name.
69
+   For <in_X/out_X/in_Y> you may use port number or port name.
72
 
70
 
73
 Misc options:
71
 Misc options:
74
  -d --debug                 | Increase logging verbosity.
72
  -d --debug                 | Increase logging verbosity.
84
 if they are set:
82
 if they are set:
85
 
83
 
86
  VIDEOHUB_HOST
84
  VIDEOHUB_HOST
87
-    Sets the device host name. It is equivallent to using -h / --host
85
+    Sets the device host name. It is equivalent to using -h / --host
88
     command line parameter.
86
     command line parameter.
89
 
87
 
90
  VIDEOHUB_PORT
88
  VIDEOHUB_PORT
91
-    Sets the device port. It is equivallent to using -p / --port command
89
+    Sets the device port. It is equivalent to using -p / --port command
92
     line parameter.
90
     line parameter.
93
 
91
 
94
 
92
 
108
 
106
 
109
 
107
 
110
  # Lock and then unlock output 16 (unlock assumes that the port is
108
  # Lock and then unlock output 16 (unlock assumes that the port is
111
- # named Output 16). The hostname is set via env variable.
109
+ # named Output 16). The host name is set via env variable.
112
 
110
 
113
    export VIDEOHUB_HOST=sdi
111
    export VIDEOHUB_HOST=sdi
114
    videohubctrl --vo-lock 16
112
    videohubctrl --vo-lock 16

+ 3
- 3
videohubctrl.c View File

69
 	printf(" Usage: " PROGRAM_NAME " --host <host> [..commands..]\n");
69
 	printf(" Usage: " PROGRAM_NAME " --host <host> [..commands..]\n");
70
 	printf("\n");
70
 	printf("\n");
71
 	printf("Main options:\n");
71
 	printf("Main options:\n");
72
-	printf(" -h --host <hostname>       | Set device hostname.\n");
72
+	printf(" -h --host <host>           | Set device host name.\n");
73
 	printf(" -p --port <port_number>    | Set device port (default: 9990).\n");
73
 	printf(" -p --port <port_number>    | Set device port (default: 9990).\n");
74
 	printf("\n");
74
 	printf("\n");
75
 	printf("Commands:\n");
75
 	printf("Commands:\n");
76
 	printf(" -i --info                  | Show full device info (default command).\n");
76
 	printf(" -i --info                  | Show full device info (default command).\n");
77
-	printf("                            . This command is shows the equivallent of\n");
77
+	printf("                            . This command is shows the equivalent of\n");
78
 	printf("                            .  running all --list-XXX commands.\n");
78
 	printf("                            .  running all --list-XXX commands.\n");
79
 	printf(" -m --monitor               | Display real-time config changes monitor.\n");
79
 	printf(" -m --monitor               | Display real-time config changes monitor.\n");
80
 	printf(" -b --backup                | Show the command line that will restore\n");
80
 	printf(" -b --backup                | Show the command line that will restore\n");
93
 	printf(" --vo-lock <out_X>          | Lock output port X.\n");
93
 	printf(" --vo-lock <out_X>          | Lock output port X.\n");
94
 	printf(" --vo-unlock <out_X>        | Unlock output port X.\n");
94
 	printf(" --vo-unlock <out_X>        | Unlock output port X.\n");
95
 	printf("\n");
95
 	printf("\n");
96
-	printf("  NOTE: For <in_X/out_X/in_Y> you may use port number or port name.\n");
96
+	printf("   For <in_X/out_X/in_Y> you may use port number or port name.\n");
97
 	printf("\n");
97
 	printf("\n");
98
 	printf("Misc options:\n");
98
 	printf("Misc options:\n");
99
 	printf(" -d --debug                 | Increase logging verbosity.\n");
99
 	printf(" -d --debug                 | Increase logging verbosity.\n");

Loading…
Cancel
Save