Difference between revisions of "GStreamer"

From ArchWiki
Jump to navigation Jump to search
(→‎Hardware video acceleration: add whitelist info)
m (→‎Hardware video acceleration: use official API name from SDK)
 
Line 39: Line 39:
 
GStreamer will automatically detect and use the correct API [https://gstreamer.freedesktop.org/documentation/tutorials/playback/hardware-accelerated-video-decoding.html]. Depending on your system you can [[install]]:
 
GStreamer will automatically detect and use the correct API [https://gstreamer.freedesktop.org/documentation/tutorials/playback/hardware-accelerated-video-decoding.html]. Depending on your system you can [[install]]:
 
* {{pkg|gstreamer-vaapi}} for VA-API support.
 
* {{pkg|gstreamer-vaapi}} for VA-API support.
* {{pkg|gst-plugins-bad}} for VDPAU support. (NVDEC/NVENC is [https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gst-plugins-bad#n45 disabled in the Arch package])
+
* {{pkg|gst-plugins-bad}} for VDPAU support. (NVDECODE/NVENCODE is [https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gst-plugins-bad#n45 disabled in the Arch package])
  
 
GStreamer [https://blogs.igalia.com/vjaquez/2018/03/28/gstreamer-va-api-troubleshooting/ uses a whitelist] of VA-API drivers. To use other drivers like {{Pkg|intel-media-driver}}, set [[environment variable]] {{ic|1=GST_VAAPI_ALL_DRIVERS=1}}.
 
GStreamer [https://blogs.igalia.com/vjaquez/2018/03/28/gstreamer-va-api-troubleshooting/ uses a whitelist] of VA-API drivers. To use other drivers like {{Pkg|intel-media-driver}}, set [[environment variable]] {{ic|1=GST_VAAPI_ALL_DRIVERS=1}}.

Latest revision as of 12:52, 14 August 2019

GStreamer is a pipeline-based multimedia framework written in the C programming language with the type system based on GObject.

GStreamer allows a programmer to create a variety of media-handling components, including simple audio playback, audio and video playback, recording, streaming and editing. The pipeline design serves as a base to create many types of multimedia applications such as video editors, streaming media broadcasters, and media players.

Designed to be cross-platform, it is known to work on Linux (x86, PowerPC and ARM), Solaris (Intel and SPARC), macOS, Microsoft Windows and OS/400. GStreamer has bindings for programming-languages like Python, C++, Perl, GNU Guile (guile), and Ruby. GStreamer is free software, licensed under the GNU Lesser General Public License.

Installation

Install the gstreamer package.

To make GStreamer useful, install the plugins packages you require. See official documentation for list of features in each plugin.

Integration

PulseAudio

PulseAudio support is provided by the gst-plugins-good package.

KDE / Phonon integration

See Phonon.

Hardware video acceleration

See Hardware video acceleration.

GStreamer will automatically detect and use the correct API [1]. Depending on your system you can install:

GStreamer uses a whitelist of VA-API drivers. To use other drivers like intel-media-driver, set environment variable GST_VAAPI_ALL_DRIVERS=1.

See also