# 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: – Arnout Vandecappelle (Essensium/Mind)

Classification: – `Video/Parser`

Rank – none

Plugin – jpegformat

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    image/jpeg:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    image/jpeg:
             format: { I420, Y41B, UYVY, YV12 }
              width: [ 0, 2147483647 ]
             height: [ 0, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
             parsed: true

Presence – always

Direction – src

Object type – GstPad

The results of the search are