jpegenc

jpegenc — Encode images in JPEG format

Synopsis




                    GstJpegEnc;

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstJpegEnc

Properties


  "quality"                  gint                  : Read / Write

Signals


  "frame-encoded"                                  : Run Last

Description

Element Information

plugin jpeg
author Wim Taymans <wim.taymans@tvd.be>
class Codec/Encoder/Image

Element Pads

name sink
direction sink
presence always
details video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
name src
direction source
presence always
details image/jpeg, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

Details

GstJpegEnc

typedef struct _GstJpegEnc GstJpegEnc;

Property Details

The "quality" property

  "quality"                  gint                  : Read / Write

Quality of encoding.

Allowed values: [0,100]

Default value: 85

Signal Details

The "frame-encoded" signal

void                user_function                      (GstJpegEnc *gstjpegenc,
                                                        gpointer    user_data)       : Run Last

gstjpegenc : the object which received the signal.
user_data : user data set when the signal handler was connected.