# d3d11mpeg2dec

A Direct3D11/DXVA based MPEG-2 video decoder

## Example launch line

    gst-launch-1.0 filesrc location=/path/to/mpeg2/file ! parsebin ! d3d11mpeg2dec ! d3d11videosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoDecoder
                        ╰──GstMpeg2Decoder
                            ╰──d3d11mpeg2dec

## Factory details

Authors: – Seungha Yang

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

Rank – secondary

Plugin – d3d11

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/mpeg:
        mpegversion: 2
       systemstream: false
            profile: { (string)main, (string)simple }
              width: [ 1, 1920 ]
             height: [ 1, 1920 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw(memory:D3D11Memory):
             format: NV12
              width: [ 1, 1920 ]
             height: [ 1, 1920 ]
    video/x-raw:
             format: NV12
              width: [ 1, 1920 ]
             height: [ 1, 1920 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### adapter-luid

    “adapter-luid” gint64

DXGI Adapter LUID for this element

Flags : Read

Default value : 86670

### device-id

    “device-id” guint

DXGI Device ID

Flags : Read

Default value : 35410

### vendor-id

    “vendor-id” guint

DXGI Vendor ID

Flags : Read

Default value : 32902

The results of the search are