# msdkmpeg2enc

MPEG2 video encoder based on Intel MFX

## Example launch line

    gst-launch-1.0 videotestsrc num-buffers=90 ! msdkmpeg2enc ! mpegvideoparse ! filesink location=output.mpg

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──GstMsdkEnc
                            ╰──msdkmpeg2enc

## Factory details

Authors: – Josep Torra

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

Rank – none

Plugin – msdk

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw
            format: { NV12, I420, YV12, YUY2, UYVY, BGRA }
             width: [ 1, 2147483647 ]
            height: [ 1, 2147483647 ]
         framerate: [ 0/1, 2147483647/1 ]
    interlace-mode: progressive
    video/x-raw(memory:DMABuf)
            format: NV12
             width: [ 1, 2147483647 ]
            height: [ 1, 2147483647 ]
         framerate: [ 0/1, 2147483647/1 ]
    interlace-mode: progressive

Presence – always

Direction – sink

Object type – GstPad

### `src`

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

Presence – always

Direction – src

Object type – GstPad

The results of the search are