9. Stream Capturing
The camera is capable of the so-called
multi mode imaging,
which means capturing images by one sensor alternately with different settings and collecting them into multiple streams.
Recommended to read:
Multi mode imaging
Resolutions
Frequently used image parameters
The camera is capable of the so-called
dual stream as well, which means creating an MJPEG and an H264 stream simultaneously.
It works at full image size and speed.
For example:
If the sensor operates at 60 FPS, both the MJPEG and the H264 streams will flow with 60 FPS as well (it is true only if the multi mode is disabled!).
Both features can be combined with each other (multi mode, dual stream), which means two MJPEG and two H264 streams can flow simultaneously when the H264 and the multi mode are enabled.
For example: if the sensor operates at 60 FPS, then the following possibilities can occur:
MJPEG stream source #1 30 FPS, H264 stream source #1 30 FPS,
MJPEG stream source #2 30 FPS, H264 stream source #2 30 FPS.
9.1. H264 Encoder Settings
It is available at the following location:
WEB INTERFACE > ADVANCED SETUP > ENCODER SETTINGS > H264 Encoder Settings
Recommended to read:
Multi mode imaging
Stream Capturing
JPEG Encoder Settings
Stream flow chart
Image Compressing
In case of enabling the multi mode the H264 stream can be activated for both the Source #1 and Source #2 as well,
so in this way two MJPEG and two H264 streams can be used simultaneously as well.
The H264 encoder can be enabled or disabled by the
Enable H264 encoder checkbox.
Size of the group containing I and P frames: I-frame (intra coded image) - reference image, which represents a fixed image and which is independent of other image types. Each group of images begins with this type of image.
P-frame (predictive coded image) - contains motion-compensated difference information from the preceding I- or P-frame.
If this field is set to 50, a key frame (I-frame) has to be made after 50 frames by all means.
Average bitrate: in this field the desired bandwidth can be defined for the camera in kbit/s.
H264 quality: quality setting of the image according to the standards.
H264 quality delta: The amount of deviation of the actual quality value from the set value (H264 quality) in order to keep the Average bitrate constant.
Ignore H264 skip frames if event occurred: if it is checked, images are captured continuously even when the frame limiter is set to a lower frame transmission.
Setup the I-frame handler if event occurred, select from the followings:
- Use the size of the group containing I and P frames
- If new events occurred it starts with the I frame (next maybe P)
- All frames will be I frames as long as events last
Using the event quality: if it is set to
Never, everything happens according to the above settings. If anything else is set, different settings can be applied.
For example: a higher image quality (
H264 quality) and deviation from this quality (
H264 quality delta ) can be set, if an event or a motion or both occurred in the image.
So the above quality settings can be overridden here.
Window quality if event occurred: the area, where the movement occurred can be improved here.
NOTE
- 51: worst quality / small size
- 12: best quality / large size
- 26: default
9.2. JPEG Encoder Settings
It is available at the following location:
WEB INTERFACE > ADVANCED SETUP > ENCODER SETTINGS > JPEG Encoder Settings
Recommended to read:
Multi mode imaging
Image Compressing
NOTE
-
Contrary to the H264 stream, it can not be disabled
EXIF description of JPEG file: any string can be entered here, which will be written into each JPEG image. It can be retrieved later by an image viewer program.
JPEG quality: quality setting of the image according to the JPEG standards.
Ignore JPEG skip frames if event occurred: if it is checked, images are captured continuously even when the frame limiter is set to a lower frame transmission.
Using the event quality: higher image quality can be set, if an event or a motion or both occurred in the image.
The quality of the image can be determined by the
Quality if event occurred scroll thumb.
On the right upper side of this section the
source can be selected on which these settings have to be applied.
NOTE
- 40: worst quality / small size
- 90: best quality / large size
- 75: JPEG default, 80 ANPR default
9.3. Frame Limiter Settings (FPS)
It is available at the following location:
WEB INTERFACE > ADVANCED SETUP > ENCODER SETTINGS > Frame Limiter Settings
Recommended to read:
Multi mode imaging
Stream Capturing
H264 Encoder Settings
Stream Settings
Stream flow chart
If
dual stream is enabled (enable H264 encoder):
The FPS can be set per source (sources #1, #2) and per stream (MJPEG, H264) independently from each other.
The actual number of frames processed by the camera can be further reduced with the help of the
Stream Settings .
9.4. Stream Settings
It is available at the following location:
WEB INTERFACE > ADVANCED SETUP > STREAM SETTINGS
Recommended to read:
Stream Capturing
Multi mode imaging
H264 Encoder Settings
Stream flow chart
Motion Detection Trigger
To the MJPEG and H264 streams it is possible to connect via eight stream servers.
Each server can be configured individually (port, FPS, etc.).
A green rectangle below the server shows that the current server is turned on. If this rectangle is red, the server is turned off.
Enable: turns on/off the current server.
Image source: the desired source can be defined here (if the multi mode is turned on the image source can be 2).
Image channel: the desired channel can be selected here (Motion Detection, JPEG, H.264).
Streaming type: different streaming types can be defined at each channel.
| Image channel | Streaming type |
| Motion detection | H264 Elementary Stream |
| | MKV (Matroska) container |
| JPEG | Multipart JPEG |
| | RAW JPEG |
| | MKV (Matroska) container |
| H264 | H264 Elementary Stream |
| | MKV (Matroska) container |
| | MP4 container |
Streaming port: the user can define the port on which the stream can be reached.
Link of the stream:
RTP link: the stream can be reached by this link as well by using RTP.
Number of skipped frames: if the image channel is set to JPEG, the number of frames reduced at Image Settings menu item of the Advanced Setup can be further divided here by omitting frames from the image stream.
The frame rate of the current stream is displayed near the Number of skipped frames.
Maximum number of simultaneous connections: Default: 2.
Idle connection limit (in seconds): Default: 10.
Frame limit: connection is closed as the number of frames the camera has sent reaches this value.
Default: 0 (0 = no limit).
Connection time limit: connection is closed after this time is up. It represents the maximal length of connection time in seconds. Default: 0 (0 = no limit).
Handling motion detection frames, select from the followings:
- Store frames if motion detected
- Store frames if motion detected in trigger zone #1
- Store frames if motion detected in trigger zone #2
Values are applied for the current server by clicking the
Save for the server # button that will appear after modifications.
By the
Start recording button the stream can be saved continuously with the above set parameters until it is stopped by the
Stop recording button.
9.6. Stream flow chart
Recommended to read:
Multi mode imaging
Resolutions
Stream Capturing
H264 Encoder Settings
Frame Limiter Settings (FPS)
Stream Settings
Example 1
In case of WVGA sensor (60 FPS, 752 x 480) set the camera in the following way:
- an MJPEG stream should flow on the 9901 port and an H264 stream on the 9911 port
with maximum resolution an maximum FPS (60 FPS, 752 x 480)
Setting process:
-
WEB INTERFACE > ADVANCED SETUP > IMAGE SETTINGS, Image source settings:
The multi mode has to disabled and the resolution has
to be set as high as possible to achieve maximum FPS.
-
WEB INTERFACE > ADVANCED SETUP > ENCODER SETTINGS, H264 encoder settings:
The dual stream (h264) has to be set for the source #1.
-
WEB INTERFACE > ADVANCED SETUP > IMAGE SETTINGS, Frame limiter settings:
The FPS has to be set to the largest possible value in each box.
-
WEB INTERFACE > ADVANCED SETUP > STREAM SETTINGS, Live stream setup:
Server 1: has to be active, Image source : 1, Image channel: JPEG, Streaming type: Multipart JPEG,
Streaming port: 9901, Number of skipped frames: 0
Server 2: has to be active, Image source : 1, Image channel: H264, Streaming type: H264 Elementary Stream,
Streaming port: 9911, Number of skipped frames: 0
The rest of the servers may be disabled
Example 2
In case of WVGA sensor (60 FPS, 752 x 480) set the camera in the following way:
- an MJPEG stream should flow on the 9901 port and an H264 stream on the 9911 port
with maximum resolution and maximum FPS.
-
an MJPEG stream should flow on the 9902 port with lower resolution (368 x 270) and lower FPS.
Setting process:
-
WEB INTERFACE > ADVANCED SETUP > IMAGE SETTINGS, Image source settings:
As the goal is streams with different resolutions, the multi mode has to be activated.
The resolution of each source can be adjusted separately (the FPS can be the highest at this stage)
-
WEB INTERFACE > ADVANCED SETUP > ENCODER SETTINGS, H264 encoder settings:
The dual stream (h264) has to be enabled for the source #1
and disabled for the source #2.
-
WEB INTERFACE > ADVANCED SETUP > IMAGE SETTINGS, Frame limiter settings:
The desired FPS can be set in each box for each source.
-
WEB INTERFACE > ADVANCED SETUP > STREAM SETTINGS, Live stream setup:
Server 1: has to be active, Image source : 1, Image channel: JPEG, Streaming type: Multipart JPEG,
Streaming port: 9901, Number of skipped frames: 0
Server 2: has to be active, Image source : 1, Image channel: H264, Streaming type: H264 Elementary Stream,
Streaming port: 9911, Number of skipped frames: 0
Server 3: has to be active, Image source : 2, Image channel: JPEG, Streaming type: Multipart JPEG,
Streaming port: 9902, Number of skipped frames: 0
The rest of the servers may be disabled.
NOTE
- in case of active multi mode the FPS is halved
- in the above example the desired FPS could be set otherwise (see Stream Flow Chart)
1. WEB INTERFACE > ADVANCED SETUP > IMAGE SETTINGS, Image source settings: resolution@FPS
2. WEB INTERFACE > ADVANCED SETUP > IMAGE SETTINGS, Frame limiter settings: Frame limiter
3. WEB INTERFACE > ADVANCED SETUP > STREAM SETTINGS, Live stream setup: Number of skipped frames
10. Private Zones
It is available at the following location:
WEB INTERFACE > ADVANCED SETUP > PRIVATE ZONES
Recommended to read:
Multi mode imaging
If there are zones in the monitored area, which are prohibited to see, they can be set to be deleted in the images.
Three different private zones can be set here for each source