Welcome to Firefly
Switch language
Firefly Docsss
Last Updated: 2026-08-27 07:36:09

Element

Basic Concepts

2.1 Element

An element is the basic functional unit of a pipeline. Elements generally fall into the following categories:

CategoryCommon ElementsPurpose
Sourcefilesrc, v4l2src, videotestsrc, rtspsrcGenerate or read media data
Demuxerqtdemux, matroskademux, tsdemuxSeparate audio, video, and subtitles from a container
Depayloaderrtph264depay, rtph265depayExtract an encoded stream from RTP packets
Parserh264parse, h265parse, jpegparseParse and normalize an encoded stream
Decoderdecodebin or a specific software/hardware decoderDecode compressed data into raw audio or video
EncoderA specific software/hardware encoderEncode raw audio or video into a compressed stream
Filtervideoconvert, videoscale, videoflipConvert formats, scale, rotate, or otherwise process data
Sinkautovideosink, waylandsink, filesink, fakesinkDisplay, save, or discard data

Use the following commands to inspect the elements available on the current system:

gst-inspect-1.0
gst-inspect-1.0 v4l2src
gst-inspect-1.0 h264parse

On this page