1 GStreamer 1.22 Release Notes
3 GStreamer 1.22.0 was originally released on 23 January 2023.
5 See https://gstreamer.freedesktop.org/releases/1.22/ for the latest
6 version of this document.
8 Last updated: Monday 23 January 2023, 17:00 UTC (log)
12 The GStreamer team is proud to announce a new major feature release in
13 the stable 1.x API series of your favourite cross-platform multimedia
16 As always, this release is again packed with many new features, bug
17 fixes and other improvements.
21 - AV1 video codec support improvements
22 - New HLS, DASH and Microsoft Smooth Streaming adaptive streaming
24 - Qt6 support for rendering video inside a QML scene
25 - Minimal builds optimised for binary size, including only the
26 individual elements needed
27 - Playbin3, Decodebin3, UriDecodebin3, Parsebin enhancements and
29 - WebRTC simulcast support and support for Google Congestion Control
30 - WebRTC-based media server ingestion/egress (WHIP/WHEP) support
31 - New easy to use batteries-included WebRTC sender plugin
32 - Easy RTP sender timestamp reconstruction for RTP and RTSP
33 - ONVIF timed metadata support
34 - New fragmented MP4 muxer and non-fragmented MP4 muxer
35 - New plugins for Amazon AWS storage and audio transcription services
36 - New gtk4paintablesink and gtkwaylandsink renderers
37 - New videocolorscale element that can convert and scale in one go for
39 - High bit-depth video improvements
40 - Touchscreen event support in navigation API
41 - Rust plugins now shipped in macOS and Windows/MSVC binary packages
42 - H.264/H.265 timestamp correction elements for PTS/DTS reconstruction
44 - Improved design for DMA buffer sharing and modifier handling for
45 hardware-accelerated video decoders/encoders/filters and
46 capturing/rendering on Linux
47 - Video4Linux2 hardware accelerated decoder improvements
48 - CUDA integration and Direct3D11 integration and plugin improvements
49 - New H.264 / AVC, H.265 / HEVC and AV1 hardware-accelerated video
50 encoders for AMD GPUs using the Advanced Media Framework (AMF) SDK
51 - applemedia: H.265 / HEVC video encoding + decoding support
52 - androidmedia: H.265 / HEVC video encoding support
53 - New “force-live” property for audiomixer, compositor, glvideomixer,
55 - Lots of new plugins, features, performance improvements and bug
58 Major new features and changes
60 AV1 video codec support improvements
62 AV1 is a royalty free next-generation video codec by AOMedia and a free
63 alternative to H.265/HEVC.
65 While supported in earlier versions of GStreamer already, this release
66 saw a lot of improvements across the board:
68 - Support for hardware encoding and decoding via VAAPI/VA, AMF, D3D11,
69 NVCODEC, QSV and Intel MediaSDK. Hardware codecs for AV1 are slowly
70 becoming available in embedded systems and desktop GPUs (AMD, Intel,
71 NVIDIA), and these can now be used via GStreamer.
73 - New AV1 RTP payloader and depayloader elements.
75 - New encoder settings in the AOM reference encoder-based av1enc
78 - Various improvements in the AV1 parser and in the MP4/Matroska/WebM
81 - dav1d and rav1e based software decoder/encoder elements shipped as
84 - AV1 parser improvements and various bugfixes all over the place.
86 Touchscreen event support in Navigation API
88 The Navigation API supports the sending of key press events and mouse
89 events through a GStreamer pipeline. Typically these will be picked up
90 by a video sink on which these events happen and then the event is
91 transmitted into the pipeline so it can be handled by elements inside
92 the pipeline if it wasn’t handled by the application.
94 This has traditionally been used for DVD menu support, but can also be
95 used to forward such inputs to source elements that render a web page
96 using a browser engine such as WebKit or Chromium.
98 This API has now gained support for touchscreen events, and this has
99 been implemented in various plugins such as the GTK, Qt, XV, and x11
100 video sinks as well as the wpevideosrc element.
102 GStreamer CUDA integration
104 - New gst-cuda library
105 - integration with D3D11 and NVIDIA dGPU NVMM elements
106 - new cudaconvertscale element
108 GStreamer Direct3D11 integration
110 - New gst-d3d11 public library
111 - gst-d3d11 library is not integrated with GStreamer documentation
112 system yet. Please refer to the examples
113 - d3d11screencapture: Add Windows Graphics Capture API based capture
114 mode, including Win32 application window capturing
115 - d3d11videosink and d3d11convert can support flip/rotation and crop
117 - d3d11videosink: New emit-present property and present signal so that
118 applications can overlay an image on Direct3D11 swapchain’s
119 backbuffer via Direct3D/Direct2D APIs. See also C++ and Rust
121 - d3d11compositor supports YUV blending/composing without intermediate
122 RGB(A) conversion to improve performance
123 - Direct3D11 video decoders are promoted to GST_RANK_PRIMARY or
124 higher, except for the MPEG2 decoder
126 H.264/H.265 timestamp correction elements
128 - Muxers are often picky and need proper PTS/DTS timestamps set on the
129 input buffers, but that can be a problem if the encoded input media
130 stream comes from a source that doesn’t provide proper signalling of
131 DTS, such as is often the case for RTP, RTSP and WebRTC streams or
132 Matroska container files. Theoretically parsers should be able to
133 fix this up, but it would probably require fairly invasive changes
134 in the parsers, so two new elements h264timestamper and
135 h265timestamper bridge the gap in the meantime and can reconstruct
138 Easy sender timestamp reconstruction for RTP and RTSP
140 - it was always possible to reconstruct and retrieve the original RTP
141 sender timestamps in GStreamer, but required a fair bit of
142 understanding of the internal mechanisms and the right property
143 configuration and clock setup.
145 - rtspsrc and rtpjitterbuffer gained a new
146 “add-reference-timestamp-meta” property that if set puts the
147 original absolute reconstructed sender timestamps on the output
148 buffers via a meta. This is particularly useful if the sender is
149 synced to an NTP clock or PTP clock. The original sender timestamps
150 are either based on the RTCP NTP times, NTP RTP header extensions
151 (RFC6051) or RFC7273-style clock signalling.
155 - new qml6glsink element for Qt6 similar to the existing Qt5 element.
156 Matching source and overlay elements will hopefully follow in the
159 OpenGL + Video library enhancements
161 - Support for new video formats (NV12_4L4, NV12_16L32S, NV12_8L128,
162 NV12_10BE_8L128) and dmabuf import in more formats (Y410, Y212_LE,
163 Y212_BE, Y210, NV21, NV61)
165 - Improved support for tiled formats with arbitrary tile dimensions,
166 as needed by certain hardware decoders/encoders
168 - glvideomixer: New “crop-left,”crop-right, “crop-top” and
169 “crop-bottom” pad properties for cropping inputs
171 - OpenGL support for gst_video_sample_convert():
173 - Used for video snapshotting and thumbnailing, to convert buffers
174 retrieved from appsinks or sink “last-sample” properties in
176 - This function can now take samples and buffers backed by GL
177 textures as input and will automatically plug a gldownload
178 element in that case.
180 High bit-depth support (10, 12, 16 bits per component value) improvements
182 - compositor can now handle any supported input format and also mix
183 high-bitdepth (10-16 bit) formats (naively)
185 - videoflip has gained support for higher bit depth formats.
187 - vp9enc, vp9dec now support 12-bit formats and also 10-bit 4:4:4
191 - Allow insertion of bandwidth estimation elements e.g. for Google
192 Congestion Control (GCC) support
194 - Initial support for sending or receiving simulcast streams
196 - Support for asynchronous host resolution for STUN/TURN servers
198 - GstWebRTCICE was split into base classes and implementation to make
199 it possible to plug custom ICE implementations
201 - webrtcsink: batteries-included WebRTC sender (Rust)
203 - whipsink: WebRTC HTTP ingest (WHIP) to a MediaServer (Rust)
205 - whepsrc: WebRTC HTTP egress (WHEP) from a MediaServer (Rust)
207 - Many other improvements and bug fixes
209 New HLS, DASH and MSS adaptive streaming clients
211 A new set of “adaptive demuxers” to support HLS, DASH and MSS adaptive
212 streaming protocols has been added. They provide improved performance,
213 new features and better stream compatibility compared to the previous
214 elements. These new elements require a “streams-aware” pipeline such as
215 playbin3, uridecodebin3 or urisourcebin.
217 The previous elements’ design prevented implementing several use-cases
218 and fixing long-standing issues. The new elements were re-designed from
219 scratch to tackle those:
221 - Scheduling Only 3 threads are present, regardless of the number of
222 streams selected. One in charge of downloading fragments and
223 manifests, one in charge of outputting parsed data downstream, and
224 one in charge of scheduling. This improves performance, resource
227 - Better download control The elements now directly control the
228 scheduling and download of manifests and fragments using libsoup
229 directly instead of depending on external elements for downloading.
231 - Stream selection, only the selected streams are downloaded. This
232 improves bandwith usage. Switching stream is done in such a way to
233 ensure there are no gaps, meaning the new stream will be switched to
234 only once enough data for it has been downloaded.
236 - Internal parsing, the downloaded streams are parsed internally. This
237 allows the element to fully respect the various specifications and
238 offer accurate buffering, seeking and playback. This is especially
239 important for HLS streams which require parsing for proper
240 positioning of streams.
242 - Buffering and adaptive rate switching, the new elements handle
243 buffering internally which allows them to have a more accurate
244 visibility of which bandwith variant to switch to.
246 Playbin3, Decodebin3, UriDecodebin3, Parsebin improvements
248 The “new” playback elements introduced in 1.18 (playbin3 and its various
249 components) have been refactored to allow more use-cases and improve
250 performance. They are no longer considered experimental, so applications
251 using the legacy playback elements (playbin and (uri)decodebin) can
252 migrate to the new components to benefit from these improvements.
254 - Gapless The “gapless” feature allows files and streams to be
255 fetched, buffered and decoded in order to provide a “gapless”
256 output. This feature has been refactored extensively in the new
258 - A single (uri)decodebin3 (and therefore a single set of
259 decoders) is used. This improves memory and cpu usage, since on
260 identical codecs a single decoder will be used.
261 - The “next” stream to play will be pre-rolled “just-in-time”
262 thanks to the buffering improvements in urisourcebin (see below)
263 - This feature is now handled at the uridecodebin3 level.
264 Applications that wish to have a “gapless” stream and process it
265 (instead of just outputting it, for example for transcoding,
266 retransmission, …) can now use uridecodebin3 directly. Note that
267 a streamsynchronizer element is required in that case.
268 - Buffering improvements The urisourcebin element is in charge of
269 fetching and (optionally) buffering/downloading the stream. It has
270 been extended and improved:
271 - When the parse-streams property is used (by default in
272 uridecodebin3 and playbin3), compatible streams will be demuxed
273 and parsed (via parsebin) and buffering will be done on the
274 elementary streams. This provides a more accurate handling of
275 buffering. Previously buffering was done on a best-effort basis
276 and was mostly wrong (i.e. downloading more than needed).
277 - Applications can use urisourcebin with this property as a
278 convenient way of getting elementary streams from a given URI.
279 - Elements can handle buffering themselves (such as the new
280 adaptive demuxers) by answering the GST_QUERY_BUFFERING query.
281 In that case urisourcebin will not handle it.
282 - Stream Selection Efficient stream selection was previously only
283 possible within decodebin3. The downside is that this meant that
284 upstream elements had to provide all the streams from which to chose
285 from, which is inefficient. With the addition of the
286 GST_QUERY_SELECTABLE query, this can now be handled by elements
287 upstream (i.e. sources)
288 - Elements that can handle stream selection internally (such as
289 the new adaptive demuxer elements) answer that query, and handle
290 the stream selection events themselves.
291 - In this case, decodebin3 will always process all streams that
293 - Instant URI switching This new feature allows switching URIs
294 “instantly” in playbin3 (and uridecodebin3) without having to change
295 states. This mimics switching channels on a television.
296 - If compatible, decoders will be re-used, providing lower
297 latency/cpu/memory than by switching states.
298 - This is enabled by setting the instant-uri property to true,
299 setting the URI to switch to immediately, and then disabling the
300 instant-uri property again afterwards.
301 - playbin3, decodebin3, uridecodebin3, parsebin, and urisrc are no
303 - They were originally marked as ‘technology preview’ but have
304 since seen extensive usage in production settings, so are
305 considered ready for general use now.
307 Fraunhofer AAC audio encoder HE-AAC and AAC-LD profile support
310 - Support for encoding to HE-AACv1 and HE-AACv2 profile
311 - Support for encoding to AAC Low Delay (LD) profile
312 - Advanced bitrate control options via new “rate-control”,
313 “vbr-preset”, “peak-bitrate”, and “afterburner” properties
315 RTP rapid synchronization support in the RTP stack (RFC6051)
317 RTP provides several mechanisms how streams can be synchronized relative
318 to each other, and how absolute sender times for RTP packets can be
319 obtained. One of these mechanisms is via RTCP, which has the
320 disadvantage that the synchronization information is only distributed
321 out-of-band and usually some time after the start.
323 GStreamer’s RTP stack, specifically the rtpbin, rtpsession and
324 rtpjitterbuffer elements, now also have support for retrieving and
325 sending the same synchronization information in-band via RTP header
326 extensions according to RFC6051 (Rapid Synchronisation of RTP Flows).
327 Only 64-bit timestamps are supported currently.
329 This provides per packet synchronization information from the very
330 beginning of a stream and allows accurate inter-stream, and (depending
331 on setup) inter-device, synchronization at the receiver side.
333 ONVIF XML Timed Metadata support
335 The ONVIF standard implemented by various security cameras also
336 specifies a format for timed metadata that is transmitted together with
337 the audio/video streams, usually over RTSP.
339 Support for this timed metadata is implemented in the MP4 demuxer now as
340 well as the new fragmented MP4 muxer and the new non-fragmented MP4
341 muxer from the GStreamer Rust plugins. Additionally, the new onvif
342 plugin ‒ which is part of the GStreamer Rust plugins ‒ provides general
343 elements for handling the metadata and e.g. overlaying certain parts of
344 it over a video stream.
346 As part of this support for absolute UTC times was also implemented
347 according to the requirements of the ONVIF standards in the
348 corresponding elements.
350 MP3 gapless playback support
352 While MP3 can probably considered a legacy format at this point, a new
353 feature was added with this release.
355 When playing back plain MP3 files, i.e. outside a container format,
356 switches between files can now be completely gapless if the required
357 metadata is provided inside the file. There is no standardized metadata
358 for this, but the LAME MP3 encoder writes metadata that can be parsed by
359 the mpegaudioparse element now and forwarded to decoders for ensuring
360 removal of padding samples at the front and end of MP3 files.
362 “force-live” property for audio + video aggregators
364 This is a quality of life fix for playout and streaming applications
365 where it is common to have audio and video mixer elements that should
366 operate in live mode from the start and produce output continuously.
368 Often one would start a pipeline without any inputs hooked up to these
369 mixers in the beginning, and up until now there was no way to easily
370 force these elements into live mode from the start. One would have to
371 add an initial live video or audio test source as dummy input to achieve
374 The new “force-live” property makes these audio and video aggregators
375 start in live mode without the need for any dummy inputs, which is
376 useful for scenarios where inputs are only added after starting the
379 This new property should usually be used in connection with the
380 “min-upstream-latency” property, i.e. you should always set a non-0
381 minimum upstream latency then.
383 This is now supported in all GstAudioAggregator and GstVideoAggregator
384 subclasses such as audiomixer, audiointerleave, compositor,
385 glvideomixer, d3d11compositor, etc.
387 New elements and plugins
389 - new cudaconvertscale element that can convert and scale in one pass
391 - new gtkwaylandsink element based on gtksink, but similar to
392 waylandsink and uses Wayland APIs directly instead of rendering with
393 Gtk/Cairo primitives. This approach is only compatible with Gtk3,
394 and like gtksink this element only supports Gtk3.
396 - new h264timestamper and h265timestamper elements to reconstruct
397 missing pts/dts from inputs that might not provide them such as
398 e.g. RTP/RTSP/WebRTC inputs (see above)
400 - mfaacdec, mfmp3dec: Windows MediaFoundation AAC and MP3 decoders
402 - new msdkav1enc AV1 video encoder element
404 - new nvcudah264enc, nvcudah265enc, nvd3d11h264enc, and nvd3d11h265enc
405 NVIDIA GPU encoder elements to support zero-copy encoding, via CUDA
406 and Direct3D11 APIs, respectively
408 - new nvautogpuh264enc and nvautogpuh265enc NVIDIA GPU encoder
409 elements: The auto GPU elements will automatically select a target
410 GPU instance in case multiple NVIDIA desktop GPUs are present, also
411 taking into account the input memory. On Windows CUDA or Direct3D11
412 mode will be determined by the elements automatically as well. Those
413 new elements are useful if target GPU and/or API mode (either CUDA
414 or Direct3D11 in case of Windows) is undeterminable from the encoder
415 point of view at the time when pipeline is configured, and therefore
416 lazy target GPU and/or API selection are required in order to avoid
417 unnecessary memory copy operations.
419 - new nvav1dec AV1 NVIDIA desktop GPU decoder element
421 - new qml6glsink element to render video with Qt6
423 - qsv: New Intel OneVPL/MediaSDK (a.k.a Intel Quick Sync) based
424 decoder and encoder elements, with gst-d3d11 (on Windows) and gst-va
425 (on Linux) integration
427 - Support multi-GPU environment, for example, concurrent video
428 encoding using Intel iGPU and dGPU in a single pipeline
429 - H.264 / H.265 / VP9 and JPEG decoders
430 - H.264 / H.265 / VP9 / AV1 / JPEG encoders with dynamic encoding
432 - New plugin does not require external SDK for building on Windows
434 - vulkanoverlaycompositor: new vulkan overlay compositor element to
435 overlay upstream GstVideoOverlayCompositonMeta onto the video
438 - vulkanshaderspv: performs operations with SPIRV shaders in Vulkan
440 - win32ipcvideosink, win32ipcvideosrc: new shared memory videosrc/sink
443 - wicjpegdec, wicpngdec: Windows Imaging Component (WIC) based JPEG
444 and PNG decoder elements.
446 - Many exciting new Rust elements, see Rust section below
448 New element features and additions
450 - audioconvert: Dithering now uses a slightly slower, less biased PRNG
451 which results in better quality output. Also dithering can now be
452 enabled via the new “dithering-threshold” property for target bit
453 depths of more than 20 bits.
455 - av1enc: Add “keyframe-max-dist” property for controlling max
456 distance between keyframes, as well as “enc-pass”, “keyframe-mode”,
457 “lag-in-frames” and “usage-profile” properties.
459 - cccombiner: new “output-padding” property
461 - decklink: Add support for 4k DCI, 8k/UHD2 and 8k DCI modes
463 - dvbsubenc: Support for >SD resolutions is working correctly now.
465 - fdkaacenc: Add HE-AAC / HE-AACv2 profile support
467 - glvideomixer: New “crop-left,”crop-right, “crop-top” and
468 “crop-bottom” pad properties for cropping inputs
470 - gssink: new ‘content-type’ property. Useful when one wants to upload
471 a video as video/mp4 instead of ’video/quicktime` for example.
473 - jpegparse: Rewritten using the common parser library
477 - new msdkav1enc AV1 video encoder element
478 - msdk decoders: Add support for Scaler Format Converter (SFC) on
479 supported Intel platforms for hardware accelerated conversion
481 - msdk encoders: support import of dmabuf, va memory and D3D11
483 - msdk encoders: add properties for low delay bitrate control and
484 max frame sizes for I/P frames
485 - msdkh264enc, msdkh265enc: more properties to control intra
487 - note that on systems with multi GPUs the Windows D3D11
488 integration might only work reliably if the Intel GPU is the
491 - mxfdemux: Add support for Canon XF-HEVC
493 - openaptx: Support the freeaptx library
497 - new “qrcode-case-sensitive” property allows encoding case
498 sensitive strings like wifi SSIDs or passwords.
499 - added the ability to pick up data to render from an
500 upstream-provided custom GstQROverlay meta
502 - qtdemux: Add support for ONVIF XML Timed MetaData and AVC-Intra
505 - rfbsrc now supports the uri handler interface, so applications can
506 use RFB/VNC sources in uridecodebin(3) and playbin, with
507 e.g. rfb://:password@10.1.2.3:5903?shared=1
509 - rtponviftimestamp: Add support for using reference timestamps
511 - rtpvp9depay now has the same keyframe-related properties as
512 rtpvp8depay and rtph264depay: “request-keyframe” and
515 - rtspsrc: Various RTSP servers are using invalid URL operations for
516 constructing the control URL. Until GStreamer 1.16 these worked
517 correctly because GStreamer was just appending strings itself to
518 construct the control URL, but starting version 1.18 the correct URL
519 operations were used. With GStreamer 1.22, rtspsrc now first tries
520 with the correct control URL and if that fails it will retry with
521 the wrongly constructed control URL to restore support for such
524 - rtspsrc and rtpjitterbuffer gained a new
525 “add-reference-timestamp-meta” property that makes them put the
526 unmodified original sender timestamp on output buffers for NTP or
527 PTP clock synced senders
529 - srtsrc, srtsink: new “auto-reconnect” property to make it possible
530 to disable automatic reconnects (in caller mode) and make the
531 elements post an error immediately instead; also stats improvements
533 - srtsrc: new “keep-listening” property to avoid EOS on disconnect and
534 keep the source running while it waits for a new connection.
536 - videocodectestsink: added YUV 4:2:2 support
538 - wasapi2src: Add support for process loopback capture
540 - wpesrc: Add support for modifiers in key/touch/pointer events
542 Plugin and library moves
544 - The xingmux plugin has been moved from gst-plugins-ugly into
547 - The various Windows directshow plugins in gst-plugins-bad have been
548 unified into a single directshow plugin.
552 - The dxgiscreencapsrc element has been removed, use
553 d3d11screencapturesrc instead
555 Miscellaneous API additions
557 - GST_AUDIO_FORMAT_INFO_IS_VALID_RAW() and
558 GST_VIDEO_FORMAT_INFO_IS_VALID_RAW() can be used to check if a
559 GstAudioFormatInfo or GstVideoFormatInfo has been initialised to a
562 - Video SEI meta: new GstVideoSEIUserDataUnregisteredMeta to carry
563 H.264 and H.265 metadata from SEI User Data Unregistered messages.
565 - vulkan: Expose gst_vulkan_result_to_string()
567 Miscellaneous performance, latency and memory optimisations
569 - liborc 0.4.33 adds support for aarch64 (64-bit ARM) architecture
570 (not enabled by default on Windows yet though) and improvements for
571 32-bit ARM and should greatly enhance performance for certain
572 operations that use ORC.
574 - as always there have been plenty of performance, latency and memory
575 optimisations all over the place.
577 Miscellaneous other changes and enhancements
579 - the audio/video decoder base classes will not consider decoding
580 errors a hard error by default anymore but will continue trying to
581 decode. Previously more than 10 consecutive errors were considered a
582 hard error but this caused various partially broken streams to fail.
583 The threshold is configurable via the “max-errors” property.
585 - compatibility of the GStreamer PTP clock implementation with
586 different PTP server implementations was improved, and
587 synchronization is achieved successfully in various scenarios that
590 Tracing framework and debugging improvements
594 - buffer-lateness: Records lateness of buffers and the reported
595 latency for each pad in a CSV file. Comes with a script for
598 - pipeline-snapshot: Creates a .dot file of all pipelines in the
599 application whenever requested via SIGUSR1 (on UNIX systems)
601 - queue-levels: Records queue levels for each queue in a CSV file.
602 Comes with a script for visualisation.
604 Debug logging system improvements
606 - new log macros GST_LOG_ID, GST_DEBUG_ID, GST_INFO_ID,
607 GST_WARNING_ID, GST_ERROR_ID, and GST_TRACE_ID allow passing a
608 string identifier instead of a GObject. This makes it easier to log
609 non-gobject-based items and also has performance benefits.
613 - gst-play-1.0 gained a --no-position command line option to suppress
614 position/duration queries, which can be useful to reduce debug log
617 GStreamer FFMPEG wrapper
619 - Fixed bitrate management and timestamp inaccuracies for video
622 - Fix synchronization issues and errors created by the (wrong)
623 forwarding of upstream segment events by ffmpeg demuxers.
625 - Clipping meta support for gapless mp3 playback
627 GStreamer RTSP server
629 - Add RFC5576 Source-specific media attribute to the SDP media for
632 - Add support for adjusting request response on pipeline errors
634 - Give the application the possibility to adjust the error code
635 when responding to a request. For that purpose the pipeline’s
636 bus messages are emitted to subscribers through a
637 “handle-message” signal. The subscribers can then check those
638 messages for errors and adjust the response error code by
639 overriding the virtual method
640 GstRTSPClientClass::adjust_error_code().
642 - Add gst_rtsp_context_set_token() method to make it possible to set
643 the RTSPToken on some RTSPContext from bindings such as the Python
646 - rtspclientsink gained a “publish-clock-mode” property to configure
647 whether the pipeline clock should be published according to RFC7273
648 (RTP Clock Source Signalling), similar to the same API on
651 GStreamer VA-API support
653 - Development activity has shifted towards the new va plugin, with
654 gstreamer-vaapi now basically in maintenance-only mode. Most of the
655 below refers to the va plugin (not gstreamer-vaapi).
657 - new gst-va library for GStreamer VA-API integration
659 - vajpegdec: new JPEG decoder
661 - vah264enc, vah265enc: new H.264/H.265 encoders
663 - vah264lpenc, vah265lpenc: new low power mode encoders
665 - vah265enc: Add extended formats support such as 10/12 bits, 4:2:2
668 - Support encoder reconfiguration
670 - vacompositor: Add new compositor element using the VA-API VPP
675 - new “scale-method” property
676 - Process HDR caps if supported
677 - parse video orientation from tags
679 - vaapipostproc: Enable the use of DMA-Buf import and export
682 GStreamer Video4Linux2 support
684 - Added support for Mediatek Stateless CODEC (VP8, H.264, VP9)
686 - Stateless H.264 interlaced decoder support
688 - Stateless H.265 decoder support
690 - Stateful decoder support for driver resolution change events
692 - Stateful decoding support fixes for NXP/Amphion driver
694 - Support for hardware crop in v4l2src
696 - Conformance test improvement for stateful decoders
698 - Fixes for Raspberry Pi CODEC
702 - There were no changes in this module
704 GStreamer Editing Services and NLE
706 - Handle compositors that are bins around the actual compositor
707 implementation (like glvideomixers which wraps several elements)
709 - Add a mode to disable timeline editing API so the user can be in
710 full control of its layout (meaning that the user is responsible for
711 ensuring its validity/coherency)
713 - Add a new fade-in transition type
715 - Add support for non-1/1 PAR source videos
717 - Fix frame accuracy when working with very low framerate streams
721 - Clean up and stabilize API so we can now generate rust bindings
723 - Enhance the appsrc-push action type allowing to find tune the
724 buffers more in details
726 - Add an action type to verify currently configured pad caps
728 - Add a way to run checks from any thread after executing a ‘wait’
729 action. This is useful when waiting on a signal and want to check
730 the value of a property right when it is emited for example.
732 GStreamer Python Bindings
734 - Add a Gst.init_python() function to be called from plugins which
735 will initialise everything needed for the GStreamer Python bindings
736 but not call Gst.init() again since this will have been called
739 - Add support for the GstURIHandlerInterface that allows elements to
740 advertise what URI protocols they support.
742 GStreamer C# Bindings
744 - Fix AppSrc and AppSink constructors
746 - The C# bindings have yet to be updated to include new 1.22 API,
747 which requires improvements in various places in the bindings /
748 binding generator stack. See issue #1718 in GitLab for more
749 information and to track progress.
751 GStreamer Rust Bindings and Rust Plugins
753 The GStreamer Rust bindings are released separately with a different
754 release cadence that’s tied to gtk-rs, but the latest release has
755 already been updated for the new GStreamer 1.22 API. Check the bindings
756 release notes for details of the changes since 0.18, which was released
757 around GStreamer 1.20.
759 gst-plugins-rs, the module containing GStreamer plugins written in Rust,
760 has also seen lots of activity with many new elements and plugins. A
761 list of all Rust plugins and elements provided with the 0.9 release can
762 be found in the repository.
764 - 33% of GStreamer commits are now in Rust (bindings + plugins), and
765 the Rust plugins module is also where most of the new plugins are
768 - The Rust plugins are now shipped as part of the Windows MSVC + macOS
769 binary packages. See below for the list of shipped plugins and the
770 status of Rust support in cerbero.
772 - The Rust plugins are also part of the documentation on the GStreamer
775 - Rust plugins can be used from any programming language. To the
776 outside they look just like a plugin written in C or C++.
778 New Rust plugins and elements
780 - rtpav1pay / rtpav1depay: RTP (de)payloader for the AV1 video codec
781 - gtk4paintablesink: a GTK4 video sink that provides a GdkPaintable
782 for rendering a video in any place inside a GTK UI. Supports
783 zero-copy rendering via OpenGL on Linux and macOS.
784 - ndi: source, sink and device provider for NewTek NDI protocol
785 - onvif: Various elements for parsing, RTP (de)payloading, overlaying
786 of ONVIF timed metadata.
787 - livesync: Element for converting a live stream into a continuous
788 stream without gaps and timestamp jumps while preserving live
789 latency requirements.
790 - raptorq: Encoder/decoder elements for the RaptorQ FEC mechanism that
791 can be used for RTP streams (RFC6330).
795 - webrtcsink: a WebRTC sink (batteries included WebRTC sender with
797 - whipsink: WebRTC HTTP ingest (WHIP) to MediaServer
798 - whepsrc: WebRTC HTTP egress (WHEP) from MediaServer
799 - rtpgccbwe: RTP bandwidth estimator based on the Google Congestion
800 Control algorithm (GCC), used by webrtcsink
804 - awss3src / awss3sink: A source and sink element to talk to the
805 Amazon S3 object storage system.
806 - awss3hlssink: A sink element to store HLS streams on Amazon S3.
807 - awstranscriber: an element wrapping the AWS Transcriber service.
808 - awstranscribeparse: an element parsing the packets of the AWS
811 Video Effects (videofx)
813 - roundedcorners: Element to make the corners of a video rounded via
815 - colordetect: A pass-through filter able to detect the dominant
816 color(s) on incoming frames, using color-thief.
817 - videocompare: Compare similarity of video frames. The element can
818 use different hashing algorithms like Blockhash, DSSIM, and others.
820 New MP4 muxer + Fragmented MP4 muxer
822 - fmp4mux: New fragmented MP4/ISOBMFF/CMAF muxer for generating
823 e.g. DASH/HLS media fragments.
824 - isomp4mux: New non-fragmented, normal MP4 muxer.
826 Both plugins provides elements that replace the existing qtmux/mp4mux
827 element from gst-plugins-good. While not feature-equivalent yet, the new
828 codebase and using separate elements for the fragment and non-fragmented
829 case allows for easier extensability in the future.
833 - Starting this release, cerbero has support for building and shipping
834 Rust code on Linux, Windows (MSVC) and macOS. The Windows (MSVC) and
835 macOS binaries also ship the GStreamer Rust plugins in this release.
836 Only dynamic plugins are built and shipped currently.
838 - Preliminary support for Android, iOS and Windows (MinGW) exists but
839 more work is needed. Check the tracker issue for more details about
842 - The following plugins are included currently: audiofx, aws, cdg,
843 claxon, closedcaption, dav1d, fallbackswitch, ffv1, fmp4, gif,
844 hlssink3, hsv, json, livesync, lewton, mp4, ndi, onvif, rav1e,
845 regex, reqwest, raptorq, png, rtp, textahead, textwrap, threadshare,
846 togglerecord, tracers, uriplaylistbin, videofx, webrtc, webrtchttp.
848 Build and Dependencies
850 - meson 0.62 or newer is required
852 - GLib >= 2.62 is now required (but GLib >= 2.64 is strongly
855 - libnice >= 0.1.21 is now required and contains important fixes for
856 GStreamer’s WebRTC stack.
858 - liborc >= 0.4.33 is recommended for 64-bit ARM support and 32-bit
861 - onnx: OnnxRT >= 1.13.1 is now required
863 - openaptx: can now be built against libfreeaptx
865 - opencv: allow building against any 4.x version
867 - shout: libshout >= 2.4.3 is now required
869 - gstreamer-vaapi’s Meson build options have been switched from a
870 custom combo type (yes/no/auto) to the built-in Meson feature type
871 (enabled/disabled/auto)
873 - The GStreamer Rust plugins module gst-plugins-rs is now considered
874 an essential part of the GStreamer plugin offering and packagers and
875 distributors are strongly encouraged to package and ship those
876 plugins alongside the existing plugin modules.
878 - we now make use of Meson’s install tags feature which allows
879 selective installation of installl components and might be useful
882 Monorepo build (gst-build)
884 - new “orc-source” build option to allow build against a
885 system-installed liborc instead of forcing the use of orc as a
888 - GStreamer command line tools can now be linked to the gstreamer-full
889 library if it’s built
893 Cerbero is a meta build system used to build GStreamer plus dependencies
894 on platforms where dependencies are not readily available, such as
895 Windows, Android, iOS, and macOS.
899 - Rust support was added for all support configurations, controlled by
900 the rust variant; see above for more details
901 - All pkgconfig files are now reliably relocatable without requiring
902 pkg-config --define-prefix. This also fixes statically linking with
903 GStreamer plugins using the corresponding pkgconfig files.
904 - New documentation on how to build a custom GStreamer repository
905 using Cerbero, please see the README
906 - HTTPS certificate checking is enabled for downloads on all platforms
908 - Fetching now automatically retries on error for robustness against
910 - Support for building the new Qt6 plugin was added
911 - pkgconfig files for various recipes were fixed
912 - Several recipes were updated to newer versions
913 - New plugins: adaptivedemux2 aes codectimestamper dav1d
914 - New libraries: cuda webrtcnice
918 - Added support for running Cerbero on ARM64 macOS
919 - GStreamer.framework and all libraries in it are now relocatable,
920 which means they use LC_RPATH entries to find dependencies instead
921 of using an absolute path. If you link to GStreamer using the
922 pkgconfig files, no action is necessary. However, if you use the
923 framework directly or link to the libraries inside the framework by
924 hand, then you need to pass -Wl,-rpath,<path_to_libdir> to the
926 - Apple bitcode support was dropped, since Apple has deprecated it
927 - macOS installer now correctly advertises support for both x86_64 and
929 - macOS framework now ships the gst-rtsp-server-1.0 library
930 - Various fixes were made to make static linking to gstreamer
931 libraries and plugins work correctly on macOS
932 - When statically linking to the applemedia plugin using Xcode 13, you
933 will need to pass -fno-objc-msgsend-selector-stubs which works
934 around a backwards-incompatible change in Xcode 14. This is not
935 required for the rest of GStreamer at present, but will be in the
937 - macOS installer now shows the GStreamer logo correctly
941 - MSVC is now required by default on Windows, and the Visual Studio
942 variant is enabled by default
943 - To build with MinGW, use the mingw variant
944 - Visual Studio props files were updated for newer Visual Studio
946 - Visual Studio 2015 support was dropped
947 - MSYS2 is now supported as the base instead of MSYS. Please see the
948 README for more details. Some advantages include:
949 - Faster build times, since parallel make works
950 - Faster bootstrap, since some tools are provided by MSYS2
951 - Other speed-ups due to using MSYS2 tools instead of MSYS
952 - Faster download by using powershell instead of hand-rolled Python
954 - Many recipes were ported from Autotools to Meson, speeding up the
956 - Universal Windows Platform is no longer supported, and binaries are
957 no longer shipped for it
958 - New documentation on how to force a specific Visual Studio
959 installation in Cerbero, please see the README
960 - New plugins: qsv wavpack directshow amfcodec wic win32ipc
961 - New libraries: d3d11
963 Windows MSI installer
965 - Universal Windows Platform prebuilt binaries are no longer available
969 - Various fixes for RHEL/CentOS 7 support
970 - Added support for running on Linux ARM64
974 - Android support now requires Android API version 21 (Lollipop)
975 - Support for Android Gradle plugin 7.2
977 Platform-specific changes and improvements
981 - Android SDK 21 is required now as minimum SDK version
983 - androidmedia: Add H.265 / HEVC video encoder mapping
985 - Implement JNI_OnLoad() to register static plugins etc. automatically
986 in case GStreamer is loaded from Java using System.loadLibrary(),
987 which is also useful for the gst-full deployment scenario.
991 - The GLib version shipped with the GStreamer binaries does not
992 initialize an NSApp and does not run a NSRunLoop on the main thread
993 anymore. This was a custom GLib patch and caused it to behave
994 different from the GLib shipped by Homebrew or anybody else.
996 The change was originally introduced because various macOS APIs
997 require a NSRunLoop to run on the main thread to function correctly
998 but as this change will never get merged into GLib and it was
999 reverted for 1.22. Applications that relied on this behaviour should
1000 move to the new gst_macos_main() function, which also does not
1001 require the usage of a GMainLoop.
1003 See e.g. gst-play.c for an example for the usage of
1006 - GStreamer.framework and all libraries in it are now relocatable,
1007 which means they use LC_RPATH entries to find dependencies instead
1008 of using an absolute path. If you link to GStreamer using the
1009 pkgconfig files, no action is necessary. However, if you use the
1010 framework directly or link to the libraries inside the framework by
1011 hand, then you need to pass -Wl,-rpath,<path_to_libdir> to the
1014 - avfvideosrc: Allow specifying crop coordinates during screen capture
1016 - vtenc, vtdec: H.265 / HEVC video encoding + decoding support
1018 - osxaudiosrc: Support a device as both input and output
1020 - osxaudiodeviceprovider now probes devices more than once to
1021 determine if the device can function as both an input AND and
1022 output device. Previously, if the device provider detected that
1023 a device had any output capabilities, it was treated solely as
1024 an Audio/Sink. This caused issues for devices that have both
1025 input and output capabilities (for example, USB interfaces for
1026 professional audio have both input and output channels). Such
1027 devicesare now listed as both an Audio/Sink as well as an
1030 - osxaudio: support hidden devices on macOS
1032 - These are devices that will not be shown in the macOS UIs and
1033 that cannot be retrieved without having the specific UID of the
1034 hidden device. There are cases when you might want to have a
1035 hidden device, for example when having a virtual speaker that
1036 forwards the data to a virtual hidden input device from which
1037 you can then grab the audio. The blackhole project supports
1038 these hidden devices and this change provides a way that if the
1039 device id is a hidden device it will use it instead of checkinf
1040 the hardware list of devices to understand if the device is
1045 - win32ipcvideosink, win32ipcvideosrc: new shared memory videosrc/sink
1048 - wasapi2: Add support for process loopback capture for a specified
1049 PID (requires Windows 11/Windows Server 2022)
1051 - The Windows universal UWP build is currently non-functional and will
1052 need updating after the recent GLib upgrade. It is unclear if anyone
1053 is using these binaries, so if you are please make yourself known.
1055 - wicjpegdec, wicpngdec: Windows Imaging Component (WIC) based JPEG
1056 and PNG decoder elements.
1058 - mfaacdec, mfmp3dec: Windows MediaFoundation AAC and MP3 decoders
1060 - The uninstalled development environment supports PowerShell 7 now
1064 - Improved design for DMA buffer sharing and modifier handling for
1065 hardware-accelerated video decoders/encoders/filters and
1066 capture/rendering on Linux and Linux-like system.
1070 - new “fd” property which allows an application to provide their
1071 own opened DRM device fd handle to kmssink. That way an
1072 application can lease multiple fd’s from a DRM master to display
1073 on different CRTC outputs at the same time with multiple kmssink
1074 instances, for example.
1075 - new “skip-vsync” property to achieve full framerate with legacy
1076 emulation in drivers.
1077 - HDR10 infoframe support
1079 - va plugin and gstreamer-vaapi improvements (see above)
1081 - waylandsink: Add “rotate-method” property and “render-rectangle”
1084 - new gtkwaylandsink element based on gtksink, but similar to
1085 waylandsink and uses Wayland APIs directly instead of rendering with
1086 Gtk/Cairo primitives. This approach is only compatible with Gtk3,
1087 and like gtksink this element only supports Gtk3.
1089 Documentation improvements
1091 - The GStreamer Rust plugins are now included and documented in the
1092 plugin documentation.
1094 Possibly Breaking Changes
1096 - the Opus audio RTP payloader and depayloader no longer accept the
1097 lower case encoding-format=multiopus but instead produce and accept
1098 only the upper case variant encoding-format=MULTIOPUS, since those
1099 should always be upper case in GStreamer (caps fields are always
1100 case sensitive). This should hopefully only affect applications
1101 where RTP caps are set manually and multi-channel audio (>= 3
1104 - wpesrc: the URI handler protocols changed from wpe:// and web:// to
1105 web+http://, web+https://, and web+file:// which means URIs are RFC
1106 3986 compliant and the source can simply strip the prefix from the
1109 - The Windows screen capture element dxgiscreencapsrc has been
1110 removed, please use d3d11screencapturesrc instead.
1112 - On Android the minimum supported Android API version is now version
1113 21 and has been increased from 16.
1115 - On macOS, the GLib version shipped with the GStreamer binaries will
1116 no longer initialize an NSApp or run an NSRunLoop on the main
1117 thread. See macOS/iOS section above for details.
1119 - decklink: The decklink plugin is now using the 12.2.2 version of the
1120 SDK and will not work with drivers older than version 12.
1122 - On iOS Apple Bitcode support was removed from the binaries. This
1123 feature is deprecated since XCode 14 and not used on the App Store
1126 - The MP4/Matroska/WebM muxers now require the “stream-format” to be
1127 provided as part of the AV1 caps as only the original “obu-stream”
1128 format is supported in these containers and not the “annexb” format.
1132 - The Windows UWP build in Cerbero needs fixing after the recent GLib
1135 - The C# bindings have not been updated to include new 1.22 API yet
1142 - 2224 Merge Requests
1148 - ~33% of all commits and Merge Requests were in Rust modules
1150 - 4747 files changed
1152 - 469633 lines added
1154 - 209842 lines deleted
1156 - 259791 lines added (net)
1160 Ádám Balázs, Adam Doupe, Adrian Fiergolski, Adrian Perez de Castro, Alba
1161 Mendez, Aleix Conchillo Flaqué, Aleksandr Slobodeniuk, Alicia Boya
1162 García, Alireza Miryazdi, Andoni Morales Alastruey, Andrew Pritchard,
1163 Arun Raghavan, A. Wilcox, Bastian Krause, Bastien Nocera, Benjamin
1164 Gaignard, Bill Hofmann, Bo Elmgreen, Boyuan Zhang, Brad Hards, Branko
1165 Subasic, Bruce Liang, Bunio FH, byran77, Camilo Celis Guzman, Carlos
1166 Falgueras García, Carlos Rafael Giani, Célestin Marot, Christian Wick,
1167 Christopher Obbard, Christoph Reiter, Chris Wiggins, Chun-wei Fan, Colin
1168 Kinloch, Corentin Damman, Corentin Noël, Damian Hobson-Garcia, Daniel
1169 Almeida, Daniel Morin, Daniel Stone, Daniels Umanovskis, Danny Smith,
1170 David Svensson Fors, Devin Anderson, Diogo Goncalves, Dmitry Osipenko,
1171 Dongil Park, Doug Nazar, Edward Hervey, ekwange, Eli Schwartz, Elliot
1172 Chen, Enrique Ocaña González, Eric Knapp, Erwann Gouesbet, Evgeny
1173 Pavlov, Fabian Orccon, Fabrice Fontaine, Fan F He, F. Duncanh, Filip
1174 Hanes, Florian Zwoch, François Laignel, Fuga Kato, George Kiagiadakis,
1175 Guillaume Desmottes, Gu Yanjie, Haihao Xiang, Haihua Hu, Havard Graff,
1176 Heiko Becker, He Junyan, Henry Hoegelow, Hiero32, Hoonhee Lee, Hosang
1177 Lee, Hou Qi, Hugo Svirak, Ignacio Casal Quinteiro, Ignazio Pillai, Igor
1178 V. Kovalenko, Jacek Skiba, Jakub Adam, James Cowgill, James Hilliard,
1179 Jan Alexander Steffens (heftig), Jan Lorenz, Jan Schmidt, Jianhui Dai,
1180 jinsl00000, Johan Sternerup, Jonas Bonn, Jonas Danielsson, Jordan
1181 Petridis, Joseph Donofry, Jose Quaresma, Julian Bouzas, Junsoo Park,
1182 Justin Chadwell, Khem Raj, Krystian Wojtas, László Károlyi, Linus
1183 Svensson, Loïc Le Page, Ludvig Rappe, Marc Leeman, Marek Olejnik, Marek
1184 Vasut, Marijn Suijten, Mark Nauwelaerts, Martin Dørum, Martin Reboredo,
1185 Mart Raudsepp, Mathieu Duponchelle, Matt Crane, Matthew Waters, Matthias
1186 Clasen, Matthias Fuchs, Mengkejiergeli Ba, MGlolenstine, Michael Gruner,
1187 Michiel Konstapel, Mikhail Fludkov, Ming Qian, Mingyang Ma, Myles
1188 Inglis, Nicolas Dufresne, Nirbheek Chauhan, Olivier Crête, Pablo Marcos
1189 Oltra, Patricia Muscalu, Patrick Griffis, Paweł Stawicki, Peter
1190 Stensson, Philippe Normand, Philipp Zabel, Pierre Bourré, Piotr
1191 Brzeziński, Rabindra Harlalka, Rafael Caricio, Rafael Sobral, Rafał
1192 Dzięgiel, Raul Tambre, Robert Mader, Robert Rosengren, Rodrigo
1193 Bernardes, Rouven Czerwinski, Ruben Gonzalez, Sam Van Den Berge,
1194 Sanchayan Maity, Sangchul Lee, Sebastian Dröge, Sebastian Fricke,
1195 Sebastian Groß, Sebastian Mueller, Sebastian Wick, Sergei Kovalev,
1196 Seungha Yang, Seungmin Kim, sezanzeb, Sherrill Lin, Shingo Kitagawa,
1197 Stéphane Cerveau, Talha Khan, Taruntej Kanakamalla, Thibault Saunier,
1198 Tim Mooney, Tim-Philipp Müller, Tomasz Andrzejak, Tom Schuring, Tong Wu,
1199 toor, Tristan Matthews, Tulio Beloqui, U. Artie Eoff, Víctor Manuel
1200 Jáquez Leal, Vincent Cheah Beng Keat, Vivia Nikolaidou, Vivienne
1201 Watermeier, WANG Xuerui, Wojciech Kapsa, Wonchul Lee, Wu Tong, Xabier
1202 Rodriguez Calvar, Xavier Claessens, Yatin Mann, Yeongjin Jeong, Zebediah
1203 Figura, Zhao Zhili, Zhiyuaniu, مهدي شينون (Mehdi Chinoune),
1205 … and many others who have contributed bug reports, translations, sent
1206 suggestions or helped testing.
1210 After the 1.22.0 release there will be several 1.22.x bug-fix releases
1211 which will contain bug fixes which have been deemed suitable for a
1212 stable branch, but no new features or intrusive changes will be added to
1213 a bug-fix release usually. The 1.22.x bug-fix releases will be made from
1214 the git 1.22 branch, which will be a stable branch.
1218 1.22.0 was originally released on 23 January 2023.
1222 Our next major feature release will be 1.24, and 1.23 will be the
1223 unstable development version leading up to the stable 1.24 release. The
1224 development of 1.23/1.24 will happen in the git main branch of the
1225 GStreamer mono repository.
1227 The plan for the 1.24 development cycle is yet to be confirmed.
1229 1.24 will be backwards-compatible to the stable 1.22, 1.20, 1.18, 1.16,
1230 1.14, 1.12, 1.10, 1.8, 1.6, 1.4, 1.2 and 1.0 release series.
1232 ------------------------------------------------------------------------
1234 These release notes have been prepared by Tim-Philipp Müller with
1235 contributions from Edward Hervey, Matthew Waters, Nicolas Dufresne,
1236 Nirbheek Chauhan, Olivier Crête, Sebastian Dröge, Seungha Yang, and
1239 License: CC BY-SA 4.0