Video.SettingsGroup.json 4.37 KB
Newer Older
1 2 3 4
{
    "version":      1,
    "fileType":  "FactMetaData",
    "QGC.MetaData.Facts":
5 6
[
{
7
    "name":             "videoSource",
8
    "shortDescription": "Video source",
9
    "longDescription":  "Source for video. UDP, TCP, RTSP and UVC Cameras may be supported depending on Vehicle and ground station version.",
10 11 12 13
    "type":             "string",
    "defaultValue":     ""
},
{
14
    "name":             "udpPort",
15 16 17 18 19 20 21
    "shortDescription": "Video UDP Port",
    "longDescription":  "UDP port to bind to for video stream.",
    "type":             "uint16",
    "min":              1025,
    "defaultValue":     5600
},
{
22
    "name":             "rtspUrl",
23 24 25 26 27
    "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":     ""
},
28
{
29
    "name":             "tcpUrl",
30 31 32 33 34
    "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":     ""
},
35
{
36
    "name":             "videoSavePath",
37 38 39 40
    "shortDescription": "Video save directory",
    "longDescription":  "Directory to save videos to.",
    "type":             "string",
    "defaultValue":     ""
41 42
},
{
43
    "name":             "aspectRatio",
44 45 46 47 48
    "shortDescription": "Video Aspect Ratio",
    "longDescription":  "Video Aspect Ratio (width / height). Use 0.0 to ignore it.",
    "type":             "float",
    "decimalPlaces":    6,
    "defaultValue":     1.777777
49 50
},
{
51
    "name":             "gridLines",
52
    "shortDescription": "Video Grid Lines",
Patrick José Pereira's avatar
Patrick José Pereira committed
53
    "longDescription":  "Displays a grid overlaid over the video view.",
54 55 56 57
    "type":             "uint32",
    "enumStrings":      "Hide,Show",
    "enumValues":       "1,0",
    "defaultValue":     0
58 59
},
{
60 61 62 63 64 65 66 67 68 69
    "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",
70 71 72 73 74 75
    "shortDescription": "Show Video Record Control",
    "longDescription":  "Show recording control in the UI.",
    "type":             "bool",
    "defaultValue":     true
},
{
76
    "name":             "recordingFormat",
77 78 79 80 81 82 83 84
    "shortDescription": "Video Recording Format",
    "longDescription":  "Video recording file format.",
    "type":             "uint32",
    "enumStrings":      "mkv,mov,mp4",
    "enumValues":       "0,1,2",
    "defaultValue":     0
},
{
85
    "name":             "maxVideoSize",
86 87 88 89 90
    "shortDescription": "Max Video Storage Usage",
    "longDescription":  "Maximum amount of disk space used by video recording.",
    "type":             "uint32",
    "min":              100,
    "units":            "MB",
91 92 93 94
    "defaultValue":     10240,
    "mobileDefaultValue":   2048
},
{
95
    "name":             "enableStorageLimit",
96 97 98 99 100
    "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
101 102
},
{
103
    "name":             "rtspTimeout",
104 105 106 107 108 109
    "shortDescription": "RTSP Video Timeout",
    "longDescription":  "How long to wait before assuming RTSP link is gone.",
    "type":             "uint32",
    "min":              1,
    "units":            "s",
    "defaultValue":     2
110 111
},
{
112
    "name":             "streamEnabled",
113 114 115 116
    "shortDescription": "Video Stream Enabled",
    "longDescription":  "Start/Stop Video Stream.",
    "type":             "bool",
    "defaultValue":     true
117 118
},
{
119
    "name":             "disableWhenDisarmed",
120 121 122 123
    "shortDescription": "Video Stream Disnabled When Armed",
    "longDescription":  "Disable Video Stream when disarmed.",
    "type":             "bool",
    "defaultValue":     false
124 125 126 127 128 129 130
},
{
    "name":             "lowLatencyMode",
    "shortDescription": "Tweaks video for lower latency",
    "longDescription":  "If this option is enabled, the rtpjitterbuffer is removed and the video sink is set to assynchronous mode, reducing the latency by about 200 ms.",
    "type":             "bool",
    "defaultValue":     false
131 132
}
]
133
}