QUAD_OSD

 

Description

Get or set OSD control of TCD-2000Q Quad Video Encoder. This URL is only available for TCD-2000Q Quad Video Encoder which it is in the QUAD mode.

The OSD function in the TCD-2000Q was implemented by using encoder OSD functions. There are four OSD windows in the encoder SoC. Every channel in Quad video encoder has one OSD window.
No OSD function is available in the SINGLE and SEQUENTIAL modes in QUAD video encoder.

Here lists the available information on the OSD.

Date & Time

Only channel 1 is capable of showing this information on the video. The format of date and time is fixed as below.
YYYY/MM/DD hh:mm:ss
where
YYYY, MM and DD are for year, month and day of month.
hh, mm and ss are for hours, minutes and seconds.

The date and time will be shown after camera name information if the camera name for OSD is enabled.

Camera Name

Every channel has its own OSD to show. The max. length of camera name is 10 characters. If the length of camera name is longer than 10, the camera name will be truncated on OSD.

Video Loss

The BLUE screen represents the video loss event. That means there is no specific OSD for video loss event

Note: No other event like motion detection or digital input trigger, is available here.

The position of the OSD in every channel is defined in the top-left corner of video image. This position is fixed and not changeable.

Input Argument

State,OsdSet,Color

Input Argument Possible Settings Description
State 0 (disabled),
1 (enabled)
Enable or Disable the OSD function.
When it is 1, OSD function is enabled to all four channels.
When it is 0, OSD function is disabled to all four channels.
OsdSet 0xnn
Bit 0: Camera Name
Bit 1: Date & Time
Set content of OSD. It uses the bitmap to represent what information needs to be on OSD.
bit 0: when 1, channel's camera name will be on the channel's OSD. Otherwise, no camera name on OSD.
bit 1: when 1, channel 1 camera shows the date and time information. The rest of channels will NOT show date and time on their OSD.
This setting has to presented in hexadecimal. That means the prefix 0x should be added. For example, 0x03
Color RRGGBB 6 digitals for R(Red), G(Green) and B(Blue) colors. Two digits give the color level of a color in R, G or B. The RR is the color level of red color, GG is for green and BB is for blue. These value will be hexadecimal value. For example, ff0000 give the fully red color in OSD.

Attribute

Return of Message

QUAD_OSD='0,0x00,00ff00'

OK: QUAD_OSD='0,0x00,00ff00'
or
ERROR: QUAD_OSD='0,0x00,00ff00'
or
ERROR: QUAD_OSD not found

Applicability

Platform Devices Supported Firmware Version
PlatformT Quad Video Encoder A4Q-310-V4.00 and later

Statue

Valid

See also

None

Example

http://ip:port/cgi-bin/encoder?USER=admin&PWD=123456&QUAD_OSD
or
http://ip:port/cgi-bin/cmd/encoder?QUAD_OSD

http://ip:port/cgi-bin/encoder?USER=admin&PWD=123456&QUAD_OSD=0,0x00,00ff00
or
http://ip:port/cgi-bin/cmd/encoder?QUAD_OSD=0,0x00,00ff00

Back To

HOME, ENCODER CGI