Video Recording is a feature that is often used by FCS. One of the most important aspects is to evaluate the bandwidth requirements of video recording to adopt appropriate sizes and rates.
Its rough Algorithm Yes:
Video width x video height x playback rate (FPS) = Total Bandwidth (bits/sec)
However, you must note that BPS is used when recording with the FCS, instead of kbps. To convert (8 bits = 1 byte)
For example, a video window of 320x240 is recorded at a rate of 30 FPS. The bandwidth consumption is calculated as follows:
- 320x240x30 FPS = 2.3 Mbps = 288,000 BPS
So how can we set different video settings based on bandwidth conditions? Here are some suggestions.
1: // If the width above 1 m is used, you can use the following settings:
2: Camera. setmode (320,240, 15 );
3: setkeyframe (60 );
4: Camera. setquality (144,000, 85 );
5: microphone. setrate (22 );
6: // total consumed bandwidth: 1,196 kbps
1: // 786 kbps Broadband:
2: Camera. setmode (240,180, 12 );
3: setkeyframe (48 );
4: Camera. setquality (64,800, 85 );
5: microphone. setrate (22 );
6: // total consumed bandwidth: 562 kbps
1: // 384 kbps Broadband:
2: Camera. setmode (192,144, 7 );
3: setkeyframe (28 );
4: Camera. setquality (24,192, 85 );
5: microphone. setrate (11 );
6: // total consumed bandwidth: 216 kbps
1: // 56 kbps Dialing:
2: Camera. setmode (80, 60, 8 );
3: setkeyframe (32 );
4: Camera. setquality (4,800, 85 );
5: microphone. setrate (8 );
6: // total consumed bandwidth: 54 kbps
Of course, you can view your application through the Management Console (I/O display in the streams item)ProgramThe bandwidth consumed for flexible debugging and replacement.
[Modem]
Low image quality, high motion smoothness my_cam.setquality (, 0)
Relatively high image quality, low motion smoothness my_cam.setquality)
DSL]
Low image quality, high motion smoothness my_cam.setquality (12000,0)
Relatively high image quality, low motion smoothness my_cam.setquality)
Lan]
Low image quality, high motion smoothness my_cam.setquality (, 0)
Relatively high image quality, low motion smoothness my_cam.setquality (0,100)