jpegdec

jpegdec — Decode images from JPEG format

Synopsis

struct              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 ! jpegddec ! ffmpegcolorspace ! xvimagesink
The above pipeline reads a motion JPEG stream from a v4l2 camera and renders it to the screen.

Synopsis

Element Information

plugin

jpeg

author

Wim Taymans <wim@fluendo.com>

class

Codec/Decoder/Image

Element Pads

name

sink

direction

sink

presence

always

details

image/jpeg, width=(int)[ 1, 65535 ], height=(int)[ 1, 65535 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

name

src

direction

source

presence

always

details

video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-raw-gray, bpp=(int)8, depth=(int)8, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

Details

struct GstJpegDec

struct 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: >= -1

Default value: 0

Since 0.10.27