Configuration and display of an encoder

In order to use analog cameras a fitting encoder is necessary.

Creating an encoder

Open the context menu with a right mouse click on Encoder and select create new object. The following window is opened:

Figure 1. Entering the encoder number

After entering the encoder number the configuration panel will be opened.

Configuration of encoders
Figure 2. Encoder configuration

The configuration of an encoder is equivalent to the configuration of an IP camera of the corresponding manufacturer.

Configuration Type

Select one of the available encoder types with this selection list. The following types are available:

  • Axis camera

  • Bosch camera

  • Moxa camera

The user has different configuration options depending on the selected encoder type. Some options are not available for every encoder type.

Encapsulation

Depending on the encoder type you can choose between http, https and rcpp.

Encoder type encap
Axis http, https
Bosch rcpp
Moxa http, https
URL extension

It is set automatically depending on the encoder type.

IP address

Type in the IP address of the camera.

Port

Must be specified according to the configuration of the video source respectively the encapsulation.

User

Must be specified according to the configuration of the video source.

Password

Must be specified according to the configuration of the video source.

The only difference to the configuration of an IP camera is the setting of the PTZ operating mode. It is possible to select between two modes:

PTZ intern

In this operating mode the encoder is generating the PTZ protocol and transmits it to the camera.

PTZ transparent

In this operation mode, the video application is generating the PTZ protocol. The PTZ commands are only passed on from the encoder to the camera. If necessary a port must be specified.

Streaming

You can select how many streams shall be available with the checkboxes Stream 1, Stream 2 and Stream 3.

Codec

Depending on the selected encoder type different codecs are available:

Encoder type Codec
Axis H264, H265, MJPEG, MPEG4
Bosch ANY, H263, H264, H265, MJPEG, MPEG4
Moxa H264, H265, MJPEG, MPEG4
Encapsulation

Depending on the selected encoder type different protocols are available: .

Encoder type Protocol
Axis http, rtsp
Moxa rtsp
Port

Must be specified according to the configuration of the video source respectively the encapsulation.

If no port is specified, the default values for rtsp (=5544) and http (=80) are used by default.

Streamlayout

Only available for Bosch cameras. This parameter defines how the interlace frames are packed:

  • Progressive

  • Topfieldtop

  • Bottomfieldtop

  • Weaved

User

Must be specified according to the configuration of the video source.

Password

Must be specified according to the configuration of the video source.

Recording

Allows to select one of the configured recordings and enables it for the stream.

Multicast

It is possible to configure multicast for each stream.

Receiving multicast data is only supported for streams with one of the following codecs: H264, H263 and MPEG4.

Clicking on this button opens the following panel:

Parameter Example value Description
Multicast address 239.7.7.3 Multicast address of the camera/the encoder.
multicastPort 8765 Multicast port of the camera.
operatornetmulticastaddress 224.1.2.3 Multicast address used in proxy mode.
operatornetmulticastaddressrangebegin 224.0.1.2 Used multicast start address for the IP range in proxy mode.
operatornetmulticastaddressrangeend 239.255.255.255 Used multicast end address for the IP range in proxy mode.
operatornetmulticastport 1234 Multicast port used in proxy mode.
payloadtype 95|96 In case that several media streams are sent to the same multicast address/port per RTP, the streams can be distinguished by the payload type. If no payload type is configured the first payload type which is received is used.
prop-parameter-sets Z0IAKeNQFAe2AtwEBAaQeJEV,aM48gA If SPS and PPS are not included in-band this parameter must be set appropriately. This parameter is a part of the SDP (Session Description Protocol) which is exchanged e.g. via the RTSP handshake.
ipinterfaceoperatornet 0.0.0.0 The multicast socket to the operator shall be bound to this IP address.
ipinterfacedevicenet 0.0.0.0 The multicast socket to the device shall be bound to this IP address.
ssrc Synchronization source as decimal value (default = 0). It identifies the data source and is automatically assigned by the first received RTP packet.
config

000001B003000001B5090000010000000

12000C488BA9850584121463F

If the config header is not included in-band in the MPEG4 visual stream, this parameter must be set appropriately. This parameter is a part of the SDP (Session Description Protocol) which is exchanged e.g. via the RTSP handshake.
Important notes
  • The standard connection is as follows:

    Camera/Encoder -> Unicast -> Interface-Proxy -> depending on the configured transport mode (0=Unicast, 1=Multicast, 2=TCP) -> Decoder (e.g. workstation or display monitor)

  • If rtp://<Multicast ipv4 address>:<port> is defined as URL for streaming, the connection is as follows:

    Camera/Encoder -> Multicast -> Interface-Proxy -> depending on the configured transport mode (0=Unicast, 1=Multicast, 2=TCP) -> Decoder (e.g. workstation or display monitor)

  • In case that operatornetmulticastaddress = multicastaddress and operatornetmulticastport = multicastPort, the interface proxy for all decoder connections with transport mode 1 (=multicast) is disabled. In this case the interface does not transfer data to the decoders. The decoder receives the multicast data directly from the multicast sender (encoder or camera). If a decoder requests a unicast connection, the streaming proxy is enabled for this connection. To ensure that no streaming connection is established between interface and encoder/camera, the payloadtype must be set explicitly and there must not be a configured recording connection.

  • In case of Multi-Homed-Hosts it may happen that receiving or sending multicast data must be explicitly bound to a network adapter.

  • Recording connections are always TCP connections. If a recording connection is configured, the streaming proxy is always enabled.

URL extension

Depending on the configuration of the video source there are different options available.

Encoder type URL extension
Axis

/axis-media/media.amp

/mpeg4/media.amp

/mjpg/video.mjpg

Moxa

/udpstream

/moxa-cgi

/multicaststream

Media profile

Must be specified according to the configuration of the video source.

Parameter

Depending on the configuration of the video source there are different options available.

Encoder type Parameter Description
Axis compression

Setting of the compression.

Possible values: 0-100

Default: 30

fps

Number of transmitted frames per second.

Possible values: 1-30

Default: 25

resolution

Resolution of the video stream.

Possible values: QCIF, CIF, 2CIF, 4CIF

Default: 4CIF respectively the camera's value.

rotation

Enables image rotation by 180°.

Possible values: 0, 180

Default: 0 respectively the camera's value.

Bosch resolution

Name of the desired stream (stream1 = first configured stream in the encoder, stream2 = second configured stream in the encoder). Possible values: stream1, stream2

Default: stream1

Status information of Encoders

With a left mouse click on the appropriate camera object in the video object explorer the overview panel is opened. It contains information about the type, IP address, state of the encoder, camera assignment and encoder port to which the camera is connected. The status information of the encoder inputs are directly mapped to the connected camera.

Figure 3. Encoder