Skip to content

Device Commands

gtxaspec edited this page Jul 14, 2023 · 6 revisions

cmd

welcome to: cmd <arg>

arg can be:
jpeg <channel> <-n>
 Note: -n denotes no header
video <channel> <on/off>
audio <channel> <on/off>
move <x> <y>
waitMotion <timeout> (you must enable motion tagging in the app first)
irled <on/off>
aplay <file path> <volume 1-100>
curlDebug on, off, disable_video
mp4write <on/off> (t31 only)
timelapse <file> <interval> <count>

imp_control

Only available when RTSP server is enabled, values are reset to default upon reboot. Tune various audio and video parameters supported by IMP.

cmd imp_control <command> <value> IMP_CONTROL

function name Value Description
AUDIO
agc_on Enable Automatic Gain Control
agc_off Disable Automatic Gain Control
hpf_on Enable High Pass Filter
hpf_off Disable High Pass Filter
ns_on Enable Noise Supression
ns_off Disable Noise Supression
aec_on Enable Automatic Echo Cancellation
aec_off Disable Automatic Echo Cancellation
ai_vol -30 to 120 Audio Input Volume
ai_gain 0 to 31 Audio Input Gain
alc_gain 0 to 7 Automatic Level Control Gain
ao_gain 0 to 31 Audio Output Gain
ao_vol -30 to 120 Audio Output Volume
------------- ------------- -----------
VIDEO
flip_mirror Mirror Image
flip_vertical Flip Vertical
flip_horizontal Flip Horizontal
flip_normal Normal Image
tune_contrast -128 to 128 Contrast Control
tune_brightness -128 to 128 Brightness Control
tune_sharpness -128 to 128 Sharpness Control
tune_saturation -128 to 128 Saturation Control
tune_aecomp 0 to 255 Auto Exposure Target
tune_aeitmax 0 to 10000 Auto Exposure Maxiumum (no v2)
tune_dpc_strength -128 to 128 DPC Strength (no v2)
tune_drc_strength -128 to 128 DRC Strength (no v2)
tune_hilightdepress 0 to 10 Glare Supression
tune_temper -128 to 128 3D Noise reduction strength
tune_sinter -128 to 128 2D Noise reduction strength
tune_again 0 to 99999 Set sensor A-Gain maximum
tune_dgain see notes Maximum D-Gain set by the ISP
tune_backlightcomp -1 to 3500 Backlight Compensation? (undocumented, no v2)
tune_dps 50 to 150 Set DPC intensity (v2 only)

tune_dgain: 0 means 1x, 32 means 2x, and so on

need help: change framerate dynamically up to 30fps change audio hz frequency dynamically up to 44100 change audio format from g711 move OSD to user specified region white balance adjustment enable wide dynamic range support exposure value support

Clone this wiki locally