Skip to main content
Milestone - Configuring the video recordings video codec
Updated over 4 months ago

The recording codec used by Milestone (for EdgeVis encoders) is configurable between JPEG and H.264 within the management client.

The conversation from the EdgeVis TVI Codec to JPEG and H.264 takes place on the Milestone Recording server.

H.264 will use considerably less disk space than JPEG but may have a higher CPU requirement depending on frame size and the complexity of the video scene.

Changing the codec settings

From the management client, open the Recording server. Expand the EdgeVis encoder and select the camera. Open the Settings to access the available settings.

Illustration of configuration interface
Illustration of configuration interface

These settings only change the video frame being recorded and viewed within the Milestone system. They do not change the EdgeVis encoder settings.

Codec

JPEG

H.264

Frame Height*

Set to 0 for the frame size to match the incoming EdgeVis encoder frame size.
Any other value and incoming image will be scaled up/down to match

Set to 0 for the frame size to match the incoming EdgeVis encoder frame size.
Any other value and incoming image will be scaled up/down to match

Frames per second*

Maximum frame rate.
The recorded frame rate will not exceed the incoming frame rate

Maximum frame rate.
The recorded frame rate will not exceed the incoming frame rate

Maximum frames between keyframes mode

Not used

Set to ‘custom’ to use the value set below

Maximum frames between keyframes

Not used

If keyframe mode is set to custom this will be the maximum number of frames between keyframes.
Default is 30

Maximum bit rate

Not used

Maximum bitrate of the h.264 recording. High data rates may require more CPU resources.

Quality

Set from 5 to 100

Not Used

*Frame Height

Setting a value other than 0 will scale the incoming video frame accordingly and has a small processing overhead. The scaled image will be recorded within Milestone and viewable on the Milestone viewing clients.

The incoming EdgeVis stream frame size may automatically adapt depending on network capacity. This may result in unusual frame sizes being observed when a Frame Height of 0 is used. This is normal.

The recommendation is to leave this value at 0.

*Frames per second

If set lower than the incoming EdgeVis stream frames per second then video frames will be dropped. These dropped frames will not be recorded within Milestone or viewable on the Milestone viewing client.

If set higher than the incoming EdgeVis stream frames per second then the recording server will record all possible frames. It will not exceed the incoming frame rate. For example, if the EdgeVis Encoder frame rate has been set to 15fps, and this Frame per second is set to 30. The Milestone server will record at 15fps.


Did this answer your question?