# y4menc

Creates a YU4MPEG2 raw video stream as defined by the mjpegtools project.

## Example launch line

(write everything in one line, without the backslash characters)

     gst-launch-1.0 videotestsrc num-buffers=250 \
     ! 'video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)25/1' \
     ! y4menc ! filesink location=test.yuv

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──y4menc

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Wim Taymans

Classification: – `Codec/Encoder/Video`

Rank – primary

Plugin – y4menc

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: { IYUV, I420, Y42B, Y41B, Y444 }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    application/x-yuv4mpeg:
         y4mversion: 2

Presence – always

Direction – src

Object type – GstPad

The results of the search are