mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
* libjpeg-turbo, QJsonSchemaChecker, V4L2 width/height/fps Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com> * Implement hyperion-v4l cli args * Apply v4l2 settings during runtime * feat: Provide minimum values for input restriction * fix: merge mess Co-authored-by: brindosch <edeltraud70@gmx.de>
230 lines
4.5 KiB
JSON
230 lines
4.5 KiB
JSON
{
|
|
"type" : "object",
|
|
"required" : true,
|
|
"title" : "edt_conf_v4l2_heading_title",
|
|
"properties" :
|
|
{
|
|
"device" :
|
|
{
|
|
"type" : "string",
|
|
"title" : "edt_conf_v4l2_device_title",
|
|
"default" : "auto",
|
|
"required" : true,
|
|
"propertyOrder" : 1
|
|
},
|
|
"standard" :
|
|
{
|
|
"type" : "string",
|
|
"title" : "edt_conf_v4l2_standard_title",
|
|
"enum" : ["NO_CHANGE", "PAL","NTSC","SECAM"],
|
|
"default" : "NO_CHANGE",
|
|
"options" : {
|
|
"enum_titles" : ["edt_conf_enum_NO_CHANGE", "edt_conf_enum_PAL", "edt_conf_enum_NTSC", "edt_conf_enum_SECAM"]
|
|
},
|
|
"required" : true,
|
|
"propertyOrder" : 2
|
|
},
|
|
"width" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "edt_conf_fg_width_title",
|
|
"default" : 0,
|
|
"minimum" : 0,
|
|
"required" : true,
|
|
"access" : "expert",
|
|
"propertyOrder" : 3
|
|
},
|
|
"height" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "edt_conf_fg_height_title",
|
|
"default" : 0,
|
|
"minimum" : 0,
|
|
"required" : true,
|
|
"access" : "expert",
|
|
"propertyOrder" : 4
|
|
},
|
|
"fps" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "Framerate",
|
|
"default" : 15,
|
|
"minimum" : 1,
|
|
"required" : true,
|
|
"access" : "expert",
|
|
"propertyOrder" : 5
|
|
},
|
|
"sizeDecimation" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "edt_conf_v4l2_sizeDecimation_title",
|
|
"minimum" : 1,
|
|
"maximum" : 30,
|
|
"default" : 6,
|
|
"required" : true,
|
|
"propertyOrder" : 6
|
|
},
|
|
"cropLeft" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "edt_conf_v4l2_cropLeft_title",
|
|
"minimum" : 0,
|
|
"default" : 0,
|
|
"append" : "edt_append_pixel",
|
|
"required" : true,
|
|
"propertyOrder" : 7
|
|
},
|
|
"cropRight" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "edt_conf_v4l2_cropRight_title",
|
|
"minimum" : 0,
|
|
"default" : 0,
|
|
"append" : "edt_append_pixel",
|
|
"required" : true,
|
|
"propertyOrder" : 8
|
|
},
|
|
"cropTop" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "edt_conf_v4l2_cropTop_title",
|
|
"minimum" : 0,
|
|
"default" : 0,
|
|
"append" : "edt_append_pixel",
|
|
"required" : true,
|
|
"propertyOrder" : 9
|
|
},
|
|
"cropBottom" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "edt_conf_v4l2_cropBottom_title",
|
|
"minimum" : 0,
|
|
"default" : 0,
|
|
"append" : "edt_append_pixel",
|
|
"required" : true,
|
|
"propertyOrder" : 10
|
|
},
|
|
"signalDetection" :
|
|
{
|
|
"type" : "boolean",
|
|
"title" : "edt_conf_v4l2_signalDetection_title",
|
|
"default" : false,
|
|
"required" : true,
|
|
"propertyOrder" : 11
|
|
},
|
|
"redSignalThreshold" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "edt_conf_v4l2_redSignalThreshold_title",
|
|
"minimum" : 0,
|
|
"maximum" : 100,
|
|
"default" : 5,
|
|
"append" : "edt_append_percent",
|
|
"options": {
|
|
"dependencies": {
|
|
"signalDetection": true
|
|
}
|
|
},
|
|
"required" : true,
|
|
"propertyOrder" : 12
|
|
},
|
|
"greenSignalThreshold" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "edt_conf_v4l2_greenSignalThreshold_title",
|
|
"minimum" : 0,
|
|
"maximum" : 100,
|
|
"default" : 5,
|
|
"append" : "edt_append_percent",
|
|
"options": {
|
|
"dependencies": {
|
|
"signalDetection": true
|
|
}
|
|
},
|
|
"required" : true,
|
|
"propertyOrder" : 13
|
|
},
|
|
"blueSignalThreshold" :
|
|
{
|
|
"type" : "integer",
|
|
"title" : "edt_conf_v4l2_blueSignalThreshold_title",
|
|
"minimum" : 0,
|
|
"maximum" : 100,
|
|
"default" : 5,
|
|
"append" : "edt_append_percent",
|
|
"options": {
|
|
"dependencies": {
|
|
"signalDetection": true
|
|
}
|
|
},
|
|
"required" : true,
|
|
"propertyOrder" : 14
|
|
},
|
|
"sDVOffsetMin" :
|
|
{
|
|
"type" : "number",
|
|
"title" : "edt_conf_v4l2_sDVOffsetMin_title",
|
|
"minimum" : 0.0,
|
|
"maximum" : 1.0,
|
|
"default" : 0.25,
|
|
"step" : 0.01,
|
|
"options": {
|
|
"dependencies": {
|
|
"signalDetection": true
|
|
}
|
|
},
|
|
"required" : true,
|
|
"propertyOrder" : 15
|
|
},
|
|
"sDVOffsetMax" :
|
|
{
|
|
"type" : "number",
|
|
"title" : "edt_conf_v4l2_sDVOffsetMax_title",
|
|
"minimum" : 0.0,
|
|
"maximum" : 1.0,
|
|
"default" : 0.75,
|
|
"step" : 0.01,
|
|
"options": {
|
|
"dependencies": {
|
|
"signalDetection": true
|
|
}
|
|
},
|
|
"required" : true,
|
|
"propertyOrder" : 16
|
|
},
|
|
"sDHOffsetMin" :
|
|
{
|
|
"type" : "number",
|
|
"title" : "edt_conf_v4l2_sDHOffsetMin_title",
|
|
"minimum" : 0.0,
|
|
"maximum" : 1.0,
|
|
"default" : 0.25,
|
|
"step" : 0.01,
|
|
"options": {
|
|
"dependencies": {
|
|
"signalDetection": true
|
|
}
|
|
},
|
|
"required" : true,
|
|
"propertyOrder" : 17
|
|
},
|
|
"sDHOffsetMax" :
|
|
{
|
|
"type" : "number",
|
|
"title" : "edt_conf_v4l2_sDHOffsetMax_title",
|
|
"minimum" : 0.0,
|
|
"maximum" : 1.0,
|
|
"default" : 0.75,
|
|
"step" : 0.01,
|
|
"options": {
|
|
"dependencies": {
|
|
"signalDetection": true
|
|
}
|
|
},
|
|
"required" : true,
|
|
"propertyOrder" : 18
|
|
}
|
|
},
|
|
"additionalProperties" : true
|
|
}
|