docs: Add vah264enc metadata.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1051>
This commit is contained in:
Víctor Manuel Jáquez Leal 2022-02-21 12:26:49 +01:00
parent 1f2f135cdb
commit c769a089ea

View file

@ -227066,6 +227066,318 @@
},
"rank": "none"
},
"vah264enc": {
"author": "He Junyan <junyan.he@intel.com>",
"description": "VA-API based H.264 video encoder",
"hierarchy": [
"GstVaH264Enc",
"GstVideoEncoder",
"GstElement",
"GstObject",
"GInitiallyUnowned",
"GObject"
],
"interfaces": [
"GstPreset"
],
"klass": "Codec/Encoder/Video/Hardware",
"long-name": "VA-API H.264 Encoder",
"pad-templates": {
"sink": {
"caps": "video/x-raw(memory:VAMemory):\n format: { NV12 }\n width: [ 1, 2147483647 ]\n height: [ 1, 2147483647 ]\n framerate: [ 0/1, 2147483647/1 ]\nvideo/x-raw:\n format: { NV12 }\n width: [ 1, 2147483647 ]\n height: [ 1, 2147483647 ]\n framerate: [ 0/1, 2147483647/1 ]\n",
"direction": "sink",
"presence": "always"
},
"src": {
"caps": "video/x-h264:\n",
"direction": "src",
"presence": "always"
}
},
"properties": {
"aud": {
"blurb": "Insert AU (Access Unit) delimeter for each frame",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "false",
"mutable": "null",
"readable": true,
"type": "gboolean",
"writable": true
},
"b-frames": {
"blurb": "Number of B frames between I and P reference frames",
"conditionally-available": true,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "0",
"max": "31",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"b-pyramid": {
"blurb": "Enable the b-pyramid reference structure in the GOP",
"conditionally-available": true,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "false",
"mutable": "null",
"readable": true,
"type": "gboolean",
"writable": true
},
"bitrate": {
"blurb": "The desired bitrate expressed in kbps (0: auto-calculate)",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "0",
"max": "2048000",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"cabac": {
"blurb": "Enable CABAC entropy coding mode",
"conditionally-available": true,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "true",
"mutable": "null",
"readable": true,
"type": "gboolean",
"writable": true
},
"cpb-size": {
"blurb": "The desired max CPB size in Kb (0: auto-calculate)",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "0",
"max": "2048000",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"dct8x8": {
"blurb": "Enable adaptive use of 8x8 transforms in I-frames",
"conditionally-available": true,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "true",
"mutable": "null",
"readable": true,
"type": "gboolean",
"writable": true
},
"i-frames": {
"blurb": "Force the number of I frames insertion within one GOP, not including the first IDR frame",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "0",
"max": "1023",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"key-int-max": {
"blurb": "The maximal distance between two keyframes. It decides the size of GOP (0: auto-calculate)",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "0",
"max": "1024",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"max-qp": {
"blurb": "Maximum quantizer value for each frame",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "51",
"max": "51",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"mbbrc": {
"blurb": "Macroblock level Bitrate Control. It is not compatible with CQP",
"conditionally-available": true,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "auto (0)",
"mutable": "null",
"readable": true,
"type": "GstVaH264Mbbrc",
"writable": true
},
"min-qp": {
"blurb": "Minimum quantizer value for each frame",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "1",
"max": "51",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"num-slices": {
"blurb": "Number of slices per frame",
"conditionally-available": true,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "1",
"max": "200",
"min": "1",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"qpb": {
"blurb": "The quantizer value for B frame. This is available only in CQP mode",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "26",
"max": "51",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"qpi": {
"blurb": "The quantizer value for I frame. In CQP mode, it specifies the QP of I frame, in other mode, it specifies the init QP of all frames",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "26",
"max": "51",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"qpp": {
"blurb": "The quantizer value for P frame. This is available only in CQP mode",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "26",
"max": "51",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"rate-control": {
"blurb": "The desired rate control mode for the encoder",
"conditionally-available": true,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "cbr (2)",
"mutable": "null",
"readable": true,
"type": "GstVaH264EncRateControl",
"writable": true
},
"ref-frames": {
"blurb": "Number of reference frames, including both the forward and the backward",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "3",
"max": "16",
"min": "0",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"target-percentage": {
"blurb": "The percentage for 'target bitrate'/'maximum bitrate' (Only in VBR)",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "66",
"max": "100",
"min": "50",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"target-usage": {
"blurb": "The target usage to control and balance the encoding speed/quality",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "4",
"max": "7",
"min": "1",
"mutable": "null",
"readable": true,
"type": "guint",
"writable": true
},
"trellis": {
"blurb": "Enable the trellis quantization method",
"conditionally-available": true,
"construct": true,
"construct-only": false,
"controllable": false,
"default": "false",
"mutable": "null",
"readable": true,
"type": "gboolean",
"writable": true
}
},
"rank": "none"
},
"vah265dec": {
"author": "Nicolas Dufresne <nicolas.dufresne@collabora.com>",
"description": "VA-API based H.265 video decoder",
@ -227257,6 +227569,51 @@
"value": "4"
}
]
},
"GstVaH264EncRateControl": {
"kind": "enum",
"values": [
{
"desc": "Constant Bitrate",
"name": "cbr",
"value": "2"
},
{
"desc": "Variable Bitrate",
"name": "vbr",
"value": "4"
},
{
"desc": "Video Conferencing Mode (Non HRD compliant)",
"name": "vcm",
"value": "8"
},
{
"desc": "Constant Quantizer",
"name": "cqp",
"value": "16"
}
]
},
"GstVaH264Mbbrc": {
"kind": "enum",
"values": [
{
"desc": "Auto choose",
"name": "auto",
"value": "0"
},
{
"desc": "Always enable",
"name": "enable",
"value": "1"
},
{
"desc": "Always disable",
"name": "disable",
"value": "2"
}
]
}
},
"package": "GStreamer Bad Plug-ins",