Video.SettingsGroup.json 3.95 KB
Newer Older
1 2
[
{
3
    "name":             "videoSource",
4
    "shortDescription": "Video source",
5
    "longDescription":  "Source for video. UDP, TCP, RTSP and UVC Cameras may be supported depending on Vehicle and ground station version.",
6 7 8 9
    "type":             "string",
    "defaultValue":     ""
},
{
10
    "name":             "udpPort",
11 12 13 14 15 16 17
    "shortDescription": "Video UDP Port",
    "longDescription":  "UDP port to bind to for video stream.",
    "type":             "uint16",
    "min":              1025,
    "defaultValue":     5600
},
{
18
    "name":             "rtspUrl",
19 20 21 22 23
    "shortDescription": "Video RTSP Url",
    "longDescription":  "RTSP url address and port to bind to for video stream. Example: rtsp://192.168.42.1:554/live",
    "type":             "string",
    "defaultValue":     ""
},
24
{
25
    "name":             "tcpUrl",
26 27 28 29 30
    "shortDescription": "Video TCP Url",
    "longDescription":  "TCP url address and port to bind to for video stream. Example: 192.168.143.200:3001",
    "type":             "string",
    "defaultValue":     ""
},
31
{
32
    "name":             "videoSavePath",
33 34 35 36
    "shortDescription": "Video save directory",
    "longDescription":  "Directory to save videos to.",
    "type":             "string",
    "defaultValue":     ""
37 38
},
{
39
    "name":             "aspectRatio",
40 41 42 43 44
    "shortDescription": "Video Aspect Ratio",
    "longDescription":  "Video Aspect Ratio (width / height). Use 0.0 to ignore it.",
    "type":             "float",
    "decimalPlaces":    6,
    "defaultValue":     1.777777
45 46
},
{
47
    "name":             "gridLines",
48
    "shortDescription": "Video Grid Lines",
Patrick José Pereira's avatar
Patrick José Pereira committed
49
    "longDescription":  "Displays a grid overlaid over the video view.",
50 51 52 53
    "type":             "uint32",
    "enumStrings":      "Hide,Show",
    "enumValues":       "1,0",
    "defaultValue":     0
54 55
},
{
56 57 58 59 60 61 62 63 64 65
    "name":             "videoFit",
    "shortDescription": "Video Display Fit",
    "longDescription":  "Handle Video Aspect Ratio.",
    "type":             "uint32",
    "enumStrings":      "Fit Width,Fit Height,Stretch",
    "enumValues":       "0,1,2",
    "defaultValue":     1
},
{
    "name":             "showRecControl",
66 67 68 69 70 71
    "shortDescription": "Show Video Record Control",
    "longDescription":  "Show recording control in the UI.",
    "type":             "bool",
    "defaultValue":     true
},
{
72
    "name":             "recordingFormat",
73 74 75 76 77 78 79 80
    "shortDescription": "Video Recording Format",
    "longDescription":  "Video recording file format.",
    "type":             "uint32",
    "enumStrings":      "mkv,mov,mp4",
    "enumValues":       "0,1,2",
    "defaultValue":     0
},
{
81
    "name":             "maxVideoSize",
82 83 84 85 86
    "shortDescription": "Max Video Storage Usage",
    "longDescription":  "Maximum amount of disk space used by video recording.",
    "type":             "uint32",
    "min":              100,
    "units":            "MB",
87 88 89 90
    "defaultValue":     10240,
    "mobileDefaultValue":   2048
},
{
91
    "name":             "enableStorageLimit",
92 93 94 95 96
    "shortDescription": "Enable/Disable Limits on Storage Usage",
    "longDescription":  "When enabled, old video files will be auto-deleted when the total size of QGC-recorded video exceeds the maximum video storage usage.",
    "type":             "bool",
    "defaultValue":     false,
    "mobileDefaultValue":   true
97 98
},
{
99
    "name":             "rtspTimeout",
100 101 102 103 104 105
    "shortDescription": "RTSP Video Timeout",
    "longDescription":  "How long to wait before assuming RTSP link is gone.",
    "type":             "uint32",
    "min":              1,
    "units":            "s",
    "defaultValue":     2
106 107
},
{
108
    "name":             "streamEnabled",
109 110 111 112
    "shortDescription": "Video Stream Enabled",
    "longDescription":  "Start/Stop Video Stream.",
    "type":             "bool",
    "defaultValue":     true
113 114
},
{
115
    "name":             "disableWhenDisarmed",
116 117 118 119
    "shortDescription": "Video Stream Disnabled When Armed",
    "longDescription":  "Disable Video Stream when disarmed.",
    "type":             "bool",
    "defaultValue":     false
120 121
}
]