# msdkmjpegenc

MJPEG video encoder based on Intel MFX

## Example launch line

    gst-launch-1.0 videotestsrc num-buffers=1 ! msdkmjpegenc ! jpegparse ! filesink location=output.jpg

## Hierarchy

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

## Factory details

Authors: – Scott D Phillips

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

Rank – none

Plugin – msdk

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw
            format: { NV12, 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`

    image/jpeg
         framerate: [ 0/1, 2147483647/1 ]
             width: [ 1, 2147483647 ]
            height: [ 1, 2147483647 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### quality

    “quality” guint

Quality of encoding

Flags : Read / Write

Default value : 85

The results of the search are