# y4mdec

The gsty4mdec element decodes uncompressed video in YUV4MPEG format.

## Example launch line

     gst-launch-1.0 -v filesrc location=file.y4m ! y4mdec ! xvimagesink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseParse
                        ╰──y4mdec

## Factory details

Authors: – David Schleef Victor Jaquez

Classification: – `Codec/Demuxer`

Rank – secondary

Plugin – y4m

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

    application/x-yuv4mpeg:
         y4mversion: 2

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: { I420, Y42B, Y41B, Y444, A444, GRAY8, I420_12LE, I422_12LE, Y444_12LE, I420_10LE, I422_10LE, Y444_10LE, GRAY10_LE16, GRAY16_LE }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

The results of the search are