← 返回命令列表

Linux command

gst-inspect-1.0 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List all available plugins and elements

gst-inspect-1.0

Inspect a specific element

gst-inspect-1.0 [filesrc]

Inspect a plugin by name

gst-inspect-1.0 [coreelements]

Print details of all elements

gst-inspect-1.0 -a

Print machine-parseable feature info for a plugin

gst-inspect-1.0 --print-plugin-auto-install-info [playback]

Show GStreamer version

gst-inspect-1.0 --version

Search for elements by name or description

gst-inspect-1.0 | grep [audio]

说明

gst-inspect-1.0 queries information about GStreamer plugins and elements. It displays element details including pad information, capabilities, properties with types and defaults, and available signals. Without arguments, it lists all available plugins and their elements with summaries. With an element or plugin name, it shows detailed information about that component, including the element's factory details, pads, properties, and signals. This is an essential tool for GStreamer pipeline development, allowing developers to discover available elements, understand their capabilities, and check property types before constructing pipelines with gst-launch-1.0.

参数

-a, --print-all
Print information about all available elements.
--print-plugin-auto-install-info
Print a machine-parseable list of features the specified plugin or element provides. Useful for package managers and auto-installers.
-b, --print-blacklist
Print a list of blacklisted (failed to load) plugins.
--plugin
List features of a plugin. The argument is treated as a plugin name rather than an element.
--types _types_
Filter elements by type when used with `--print-all` (e.g., Audio/Sink).
--exists _element_
Check if the specified element exists. Returns exit code 0 if found, 1 if not.
--atleast-version _version_
When used with `--exists`, also check that the element is at least the specified version.
--uri-handlers
Print all available URI handlers.
--gst-plugin-path=_PATH_
Add directories to the plugin search path (separated by colons).
--version
Show GStreamer version information.
--help
Print help and exit.

FAQ

What is the gst-inspect-1.0 command used for?

gst-inspect-1.0 queries information about GStreamer plugins and elements. It displays element details including pad information, capabilities, properties with types and defaults, and available signals. Without arguments, it lists all available plugins and their elements with summaries. With an element or plugin name, it shows detailed information about that component, including the element's factory details, pads, properties, and signals. This is an essential tool for GStreamer pipeline development, allowing developers to discover available elements, understand their capabilities, and check property types before constructing pipelines with gst-launch-1.0.

How do I run a basic gst-inspect-1.0 example?

Run `gst-inspect-1.0` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -a, --print-all do in gst-inspect-1.0?

Print information about all available elements.