pngenc

pngenc — Encode a video frame to a .png image

Synopsis

struct              GstPngEnc;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstPngEnc

Properties

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

Description

Encodes png images.

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, 4096 ], height=(int)[ 16, 4096 ], 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: TRUE