y4menc

y4menc — Encodes a YUV frame into the yuv4mpeg format (mjpegtools)

Synopsis




            GstY4mEncode;

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstY4mEncode

Description

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-0.10 videotestsrc num-buffers=250 \
! 'video/x-raw-yuv,format=(fourcc)I420,width=320,height=240,framerate=(fraction)25/1' \
! y4menc ! filesink location=test.yuv

Synopsis

Element Information

plugin y4menc
author Wim Taymans <wim.taymans@chello.be>
class Codec/Encoder/Video

Element Pads

name src
direction source
presence always
details application/x-yuv4mpeg, y4mversion=(int)2
name sink
direction sink
presence always
details video/x-raw-yuv, format=(fourcc){ IYUV, I420 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

Details

GstY4mEncode

typedef struct _GstY4mEncode GstY4mEncode;