For low-end devices with lower configurations, how to choose capture configuration and encoding resolution to reduce performance overhead?
Low-end devices with lower configurations, in actual business scenarios, due to poor CPU and GPU performance, need to reduce the data volume during capture and transmission as much as possible, as well as reduce the complexity of data processing, to reduce the overhead in image processing in the process.
The following are several ways to reduce performance overhead.
Use lower capture configuration
- Use lower encoding resolution.
- Use lower frame rate.
- Use the minimum bitrate required for the current encoding resolution and frame rate.
You can refer to the following recommended configuration:
| Video Format | Resolution | Frame Rate | Bitrate |
|---|---|---|---|
| PRESET_180P | 180 x 320 | 15 fps | 300 kbps |
| PRESET_270P | 270 x 480 | 15 fps | 400 kbps |
| PRESET_360P | 360 x 640 | 15 fps | 600 kbps |
| PRESET_540P | 540 x 960 | 15 fps | 1200 kbps |
| PRESET_720P | 720 x 1280 | 15 fps | 1500 kbps |
| PRESET_1080P | 1080 x 1920 | 15 fps | 3000 kbps |
Keep resolution selection consistent
Capture resolution and encoding resolution should be kept as consistent as possible; if they cannot be consistent, try to make the capture resolution and encoding resolution proportionally consistent.
For example: capture resolution 270 x 480, encoding resolution 180 x 320.
Consistent resolution can ensure that one less scaling is performed during encoding, achieving the purpose of saving performance.
Choose appropriate capture method
You can enable hardware encoding and decoding by default. If the machine supports hardware encoding and decoding, prioritize using hardware encoding and decoding to reduce CPU performance usage.

