Video.SettingsGroup.json 3.26 KB
Newer Older
1 2 3 4
[
{
    "name":             "VideoSource",
    "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 10 11 12 13 14 15 16 17 18 19 20 21 22 23
    "type":             "string",
    "defaultValue":     ""
},
{
    "name":             "VideoUDPPort",
    "shortDescription": "Video UDP Port",
    "longDescription":  "UDP port to bind to for video stream.",
    "type":             "uint16",
    "min":              1025,
    "defaultValue":     5600
},
{
    "name":             "VideoRTSPUrl",
    "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 26 27 28 29 30
{
    "name":             "VideoTCPUrl",
    "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 33 34 35 36
{
    "name":             "VideoSavePath",
    "shortDescription": "Video save directory",
    "longDescription":  "Directory to save videos to.",
    "type":             "string",
    "defaultValue":     ""
37 38 39 40 41 42 43 44
},
{
    "name":             "VideoAspectRatio",
    "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 48
},
{
    "name":             "VideoGridLines",
    "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 66 67 68 69 70 71 72 73 74 75 76 77
},
{
    "name":             "ShowRecControl",
    "shortDescription": "Show Video Record Control",
    "longDescription":  "Show recording control in the UI.",
    "type":             "bool",
    "defaultValue":     true
},
{
    "name":             "RecordingFormat",
    "shortDescription": "Video Recording Format",
    "longDescription":  "Video recording file format.",
    "type":             "uint32",
    "enumStrings":      "mkv,mov,mp4",
    "enumValues":       "0,1,2",
    "defaultValue":     0
},
{
    "name":             "MaxVideoSize",
    "shortDescription": "Max Video Storage Usage",
    "longDescription":  "Maximum amount of disk space used by video recording.",
    "type":             "uint32",
    "min":              100,
    "units":            "MB",
78 79 80 81 82 83 84 85 86 87
    "defaultValue":     10240,
    "mobileDefaultValue":   2048
},
{
    "name":             "EnableStorageLimit",
    "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
88 89 90 91 92 93 94 95 96
},
{
    "name":             "RtspTimeout",
    "shortDescription": "RTSP Video Timeout",
    "longDescription":  "How long to wait before assuming RTSP link is gone.",
    "type":             "uint32",
    "min":              1,
    "units":            "s",
    "defaultValue":     2
97 98
}
]