jpegdec

jpegdec — Decode images from JPEG format

Synopsis

                    GstJpegDec;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstJpegDec

Properties

  "idct-method"              GstIDCTMethod         : Read / Write
  "max-errors"               gint                  : Read / Write

Description

Decodes jpeg images.

Example launch line

gst-launch -v v4l2src ! jpegdec ! ffmpegcolorspace ! xvimagesink
The above pipeline reads a motion JPEG stream from a v4l2 camera and renders it to the screen.

Details

GstJpegDec

typedef struct _GstJpegDec GstJpegDec;

Property Details

The "idct-method" property

  "idct-method"              GstIDCTMethod         : Read / Write

The IDCT algorithm to use.

Default value: Faster, less accurate integer method


The "max-errors" property

  "max-errors"               gint                  : Read / Write

Error out after receiving N consecutive decoding errors (-1 = never error out, 0 = automatic, 1 = fail on first error, etc.)

Allowed values: >= G_MAXULONG

Default value: 0

Since 0.10.27