These two programs, xil_video_broadcast and xil_video_receiver, are modified XIL examples which run on the SunVideo Plus card. The SunVideo version of these demonstrations can be run under the SunVideo Binary Compatibility Mode without modification.
The following shows the command-line syntax for the xil_video_broadcast example:
hostname% xil_video_broadcast options
The following table describes command options and the default setting.
Table 4-8 xil_video_broadcast Options
Legal Options |
Description and Values |
Default |
---|---|---|
-C %s |
Compression type (CellB, Jpeg, UYVY) |
CellB |
-H %s |
Destination hostname |
local subnet |
-c %d |
Broadcast channel (0-9) |
0 |
-F %s |
File of destination hostnames |
none |
-D %s |
Name of SunVideo Plus device |
/dev/olk0 |
-I %d |
Select input channel |
1 |
-P %d |
Delay x ms per transmit |
0 |
-d %s |
Save bitstream in file |
NULL |
-f %d |
Frames to broadcast |
18000 |
-i %d |
Frames to skip between capture |
0 |
-m %d |
Maximum frames to buffer |
2 |
-s %d |
Shrink factor |
2 |
-w %d |
Width of capture window |
NTSC: 640 PAL: 768 |
-h %d |
Height of capture window |
NTSC: 480 PAL: 576 |
-x %d |
x coordinate of display window |
(random) |
-y %d |
y coordinate of display window |
(random) |
Legal Switches |
|
|
-p |
Disable preview |
|
-b |
Enable display of partial CellB frames by receiver |
|
-t |
Disable transmission |
|
-E |
Exit on first error |
|
-v |
Print verbose messages |
|
The following shows the command-line syntax for the xil_video_receiver example:
hostname% xil_video_receiver options
The following table describes command options and the default setting.
Table 4-9 xil_video_receiver Options
Legal Options |
Description and Values |
Default |
---|---|---|
-C %s |
Compression type (CellB, Jpeg, UYVY) |
CellB |
-c %d |
Broadcast channel (0-9) |
0 |
-f %d |
Frames to broadcast |
18000 |
-x %d |
x coordinate of display window |
(random) |
-y %d |
y coordinate of display window |
(random) |
Legal Switches |
|
|
-b |
Enable display of partial CellB frames by receiver |
|
-E |
Exit on first error |
|
-v |
Print verbose messages |
|
To broadcast/receive video, type:
hostname% xil_video_receiver -C CellB hostname% xil_video_broadcast -C CellB