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

Bins and Automatic Pipeline Elements

Basic Concepts

2.6 Bins and Automatic Pipeline Elements

GStreamer provides several bins that build playback paths automatically:

ElementPurpose
decodebin / decodebin3Automatically select parsers and decoders, and create output pads for different tracks
uridecodebin / uridecodebin3Automatically select a source based on the URI, then demux and decode the media
playbin / playbin3Build a complete playback path and automatically select audio and video sinks

Use automatic pipeline elements first for quick validation. Build the pipeline explicitly when you need to select a specific hardware decoder, control latency, or troubleshoot an issue.

On this page