# rtpj2kpay

Payload encode JPEG 2000 images into RTP packets according to RFC 5371 and RFC 5372. For detailed information see: https://datatracker.ietf.org/doc/rfc5371/ and https://datatracker.ietf.org/doc/rfc5372/

The payloader takes a JPEG 2000 image, scans it for "packetization units" and constructs the RTP packet header followed by the JPEG 2000 codestream. A "packetization unit" is defined as either a JPEG 2000 main header, a JPEG 2000 tile-part header, or a JPEG 2000 packet.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstRTPBasePayload
                        ╰──rtpj2kpay

## Factory details

Authors: – Wim Taymans

Classification: – `Codec/Payloader/Network/RTP`

Rank – secondary

Plugin – rtp

Package – GStreamer Good Plug-ins

## Pad Templates

### `sink`

    image/x-jpc:
           sampling: { (string)RGB, (string)BGR, (string)RGBA, (string)BGRA, (string)YCbCrA, (string)YCbCr-4:4:4, (string)YCbCr-4:2:2, (string)YCbCr-4:2:0, (string)YCbCr-4:1:1, (string)GRAYSCALE }

Presence – always

Direction – sink

Object type – GstPad

### `src`

    application/x-rtp:
              media: video
            payload: [ 96, 127 ]
         clock-rate: 90000
           sampling: { (string)RGB, (string)BGR, (string)RGBA, (string)BGRA, (string)YCbCrA, (string)YCbCr-4:4:4, (string)YCbCr-4:2:2, (string)YCbCr-4:2:0, (string)YCbCr-4:1:1, (string)GRAYSCALE }
      encoding-name: JPEG2000

Presence – always

Direction – src

Object type – GstPad

The results of the search are