Get or set the video bitrate for night time mode.
The URL is the same as the URL VIDEO_BITRATE in the ENCODER CGI. This URLs is only available in PlatformT encoders. When the camera enters the night time state, the night time video profile will be loaded. The video bitrate in the video stream is the one of parameters in the night time video profile. Please refer to the parameters of night time profile for further details.
This URL will take effect if
- The device enters night time mode
- The encoder type is MPEG4 or H.264. (refer to VIDEO_ENCODER)
- The Video Quality is NONE in MPEG4/H.264 encoding (refer to NIGHT_MPEG4_QUALITY and NIGHT_H264_QUALITY).
- The Maximum Video Bitrate is unlimited for MPEG4/H.264 encoding (refer to NIGHT_MAX_BITRATE)
In dual streaming mode, the CHANNEL=n indicates the video stream for setting the video bitrate. For example, the CHANNEL=1&NIGHT_BITRATE=3M sets the video stream 1 video bitrate to 3Mbps.
28K, 56K, 128K, 256K, 384K, 500K, 750K, 1M, 1.2M, 1.5M, 2M, 2.5M, 3M, 3.5M, 4M, 4.5M, 5M, 5.5M, 6M in unit of bits/sec.
NIGHT_BITRATE='3M'
OK: NIGHT_BITRATE='3M'
or
ERROR: NIGHT_BITRATE='3M'
Valid
VIDEO_ENCODER, NIGHT_MPEG4_QUALITY, NIGHT_H264_QUALITY, NIGHT_MAX_BITRATE
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&NIGHT_BITRATE
or
http://ip:port/cgi-bin/cmd/encoder?NIGHT_BITRATE
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&NIGHT_BITRATE=3M
or
http://ip:port/cgi-bin/cmd/encoder?NIGHT_BITRATE=3M