pnmenc
Encodes pnm images. This plugin supports both raw and ASCII encoding. To enable ASCII encoding, set the parameter ascii to TRUE. If you omit the parameter or set it to FALSE, the output will be raw encoded.
Example launch line
gst-launch-1.0 videotestsrc num_buffers=1 ! videoconvert ! "video/x-raw,format=GRAY8" ! pnmenc ascii=true ! filesink location=test.pnm
The above pipeline writes a test pnm file (ASCII encoding).
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstVideoEncoder ╰──pnmenc
Factory details
Authors: – Lutz Mueller
Classification: – Codec/Encoder/Image
Rank – primary
Plugin – gstpnm
Package – GStreamer Bad Plug-ins
Pad Templates
sink
video/x-raw:
format: { RGB, GRAY8, GRAY16_BE, GRAY16_LE }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
src
image/x-portable-bitmap:
image/x-portable-graymap:
image/x-portable-pixmap:
image/x-portable-anymap:
Properties
min-force-key-unit-interval
“min-force-key-unit-interval” guint64
Minimum interval between force-keyunit requests in nanoseconds
Flags : Read / Write
Default value : 0
qos
“qos” gboolean
Handle Quality-of-Service events from downstream
Flags : Read / Write
Default value : false
The results of the search are