Media profiles for
ONVIF cameras
A media profile defines how your ONVIF camera processes and streams video: resolution, encoding format, bit rate mode, frame rate, and bandwidth budget. Getting this right for your specific scenario is the difference between clear usable footage and a bloated, laggy stream.
What a media profile controls
Every ONVIF camera exposes one or more media profiles in its configuration interface. Each profile is a named bundle of five settings that together determine the quality, smoothness, and bandwidth cost of the video stream. Banalytics reads these profiles at connection time, so choosing the right one helps performance immediately.
Video encoding: five codecs
The encoding format determines how raw video frames are compressed for transmission. More efficient codecs produce smaller files and lower bandwidth usage at equivalent quality, but require more processing power to encode and decode.
Encoding mode: CBR vs VBR
The encoding mode controls how the camera allocates its bit budget. CBR locks to a fixed rate regardless of scene complexity; VBR adapts by using more bits for complex scenes and fewer for static ones.
| Mode | Quality level | Best use |
|---|---|---|
CBR | Consistent streams, remote monitoring, predictable bandwidth | |
VBRBest | Recording where quality is paramount | |
VBRBetter | PTZ cameras, motion-heavy scenes, good networks | |
VBRGood | Low-light and general surveillance | |
VBRNormal | Motion detection, background monitoring | |
VBRPoor | Severely bandwidth-constrained feeds |
Resolution, frame rate & bit rate
These three parameters work together. Raising any one increases bandwidth consumption, so set them as a group based on your network budget and use case requirements.
Media profile reference
Six pre-defined profiles cover the most common ONVIF surveillance scenarios. Each includes the five parameters, trade-off indicators, and when to use it.
Profile summary at a glance
| Scenario | Resolution | Codec | FPS | Bit rate |
|---|---|---|---|---|
| Motion detection | HD 720p | H.264B - VBRNormal | 10 | 1024 kbps |
| Real-time remote monitoring | FHD 1080p | H.264H - CBR | 15-20 | 2048 kbps |
| High-quality recording | FHD 1080p | H.265 - VBRBest | 25 | 4096 kbps |
| Low-bandwidth | SD 480p | MJPEG - VBRPoor | 5 | 512 kbps |
| Nighttime / low-light | HD 720p | H.264M - VBRGood | 10 | 1024 kbps |
| PTZ control | HD 720p | MJPEG - VBRBetter | 20 | 2048 kbps |
Configuring ONVIF media profiles in Banalytics?
Media profiles are selected per camera in the Banalytics camera setup interface. See the audio profiles article for the companion audio configuration guide.