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” GstRsPngFilter *
Selects the filter type to applied
Flags : Read / Write
Default value : Adaptive (5)
Named constants
GstRsPngCompressionLevel
Members
default
(0) – Default: Use the default compression level.
fastest
(1) – Fastest: Use the fastest compression level.
fast
(2) – Fast: A fast compression algorithm.
balanced
(3) – Balanced: Uses the algorithm with balanced results.
high
(4) – High: Use the highest compression level.
GstRsPngFilter
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.
Adaptive
(5) – Adaptive: Uses heuristics to select the best filter for every row.
The results of the search are