rspngenc
PNG encoder
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstVideoEncoder ╰──rspngenc
Implemented interfaces
Factory details
Authors: – Natanael Mojica
Classification: – Encoder/Video
Rank – primary
Plugin – rspng
Package – gst-plugin-png
Pad Templates
sink
video/x-raw:
format: { GRAY8, GRAY16_BE, RGB, RGBA }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
Properties
compression-level
“compression-level” GstRsPngCompressionLevel *
Selects the compression algorithm to use
Flags : Read / Write
Default value : default (0)
filter
“filter” GstRsPngFilterType *
Selects the filter type to applied
Flags : Read / Write
Default value : nofilter (0)
Named constants
GstRsPngCompressionLevel
Members
default
(0) – Default: Use the default compression level.
fast
(1) – Fast: A fast compression algorithm.
best
(2) – Best: Uses the algorithm with the best results.
huffman
(3) – Huffman: Huffman compression.
rle
(4) – Rle: Rle compression.
GstRsPngFilterType
Members
nofilter
(0) – NoFilter: No filtering applied to the output.
sub
(1) – Sub: filter applied to each pixel.
up
(2) – Up: Up filter similar to Sub.
avg
(3) – Avg: The Average filter uses the average of the two neighboring pixels.
paeth
(4) – Paeth: The Paeth filter computes a simple linear function of the three neighboring pixels.
The results of the search are