pngenc

pngenc — Encode a video frame to a .png image

Synopsis

struct              GstPngEnc;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstVideoEncoder
                           +----GstPngEnc

Implemented Interfaces

GstPngEnc implements GstPreset.

Properties

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

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, format=(string){ RGBA, RGB, GRAY8, GRAY16_BE }, 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 ]

Details

struct GstPngEnc

struct GstPngEnc;

Property Details

The "compression-level" property

  "compression-level"        guint                 : Read / Write

PNG compression level.

Allowed values: <= 9

Default value: 6


The "snapshot" property

  "snapshot"                 gboolean              : Read / Write

Send EOS after encoding a frame, useful for snapshots.

Default value: FALSE