# jpegparse

Parses a JPEG stream into JPEG images. It looks for EOI boundaries to split a continuous stream into single-frame buffers. Also reads the image header searching for image properties such as width and height among others. Jpegparse can also extract metadata (e.g. xmp).

## Example launch line

     gst-launch-1.0 -v souphttpsrc location=... ! jpegparse ! matroskamux ! filesink location=...

The above pipeline fetches a motion JPEG stream from an IP camera over HTTP and stores it in a matroska file.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseParse
                        ╰──jpegparse

## Factory details

Authors: – Víctor Jáquez <vjaquez@igalia.com></vjaquez@igalia.com>

Classification: – `Codec/Parser/Image`

Rank – primary

Plugin – jpegformat

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    image/jpeg:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    image/jpeg:
          framerate: [ 0/1, 2147483647/1 ]
             parsed: true

Presence – always

Direction – src

Object type – GstPad

The results of the search are