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