# openjpegenc

Encode JPEG2000 streams

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──openjpegenc

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Sebastian Dröge

Classification: – `Codec/Encoder/Video`

Rank – primary

Plugin – openjpeg

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: { ARGB64, ARGB, xRGB, AYUV64, Y444_10LE, I422_10LE, I420_10LE, AYUV, Y444, Y42B, I420, Y41B, YUV9, GRAY8, GRAY16_LE }
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    image/x-j2c:
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
     num-components: [ 1, 4 ]
        num-stripes: [ 1, 2147483647 ]
           sampling: { (string)RGB, (string)BGR, (string)RGBA, (string)BGRA, (string)YCbCr-4:4:4, (string)YCbCr-4:2:2, (string)YCbCr-4:2:0, (string)YCbCr-4:1:1, (string)GRAYSCALE, (string)YCbCrA-4:4:4:4 }
         colorspace: { (string)sRGB, (string)sYUV, (string)GRAY }
    image/x-jpc:
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
     num-components: [ 1, 4 ]
           sampling: { (string)RGB, (string)BGR, (string)RGBA, (string)BGRA, (string)YCbCr-4:4:4, (string)YCbCr-4:2:2, (string)YCbCr-4:2:0, (string)YCbCr-4:1:1, (string)GRAYSCALE, (string)YCbCrA-4:4:4:4 }
         colorspace: { (string)sRGB, (string)sYUV, (string)GRAY }
    image/jp2:
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### num-layers

    “num-layers” gint

Number of layers

Flags : Read / Write

Default value : 1

### num-resolutions

    “num-resolutions” gint

Number of resolutions

Flags : Read / Write

Default value : 6

### num-stripes

    “num-stripes” gint

Number of stripes to use for low latency encoding . (1 = low latency disabled)

Flags : Read / Write

Default value : 1

### progression-order

    “progression-order” Open-jpegenc-progression-order *

Progression order

Flags : Read / Write

Default value : lrcp (0)

### tile-height

    “tile-height” gint

Tile Height

Flags : Read / Write

Default value : 0

### tile-offset-x

    “tile-offset-x” gint

Tile Offset X

Flags : Read / Write

Default value : 0

### tile-offset-y

    “tile-offset-y” gint

Tile Offset Y

Flags : Read / Write

Default value : 0

### tile-width

    “tile-width” gint

Tile Width

Flags : Read / Write

Default value : 0

## Named constants

### Open-jpegenc-progression-order

#### Members

`lrcp` (0) – LRCP
`rlcp` (1) – RLCP
`rpcl` (2) – RPCL
`pcrl` (3) – PCRL
`crpl` (4) – CPRL

The results of the search are