brotlicompress

Compress data using the Brotli algorithm.

The level property controls the compression level (0=fastest, 11=slower most compressed, default=6). Higher level produces smaller output but is slower to compress. Decompression speed is unaffected by the level used during compression.

The srcpad caps are application/x-brotli-compressed with an original-caps field carrying the sinkpad caps, enabling brotlidecompress to restore them automatically.

Examples

Using GDP (caps preserved in-band):

... ! brotlicompress ! gdppay ! filesink location=/path/to/file

Without GDP:

... ! brotlicompress level=9 ! filesink location=/path/to/file

See Also brotlidecompress

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──brotlicompress

Factory details

Authors: – Daniel Morin

Classification:Encoder/Generic

Rank – none

Plugin – compress

Package – gst-plugin-compress

Pad Templates

sink

ANY

Presencealways

Directionsink

Object typeGstPad


src

application/x-brotli-compressed:

Presencealways

Directionsrc

Object typeGstPad


Properties

level

“level” guint

Compression level. 0 is fastest with least compression, 11 is slowest with most compression.

Flags : Read / Write

Default value : 6


The results of the search are