The relationship between code stream, code rate and frame rate and setting suggestions
It clarifies three easily confused concepts, gives recommended parameters in different scenarios, and strikes a balance between image quality, fluency and storage cost.
Three concepts
- Resolution: The pixel size of the image, such as 1920×1080.
- Frame rate (fps): Number of images per second. 25fps is the mainstream in China, and 60fps is smoother but doubles the amount of data.
- Bit rate (bps): The amount of data transmitted/stored per second determines the detail of the image quality. Common 2Mbps, 4Mbps.
Simple understanding: Total data volume ≈ bit rate × time, and the bit rate is affected by resolution, frame rate, picture complexity and encoding algorithm.
Recommended parameter comparison (H.265)
| Resolution | Frame rate | Static scene | General scene | Complex/high-speed scene |
|---|---|---|---|---|
| 2 million | 25fps | 1.5 Mbps | 2~3 Mbps | 4 Mbps |
| 4 million | 25fps | 2.5 Mbps | 4~5 Mbps | 6 Mbps |
| 8 million | 25fps | 5 Mbps | 8~10 Mbps | 12 Mbps |
How to determine the frame rate
- 25fps: Conventional monitoring, coherent picture, domestic standard.
- 15fps: There is basically no lag to the human eye. It can save about 40% of storage and is suitable for slow scenes such as corridors.
- 8~12fps: Obviously saves storage, but fast moving objects will feel like they are jumping.
- 60fps: Only used in special scenes where high-speed motion details need to be captured (such as production line inspection).
Optimization ideas
- Use H.265 / H.265+ encoding first, which saves about 40% to 50% bit rate than H.264.
- Static areas (such as warehouses and corridors) reduce the frame rate and bit rate, and dynamic entrances and exits maintain high bit rates.
- Enable Dynamic Bitrate (VBR) to allow the bitrate to automatically adjust with the complexity of the image.
- Set high bit rates individually for key channels, and use low bit rates for common channels to avoid "one size fits all".
- Reasonably delineate motion detection areas to reduce invalid recordings.
Related content
What is an IPC network camera? What is the difference from analog cameras
08-29
How to choose surveillance camera resolution: 2 million, 4 million, 8 million pixels
08-27
How to choose camera lens focal length: 2.8 / 4 / 6 / 8 / 12mm field of view comparison
08-25
What is wide dynamic range (WDR)? Why must backlight scenes be turned on?
08-23
Low-light and starlight cameras: how 0.001Lux is achieved
08-21
The principles, effective distance and common misunderstandings of infrared night vision
08-19
How to calculate monitoring storage capacity: comparison of resolution, bit rate and storage days
08-15
Differences and selection suggestions between H.264, H.265 and H.265+
08-13
