OSD_FORMAT

Description

Get or Set the OSD format on the TV screen.

The Decoder could show some information of Encoder or itself on the TV screen. This URL gives the definitions of how much information should be shown on the TV screen (called OSD). In EPL decoders, the foreground color and transparency level are configurable through this URL as well. The background color is fixed to black.

The foreground color and transparency level settings are optional in EPL decoder and not available in WPL decoders. If there is no foreground color and transparency level in the URL, they will not be changed in the device. The default foreground color and transparency level are green (00FF00) and 25 (25% transparency in black color in the background).

Input Argument

osd,color,transparency
where
osd: the bitmap of the definitions of OSD information.
color: foreground color. It is the 6 hexadecimal digitals, RRGGBB, to present the RGB colors.
The RR is for red color level, The GG is for green color and BB is for blue color.
The transparency could be 25, 50, 75, 100. Where 100 is the full transparency mode.

The color and transparency are optional in EPL decoders and not available in WPL decoder.

Bitmap in osd argument

bitmap in osd Information on the OSD
BIT 0 Date and Time information of the encoder
BIT 1 The IP addresses of the encoder
BIT 2 The camera name of the encoder
BIT 3 The IP addresses of the Decoder
BIT 4 The Motion Trigger form the encoder
BIT 5 The DI Trigger from the Decoder

When the bit in the input argument is set, the associated information will be shown on the OSD. Otherwise, the associated information will not be shown. For example, the Date and Camera name will be shown on the OSD in the OSD_FORMAT=0x05.

The high bits, bit 6 and 7, in the input argument value will be ignored if they are not zero.

Attribute

Return of Message

OSD_FORMAT='0x2f,00ff00,50' (for EPL Decoder)
or
OSD_FORMAT='0x2f' (for WPL Decoder)
OK: OSD_FORMAT='0x2f,00ff00,50'
or
OK: OSD_FORMAT='0x2f'
or
ERROR: OSD_FORMAT='0x2f,00ff00,50'
or
ERROR: OSD_FORMAT='0x2f'

Applicability

Status

Valid

See Also

OSD, OSD_POSITION, OSD_POSITION_RANGE, OSD_DATE_FORMAT

Example

http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&OSD_FORMAT
or
http://ip:port/cgi-bin/cmd/decoder?OSD_FORMAT
http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&OSD_FORMAT=0x2f,ff0000,100
or
http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&OSD_FORMAT=0x2f
or
http://ip:port/cgi-bin/cmd/decoder?OSD_FORMAT=0x2f,ff0000,100
or
http://ip:port/cgi-bin/cmd/decoder?OSD_FORMAT=0x2f

Back to

HOME, DECODER CGI