pngenc

pngenc — Encode a video frame to a .png image

Properties

guint compression-level Read / Write
gboolean snapshot Read / Write

Types and Values

struct GstPngEnc

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstPngEnc

Description

Synopsis

Element Information

plugin

png

author

Jeremy SIMON <jsimon13@yahoo.fr>

class

Codec/Encoder/Image

Element Pads

name

sink

direction

sink

presence

always

details

video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

video/x-raw-gray, bpp=(int)8, depth=(int)8, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

name

src

direction

source

presence

always

details

image/png, width=(int)[ 16, 1000000 ], height=(int)[ 16, 1000000 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

Functions

Types and Values

struct GstPngEnc

struct GstPngEnc;

Property Details

The “compression-level” property

  “compression-level”        guint

PNG compression level.

Flags: Read / Write

Allowed values: <= 9

Default value: 6


The “snapshot” property

  “snapshot”                 gboolean

Send EOS after encoding a frame, useful for snapshots.

Flags: Read / Write

Default value: TRUE