## vaapidecodebin

vaapidecodebin — A VA-API based video decoder with a post-processor

## Properties

GstVaapiDeinterlaceMethod | deinterlace-method | Read / Write
gboolean | disable-vpp | Read / Write
guint | max-size-buffers | Read / Write
guint | max-size-bytes | Read / Write
guint64 | max-size-time | Read / Write

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GstObject
                ╰── GstElement
                    ╰── GstBin
                        ╰── GstVaapiDecodeBin

## Description

vaapidecodebin is similar GstVaapiDecode, but it is composed by the vaapidecode, a GstQueue, and the GstVaapiPostproc, if it is available and functional in the setup.

It offers the functionality of GstVaapiDecode and the many options of GstVaapiPostproc.

### Example launch line

    gst-launch-1.0 filesrc location=~/big_buck_bunny.mov ! qtdemux ! h264parse ! vaapidecodebin ! vaapisink

## Synopsis

### Element Information

plugin | vaapi
author | Sreerenj Balachandran <sreerenj.balachandran@intel.com>, Victor Jaquez <victorx.jaquez@intel.com>
class | Codec/Decoder/Video

### Element Pads

name | sink
direction | sink
presence | always
details | video/mpeg, mpegversion=(int)2, systemstream=(boolean)false
| video/mpeg, mpegversion=(int)4
| video/x-divx
| video/x-xvid
| video/x-h263
| video/x-h264
| video/x-h265
| video/x-wmv
| video/x-vp8
| video/x-vp9

name | src
direction | source
presence | always
details | video/x-raw(memory:VASurface), format=(string){ ENCODED, I420, YV12, NV12 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive
| video/x-raw(meta:GstVideoGLTextureUploadMeta), format=(string){ RGBA, BGRA }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive

video/x-raw, format=(string){ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV61, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE, NV12_64Z32, A420_10LE, A420_10BE, A422_10LE, A422_10BE, A444_10LE, A444_10BE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive

## Functions

## Types and Values

## Property Details

### The `“deinterlace-method”` property

      “deinterlace-method”       GstVaapiDeinterlaceMethod

Deinterlace method to use.

Flags: Read / Write

Default value: Bob deinterlacing

### The `“disable-vpp”` property

      “disable-vpp”              gboolean

Disable Video Post Processing (No support for run time disabling).

Flags: Read / Write

Default value: FALSE

### The `“max-size-buffers”` property

      “max-size-buffers”         guint

Max. number of buffers in the queue (0=disable).

Flags: Read / Write

Default value: 0

### The `“max-size-bytes”` property

      “max-size-bytes”           guint

Max. amount of data in the queue (bytes, 0=disable).

Flags: Read / Write

Default value: 0

### The `“max-size-time”` property

      “max-size-time”            guint64

Max. amount of data in the queue (in ns, 0=disable).

Flags: Read / Write

Default value: 0