webpenc

Opaque data structure.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstVideoEncoder
                    ╰──webpenc

Implemented interfaces

Factory details

Authors: – Sreerenj Balachandran

Classification:Codec/Encoder/Image

Rank – primary

Plugin – webp

Package – GStreamer Bad Plug-ins

Pad Templates

sink

video/x-raw:
         format: { I420, YV12, RGB, RGBA }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsink

Object typeGstPad


src

image/webp:
      framerate: [ 0/1, 2147483647/1 ]
          width: [ 16, 16383 ]
         height: [ 16, 16383 ]

Presencealways

Directionsrc

Object typeGstPad


Properties

animated

“animated” gboolean

Encode an animated webp, instead of several pictures.

Flags : Read / Write

Default value : false

Since : 1.24


animation-background-color

“animation-background-color” guint

The animation background color in ARGB order (1 byte per component).

Flags : Read / Write

Default value : 0

Since : 1.24


animation-loops

“animation-loops” guint

The number of animation loops for the animated mode. If set to 0, the animation will loop forever.

Flags : Read / Write

Default value : 0

Since : 1.24


lossless

“lossless” gboolean

Enable lossless encoding

Flags : Read / Write

Default value : false


preset

“preset” Webp-enc-preset *

Preset name for visual tuning

Flags : Read / Write

Default value : photo (2)


quality

“quality” gfloat

quality level, between 0 (smallest file) and 100 (biggest)

Flags : Read / Write

Default value : 90


speed

“speed” guint

quality/speed trade-off (0=fast, 6=slower-better)

Flags : Read / Write

Default value : 4


Named constants

Webp-enc-preset

Members

none (0) – Default
picture (1) – Digital picture,inner shot
photo (2) – Outdoor photo, natural lighting
drawing (3) – Hand or Line drawing
icon (4) – Small-sized colorful images
text (5) – text-like

The results of the search are