# vtdec_hw

Apple VideoToolbox based HW-only decoder.

## Example launch line

     gst-launch-1.0 -v filesrc location=file.mov ! qtdemux ! queue ! h264parse ! vtdec_hw ! videoconvert ! autovideosink

Decode h264 video from a mov file.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoDecoder
                        ╰──GstVtdec
                            ╰──vtdec_hw

## Factory details

Authors: – Ole André Vadla Ravnås ; Alessandro Decina

Classification: – `Codec/Decoder/Video/Hardware`

Rank – primary + 1

Plugin – applemedia

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-h264:
      stream-format: avc
          alignment: au
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/x-h265:
      stream-format: { (string)hev1, (string)hvc1 }
          alignment: au
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
    video/mpeg:
        mpegversion: 2
       systemstream: false
             parsed: true
    image/jpeg:
    video/x-prores:
            variant: { (string)standard, (string)hq, (string)lt, (string)proxy, (string)4444, (string)4444xq }

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: { NV12, AYUV64, ARGB64_BE, RGBA64_LE }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

    video/x-raw(memory:GLMemory):
             format: { NV12, AYUV64, ARGB64_BE }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
     texture-target: rectangle

Presence – always

Direction – src

Object type – GstPad

The results of the search are