gstreamer/subprojects/gst-omx/NEWS
Tim-Philipp Müller b7d3037cca Release 1.20.6
2023-02-23 18:23:11 +00:00

3240 lines
134 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

GStreamer 1.20 Release Notes
GStreamer 1.20.0 was originally released on 3 February 2022.
The latest bug-fix release in the now old-stable 1.20 series is 1.20.6
and was released on 23 February 2023.
See https://gstreamer.freedesktop.org/releases/1.20/ for the latest
version of this document.
The GStreamer 1.20 stable series has since been superseded by the
GStreamer 1.22 stable release series.
Last updated: Thursday 23 February 2023, 00:30 UTC (log)
Introduction
The GStreamer team is proud to announce a new major feature release in
the stable 1.x API series of your favourite cross-platform multimedia
framework!
As always, this release is again packed with many new features, bug
fixes and other improvements.
Highlights
- Development in GitLab was switched to a single git repository
containing all the modules
- GstPlay: new high-level playback library, replaces GstPlayer
- WebM Alpha decoding support
- Encoding profiles can now be tweaked with additional
application-specified element properties
- Compositor: multi-threaded video conversion and mixing
- RTP header extensions: unified support in RTP depayloader and
payloader base classes
- SMPTE 2022-1 2-D Forward Error Correction support
- Smart encoding (pass through) support for VP8, VP9, H.265 in
encodebin and transcodebin
- Runtime compatibility support for libsoup2 and libsoup3 (libsoup3
support experimental)
- Video decoder subframe support
- Video decoder automatic packet-loss, data corruption, and keyframe
request handling for RTP / WebRTC / RTSP
- mp4 and Matroska muxers now support profile/level/resolution changes
for H.264/H.265 input streams (i.e. codec data changing on the fly)
- mp4 muxing mode that initially creates a fragmented mp4 which is
converted to a regular mp4 on EOS
- Audio support for the WebKit Port for Embedded (WPE) web page source
element
- CUDA based video color space convert and rescale elements and
upload/download elements
- NVIDIA memory:NVMM support for OpenGL glupload and gldownload
elements
- Many WebRTC improvements
- The new VA-API plugin implementation fleshed out with more decoders
and new postproc elements
- AppSink API to retrieve events in addition to buffers and buffer
lists
- AppSrc gained more configuration options for the internal queue
(leakiness, limits in buffers and time, getters to read current
levels)
- Updated Rust bindings and many new Rust plugins
- Improved support for custom minimal GStreamer builds
- Support build against FFmpeg 5.0
- Linux Stateless CODEC support gained MPEG-2 and VP9
- Windows Direct3D11/DXVA decoder gained AV1 and MPEG-2 support
- Lots of new plugins, features, performance improvements and bug
fixes
Major new features and changes
Noteworthy new features and API
- gst_element_get_request_pad() has been deprecated in favour of the
newly-added gst_element_request_pad_simple() which does the exact
same thing but has a less confusing name that hopefully makes clear
that the function request a new pad rather than just retrieves an
already-existing request pad.
Development in GitLab was switched to a single git repository containing all the modules
The GStreamer multimedia framework is a set of libraries and plugins
split into a number of distinct modules which are released independently
and which have so far been developed in separate git repositories in
freedesktop.org GitLab.
In addition to these separate git repositories there was a gst-build
module that would use the Meson build systems subproject feature to
download each individual module and then build everything in one go. It
would also provide an uninstalled development environment that made it
easy to work on GStreamer and use or test versions other than the
system-installed GStreamer version.
All of these modules have now (as of 28 September 2021) been merged into
a single git repository (“Mono repository” or “monorepo”) which should
simplify development workflows and continuous integration, especially
where changes need to be made to multiple modules at once.
This mono repository merge will primarily affect GStreamer developers
and contributors and anyone who has workflows based on the GStreamer git
repositories.
The Rust bindings and Rust plugins modules have not been merged into the
mono repository at this time because they follow a different release
cycle.
The mono repository lives in the existing GStreamer core git repository
in GitLab in the new main branch and all future development will happen
on this branch.
Modules will continue to be released as separate tarballs.
For more details, please see the GStreamer mono repository FAQ.
GstPlay: new high-level playback library replacing GstPlayer
- GstPlay is a new high-level playback library that replaces the older
GstPlayer API. It is basically the same API as GstPlayer but
refactored to use bus messages for application notifications instead
of GObject signals. There is still a signal adapter object for those
who prefer signals. Since the existing GstPlayer API is already in
use in various applications, it didnt seem like a good idea to
break it entirely. Instead a new API was added, and it is expected
that this new GstPlay API will be moved to gst-plugins-base in
future.
- The existing GstPlayer API is scheduled for deprecation and will be
removed at some point in the future (e.g. in GStreamer 1.24), so
application developers are urged to migrate to the new GstPlay API
at their earliest convenience.
WebM alpha decoding
- Implement WebM alpha decoding (VP8/VP9 with alpha), which required
support and additions in various places. This is supported both with
software decoders and hardware-accelerated decoders.
- VP8/VP9 dont support alpha components natively in the codec, so the
way this is implemented in WebM is by encoding the alpha plane with
transparency data as a separate VP8/VP9 stream. Inside the WebM
container (a variant of Matroska) this is coded as a single video
track with the “normal” VP8/VP9 video data making up the main video
data and each frame of video having an encoded alpha frame attached
to it as extra data ("BlockAdditional").
- matroskademux has been extended extract this per-frame alpha side
data and attach it in form of a GstVideoCodecAlphaMeta to the
regular video buffers. Note that this new meta is specific to this
VP8/VP9 alpha support and cant be used to just add alpha support to
other codecs that dont support it. Lastly, matroskademux also
advertises the fact that the streams contain alpha in the caps.
- The new codecalpha plugin contains various bits of infrastructure to
support autoplugging and debugging:
- codecalphademux splits out the alpha stream from the metas on
the regular VP8/VP9 buffers
- alphacombine takes two decoded raw video streams (one alpha, one
the regular video) and combines it into a video stream with
alpha
- vp8alphadecodebin + vp9alphadecodebin are wrapper bins that use
the regular vp8dec and vp9dec software decoders to decode
regular and alpha streams and combine them again. To decodebin
these look like regular decoders.
- The V4L2 CODEC plugin has stateless VP8/VP9 decoders that can
decode both alpha and non-alpha stream with a single decoder
instance
- A new AV12 video format was added which is basically NV12 with an
alpha plane, which is more convenient for many hardware-accelerated
decoders.
- Watch Nicolas Dufresnes LCA 2022 talk “Bringing WebM Alpha support
to GStreamer” for all the details and a demo.
RTP Header Extensions Base Class and Automatic Header Extension Handling in RTP Payloaders and Depayloaders
- RTP Header Extensions are specified in RFC 5285 and provide a way to
add small pieces of data to RTP packets in between the RTP header
and the RTP payload. This is often used for per-frame metadata,
extended timestamps or other application-specific extra data. There
are several commonly-used extensions specified in various RFCs, but
senders are free to put any kind of data in there, as long as sender
and receiver both know what that data is. Receivers that dont know
about the header extensions will just skip the extra data without
ever looking at it. These header extensions can often be combined
with any kind of payload format, so may need to be supported by many
RTP payloader and depayloader elements.
- Inserting and extracting RTP header extension data has so far been a
bit inconvenient in GStreamer: There are functions to add and
retrieve RTP header extension data from RTP packets, but nothing
works automatically, even for common extensions. People would have
to do the insertion/extraction either in custom elements
before/after the RTP payloader/depayloader, or inside pad probes,
which isnt very nice.
- This release adds various pieces of new infrastructure for generic
RTP header extension handling, as well as some implementations for
common extensions:
- GstRTPHeaderExtension is a new helper base class for reading and
writing RTP header extensions. Nominally this subclasses
GstElement, but only so these extensions are stored in the
registry where they can be looked up by URI or name. They dont
have pads and dont get added to the pipeline graph as an
element.
- "add-extension" and "clear-extension" action signals on RTP
payloaders and depayloaders for manual extension management
- The "request-extension" signal will be emitted if an extension
is encountered that requires explicit mapping by the application
- new "auto-header-extension" property on RTP payloaders and
depayloaders for automatic handling of known header extensions.
This is enabled by default. The extensions must be signalled via
caps / SDP.
- RTP header extension implementations:
- rtphdrextclientaudiolevel: Client-to-Mixer Audio Level
Indication (RFC 6464) (also see below)
- rtphdrextcolorspace: Color Space extension, extends RTP
packets with color space and high dynamic range (HDR)
information
- rtphdrexttwcc: Transport Wide Congestion Control support
- gst_rtp_buffer_remove_extension_data() is a new helper function to
remove an RTP header extension from an RTP buffer
- The existing gst_rtp_buffer_set_extension_data() now also supports
shrinking the extension data in size
AppSink and AppSrc improvements
- appsink: new API to pull events out of appsink in addition to
buffers and buffer lists.
There was previously no way for users to receive incoming events
from appsink properly serialised with the data flow, even if they
are serialised events. The reason for that is that the only way to
intercept events was via a pad probe on the appsink sink pad, but
there is also internal queuing inside of appsink, so its difficult
to ascertain the right order of everything in all cases.
There is now a new "new-serialized-event" signal which will be
emitted when theres a new event pending (just like the existing
"new-sample" signal). The "emit-signals" property must be set to
TRUE in order to activate this (but its also fine to just pull from
the application thread without using the signals).
gst_app_sink_pull_object() and gst_app_sink_try_pull_object() can be
used to pull out either an event or a new sample carrying a buffer
or buffer list, whatever is next in the queue.
EOS events will be filtered and will not be returned. EOS handling
can be done the usual way, same as with _pull_sample().
- appsrc: allow configuration of internal queue limits in time and
buffers and add leaky mode.
There is internal queuing inside appsrc so the application thread
can push data into the element which will then be picked up by the
source elements streaming thread and pushed into the pipeline from
that streaming thread. This queue is unlimited by default and until
now it was only possible to set a maximum size limit in bytes. When
that byte limit is reached, the pushing thread (application thread)
would be blocked until more space becomes available.
A limit in bytes is not particularly useful for many use cases, so
now it is possible to also configure limits in time and buffers
using the new "max-time" and "max-buffers" properties. Of course
there are also matching new read-only"current-level-buffers" and
"current-level-time properties" properties to query the current fill
level of the internal queue in time and buffers.
And as if that wasnt enough the internal queue can also be
configured as leaky using the new "leaky-type" property. That way
when the queue is full the application thread wont be blocked when
it tries to push in more data, but instead either the new buffer
will be dropped or the oldest data in the queue will be dropped.
Better string serialization of nested GstCaps and GstStructures
- New string serialisation format for structs and caps that can handle
nested structs and caps properly by using brackets to delimit nested
items (e.g. some-struct, some-field=[nested-struct, nested=true]).
Unlike the default format the new variant can also support more than
one level of nesting. For backwards-compatibility reasons the old
format is still output by default when serialising caps and structs
using the existing API. The new functions gst_caps_serialize() and
gst_structure_serialize() can be used to output strings in the new
format.
Convenience API for custom GstMetas
- New convenience API to register and create custom GstMetas:
gst_meta_register_custom() and gst_buffer_add_custom_meta(). Such
custom meta is backed by a GstStructure and does not require that
users of the API expose their GstMeta implementation as public API
for other components to make use of it. In addition, it provides a
simpler interface by ignoring the impl vs. api distinction that the
regular API exposes. This new API is meant to be the meta
counterpart to custom events and messages, and to be more convenient
than the lower-level API when the absolute best performance isnt a
requirement. The reason its less performant than a “proper” meta is
that a proper meta is just a C struct in the end whereas this goes
through the GstStructure API which has a bit more overhead, which
for most scenarios is negligible however. This new API is useful for
experimentation or proprietary metas, but also has some limitations:
it can only be used if theres a single producer of these metas;
registering the same custom meta multiple times or from multiple
places is not allowed.
Additional Element Properties on Encoding Profiles
- GstEncodingProfile: The new "element-properties" and
gst_encoding_profile_set_element_properties() API allows
applications to set additional element properties on encoding
profiles to configure muxers and encoders. So far the encoding
profile template was the only place where this could be specified,
but often what applications want to do is take a ready-made encoding
profile shipped by GStreamer or the application and then tweak the
settings on top of that, which is now possible with this API. Since
applications cant always know in advance what encoder element will
be used in the end, its even possible to specify properties on a
per-element basis.
Encoding Profiles are used in the encodebin, transcodebin and
camerabin elements and APIs to configure output formats (containers
and elementary streams).
Audio Level Indication Meta for RFC 6464
- New GstAudioLevelMeta containing Audio Level Indication as per RFC
6464
- The level element has been updated to add GstAudioLevelMeta on
buffers if the "audio-level-meta" property is set to TRUE. This can
then in turn be picked up by RTP payloaders to signal the audio
level to receivers through RTP header extensions (see above).
- New Client-to-Mixer Audio Level Indication (RFC6464) RTP Header
Extension which should be automatically created and used by RTP
payloaders and depayloaders if their "auto-header-extension"
property is enabled and if the extension is part of the RTP caps.
Automatic packet loss, data corruption and keyframe request handling for video decoders
- The GstVideoDecoder base class has gained various new APIs to
automatically handle packet loss and data corruption better by
default, especially in RTP, RTSP and WebRTC streaming scenarios, and
to give subclasses more control about how they want to handle
missing data:
- Video decoder subclasses can mark output frames as corrupted via
the new GST_VIDEO_CODEC_FRAME_FLAG_CORRUPTED flag
- A new "discard-corrupted-frames" property allows applications to
configure decoders so that corrupted frames are directly
discarded instead of being forwarded inside the pipeline. This
is a replacement for the "output-corrupt" property of the FFmpeg
decoders.
- RTP depayloaders can now signal to decoders that data is missing
when sending GAP events for lost packets. GAP events can be sent
for various reason in a GStreamer pipeline. Often they are just
used to let downstream elements know that there isnt a buffer
available at the moment, so downstream elements can move on
instead of waiting for one. They are also sent by RTP
depayloaders in the case that packets are missing, however, and
so far a decoder was not able to differentiate the two cases.
This has been remedied now: GAP events can be decorated with
gst_event_set_gap_flags() and GST_GAP_FLAG_MISSING_DATA to let
decoders now what happened, and decoders can then use that in
some cases to handle missing data better.
- The GstVideoDecoder::handle_missing_data vfunc was added to
inform subclasses about packet loss or missing data and let them
handle it in their own way if they like.
- gst_video_decoder_set_needs_sync_point() lets subclasses signal
that they need the stream to start with a sync point. If
enabled, the base class will discard all non-sync point frames
in the beginning and after a flush and does not pass them to the
subclass. Furthermore, if the first frame is not a sync point,
the base class will try and request a sync frame from upstream
by sending a force-key-unit event (see next items).
- New "automatic-request-sync-points" and
"automatic-request-sync-point-flags" properties to automatically
request sync points when needed, e.g. on packet loss or if the
first frame is not a keyframe. Applications may want to enable
this on decoders operating in e.g. RTP/WebRTC/RTSP receiver
pipelines.
- The new "min-force-key-unit-interval" property can be used to
ensure theres a minimal interval between keyframe requests to
upstream (and/or the sender) and were not flooding the sender
with key unit requests.
- gst_video_decoder_request_sync_point() allows subclasses to
request a new sync point (e.g. if they choose to do their own
missing data handling). This will still honour the
"min-force-key-unit-interval" property if set.
Improved support for custom minimal GStreamer builds
- Element registration and registration of other plugin features
inside plugin init functions has been improved in order to
facilitate minimal custom GStreamer builds.
- A number of new macros have been added to declare and create
per-element and per-plugin feature register functions in all
plugins, and then call those from the per-plugin plugin_init
functions:
- GST_ELEMENT_REGISTER_DEFINE,
GST_DEVICE_PROVIDER_REGISTER_DEFINE,
GST_DYNAMIC_TYPE_REGISTER_DEFINE, GST_TYPE_FIND_REGISTER_DEFINE
for the actual registration call with GStreamer
- GST_ELEMENT_REGISTER, GST_DEVICE_PROVIDER_REGISTER,
GST_DYNAMIC_TYPE_REGISTER, GST_PLUGIN_STATIC_REGISTER,
GST_TYPE_FIND_REGISTER to call the registration function defined
by the REGISTER_DEFINE macro
- GST_ELEMENT_REGISTER_DECLARE,
GST_DEVICE_PROVIDER_REGISTER_DECLARE,
GST_DYNAMIC_TYPE_REGISTER_DECLARE,
GST_TYPE_FIND_REGISTER_DECLARE to declare the registration
function defined by the REGISTER_DEFINE macro
- and various variants for advanced use cases.
- This means that applications can call the per-element and per-plugin
feature registration functions for only the elements they need
instead of registering plugins as a whole with all kinds of elements
that may not be required (e.g. encoder and decoder instead of just
decoder). In case of static linking all unused functions and their
dependencies would be removed in this case by the linker, which
helps minimise binary size for custom builds.
- gst_init() will automatically call a gst_init_static_plugins()
function if one exists.
- See the GStreamer static build documentation and Stéphanes blog
post Generate a minimal GStreamer build, tailored to your needs for
more details.
New elements
- New aesdec and aesenc elements for AES encryption and decryption in
a custom format.
- New encodebin2 element with dynamic/sometimes source pads in order
to support the option of doing the muxing outside of encodebin,
e.g. in combination with a splitmuxsink.
- New fakeaudiosink and videocodectestsink elements for testing and
debugging (see below for more details)
- rtpisacpay, rtpisacdepay: new RTP payloader and depayloader for iSAC
audio codec
- rtpst2022-1-fecdec, rtpst2022-1-fecenc: new elements providing SMPTE
2022-1 2-D Forward Error Correction. More details in Mathieus blog
post.
- isac: new plugin wrapping the Internet Speech Audio Codec reference
encoder and decoder from the WebRTC project.
- asio: plugin for Steinberg ASIO (Audio Streaming Input/Output) API
- gssrc, gssink: add source and sink for Google Cloud Storage
- onnx: new plugin to apply ONNX neural network models to video
- openaptx: aptX and aptX-HD codecs using libopenaptx (v0.2.0)
- qroverlay, debugqroverlay: new elements that allow overlaying data
on top of video in the form of a QR code
- cvtracker: new OpenCV-based tracker element
- av1parse, vp9parse: new parsers for AV1 and VP9 video
- va: work on the new VA-API plugin implementation for
hardware-accelerated video decoding and encoding has continued at
pace, with various new decoders and filters having joined the
initial vah264dec:
- vah265dec: VA-API H.265 decoder
- vavp8dec: VA-API VP8 decoder
- vavp9dec: VA-API VP9 decoder
- vaav1dec: VA-API AV1 decoder
- vampeg2dec: VA-API MPEG-2 decoder
- vadeinterlace: : VA-API deinterlace filter
- vapostproc: : VA-API postproc filter (color conversion,
resizing, cropping, color balance, video rotation, skin tone
enhancement, denoise, sharpen)
See Víctors blog post “GstVA in GStreamer 1.20” for more details
and whats coming up next.
- vaapiav1dec: new AV1 decoder element (in gstreamer-vaapi)
- msdkav1dec: hardware-accelerated AV1 decoder using the Intel Media
SDK / oneVPL
- nvcodec plugin for NVIDIA NVCODEC API for hardware-accelerated video
encoding and decoding:
- cudaconvert, cudascale: new CUDA based video color space convert
and rescale elements
- cudaupload, cudadownload: new helper elements for memory
transfer between CUDA and system memory spaces
- nvvp8sldec, nvvp9sldec: new GstCodecs-based VP8/VP9 decoders
- Various new hardware-accelerated elements for Windows:
- d3d11screencapturesrc: new desktop capture element, including a
GstDeviceProvider implementation to enumerate/select target
monitors for capture.
- d3d11av1dec and d3d11mpeg2dec: AV1 and MPEG-2 decoders
- d3d11deinterlace: deinterlacing filter
- d3d11compositor: video composing element
- see Windows section below for more details
- new Rust plugins:
- audiornnoise: Removes noise from an audio stream
- awstranscribeparse: Parses AWS audio transcripts into timed text
buffers
- ccdetect: Detects if valid closed captions are present in a
closed captions stream
- cea608tojson: Converts CEA-608 Closed Captions to a JSON
representation
- cmafmux: CMAF fragmented mp4 muxer
- dashmp4mux: DASH fragmented mp4 muxer
- isofmp4mux: ISO fragmented mp4 muxer
- ebur128level: EBU R128 Loudness Level Measurement
- ffv1dec: FFV1 video decoder
- gtk4paintablesink: GTK4 video sink, which provides a
GdkPaintable that can be rendered in various widgets
- hlssink3: HTTP Live Streaming sink
- hrtfrender: Head-Related Transfer Function (HRTF) renderer
- hsvdetector: HSV colorspace detector
- hsvfilter: HSV colorspace filter
- jsongstenc: Wraps buffers containing any valid top-level JSON
structures into higher level JSON objects, and outputs those as
ndjson
- jsongstparse: Parses ndjson as output by jsongstenc
- jsontovtt: converts JSON to WebVTT subtitles
- regex: Applies regular expression operations on text
- roundedcorners: Adds rounded corners to video
- spotifyaudiosrc: Spotify source
- textahead: Display upcoming text buffers ahead (e.g. for
Karaoke)
- transcriberbin: passthrough bin that transcribes raw audio to
closed captions using awstranscriber and puts the captions as
metas onto the video
- tttojson: Converts timed text to a JSON representation
- uriplaylistbin: Playlist source bin
- webpdec-rs: WebP image decoder with animation support
- New plugin codecalpha with elements to assist with WebM Alpha
decoding
- codecalphademux: Split stream with GstVideoCodecAlphaMeta into
two streams
- alphacombine: Combine two raw video stream (I420 or NV12) as one
stream with alpha channel (A420 or AV12)
- vp8alphadecodebin: A bin to handle software decoding of VP8 with
alpha
- vp9alphadecodebin: A bin to handle software decoding of VP9 with
alpha
- New hardware accelerated elements for Linux:
- v4l2slmpeg2dec: Support for Linux Stateless MPEG-2 decoders
- v4l2slvp9dec: Support for Linux Stateless VP9 decoders
- v4l2slvp8alphadecodebin: Support HW accelerated VP8 with alpha
layer decoding
- v4l2slvp9alphadecodebin: Support HW accelerated VP9 with alpha
layer decoding
New element features and additions
- assrender: handle more font mime types; better interaction with
matroskademux for embedded fonts
- audiobuffersplit: Add support for specifying output buffer size in
bytes (not just duration)
- audiolatency: new "samplesperbuffer" property so users can configure
the number of samples per buffer. The default value is 240 samples
which is equivalent to 5ms latency with a sample rate of 48000,
which might be larger than actual buffer size of audio capture
device.
- audiomixer, audiointerleave, GstAudioAggregator: now keep a count of
samples that are dropped or processed as statistic and can be made
to post QoS messages on the bus whenever samples are dropped by
setting the "qos-messages" property on input pads.
- audiomixer, compositor: improved handling of new inputs added at
runtime. New API was added to the GstAggregator base class to allow
subclasses to opt into an aggregation mode where inactive pads are
ignored when processing input buffers
(gst_aggregator_set_ignore_inactive_pads(),
gst_aggregator_pad_is_inactive()). An “inactive pad” in this context
is a pad which, in live mode, hasnt yet received a first buffer,
but has been waited on at least once. What would happen usually in
this case is that the aggregator would wait for data on this pad
every time, up to the maximum configured latency. This would
inadvertently push mixer elements in live mode to the configured
latency envelope and delay processing when new inputs are added at
runtime until these inputs have actually produced data. This is
usually undesirable. With this new API, new inputs can be added
(requested) and configured and they wont delay the data processing.
Applications can opt into this new behaviour by setting the
"ignore-inactive-pads" property on compositor, audiomixer or other
GstAudioAggregator-based elements.
- cccombiner: implement “scheduling” of captions. So far cccombiners
behaviour was essentially that of a funnel: it strictly looked at
input timestamps to associate together video and caption buffers.
Now it will try to smoothly schedule caption buffers in order to
have exactly one per output video buffer. This might involve
rewriting input captions, for example when the input is CDP then
sequence counters are rewritten, time codes are dropped and
potentially re-injected if the input video frame had a time code
meta. This can also lead to the input drifting from synchronisation,
when there isnt enough padding in the input stream to catch up. In
that case the element will start dropping old caption buffers once
the number of buffers in its internal queue reaches a certain limit
(configurable via the "max-scheduled" property). The new original
funnel-like behaviour can be restored by setting the "scheduling"
property to FALSE.
- ccconverter: new "cdp-mode" property to specify which sections to
include in CDP packets (timecode, CC data, service info). Various
software, including FFmpegs Decklink support, fails parsing CDP
packets that contain anything but CC data in the CDP packets.
- clocksync: new "sync-to-first" property for automatic timestamp
offset setup: if set clocksync will set up the "ts-offset" value
based on the first buffer and the pipelines running time when the
first buffer arrived. The newly configured "ts-offset" in this case
would be the value that allows outputting the first buffer without
waiting on the clock. This is useful for example to feed a non-live
input into an already-running pipeline.
- compositor:
- multi-threaded input conversion and compositing. Set the
"max-threads" property to activate this.
- new "sizing-policy" property to support display aspect ratio
(DAR)-aware scaling. By default the image is scaled to fill the
configured destination rectangle without padding and without
keeping the aspect ratio. With sizing-policy=keep-aspect-ratio
the input image is scaled to fit the destination rectangle
specified by GstCompositorPad:{xpos, ypos, width, height}
properties preserving the aspect ratio. As a result, the image
will be centered in the destination rectangle with padding if
necessary.
- new "zero-size-is-unscaled" property on input pads. By default
pad width=0 or pad height=0 mean that the stream should not be
scaled in that dimension. But if the "zero-size-is-unscaled"
property is set to FALSE a width or height of 0 is instead
interpreted to mean that the input image on that pad should not
be composited, which is useful when creating animations where an
input image is made smaller and smaller until it disappears.
- improved handling of new inputs at runtime via
"ignore-inactive-pads"property (see above for details)
- allow output format with alpha even if none of the inputs have
alpha (also glvideomixer and other GstVideoAggregator
subclasses)
- dashsink: add H.265 codec support and signals for allowing custom
playlist/fragment output
- decodebin3:
- improved decoder selection, especially for hardware decoders
- make input activation “atomic” when adding inputs dynamically
- better interleave handling: take into account decoder latency
for interleave size
- decklink:
- Updated DeckLink SDK to 11.2 to support DeckLink 8K Pro
- decklinkvideosrc:
- More accurate and stable capture timestamps: use the
hardware reference clock time when the frame was finished
being captured instead of a clock time much further down the
road.
- Automatically detect widescreen vs. normal NTSC/PAL
- encodebin:
- add “smart encoding” support for H.265, VP8 and VP9 (i.e. only
re-encode where needed and otherwise pass through encoded video
as-is).
- H.264/H.265 smart encoding improvements: respect user-specified
stream-format, but if not specified default to avc3/hvc1 with
in-band SPS/PPS/VPS signalling for more flexibility.
- new encodebin2 element with dynamic/sometimes source pads in
order to support the option of doing the muxing outside of
encodebin, e.g. in combination with splitmuxsink.
- add APIs to set element properties on encoding profiles (see
below)
- errorignore: new "ignore-eos" property to also ignore FLOW_EOS from
downstream elements
- giosrc: add support for growing source files: applications can
specify that the underlying file being read is growing by setting
the "is-growing" property. If set, the source wont EOS when it
reaches the end of the file, but will instead start monitoring it
and will start reading data again whenever a change is detected. The
new "waiting-data" and "done-waiting-data" signals keep the
application informed about the current state.
- gtksink, gtkglsink:
- scroll event support: forwarded as navigation events into the
pipeline
- "video-aspect-ratio-override" property to force a specific
aspect ratio
- "rotate-method" property and support automatic rotation based on
image tags
- identity: new "stats" property allows applications to retrieve the
number of bytes and buffers that have passed through so far.
- interlace: add support for more formats, esp 10-bit, 12-bit and
16-bit ones
- jack: new "low-latency" property for automatic latency-optimized
setting and "port-names" property to select ports explicitly
- jpegdec: support output conversion to RGB using libjpeg-turbo (for
certain input files)
- line21dec:
- "mode" property to control whether and how detected closed
captions should be inserted in the list of existing close
caption metas on the input frame (if any): add, drop, or
replace.
- "ntsc-only" property to only look for captions if video has NTSC
resolution
- line21enc: new "remove-caption-meta" to remove metas from output
buffers after encoding the captions into the video data; support for
CDP closed captions
- matroskademux, matroskamux: Add support for ffv1, a lossless
intra-frame video coding format.
- matroskamux: accept in-band SPS/PPS/VPS for H.264 and H.265
(i.e. stream-format avc3 and hev1) which allows on-the-fly
profile/level changes, and from 1.20.4 onwards also resolution
changes.
- matroskamux: new "cluster-timestamp-offset" property, useful for use
cases where the container timestamps should map to some absolute
wall clock time, for example.
- rtpsrc: add "caps" property to allow explicit setting of the caps
where needed
- mpegts: support SCTE-35 pass-through via new "send-scte35-events"
property on MPEG-TS demuxer tsdemux. When enabled, SCTE 35 sections
(e.g. ad placement opportunities) are forwarded as events downstream
where they can be picked up again by mpegtsmux. This required a
semantic change in the SCTE-35 section API: timestamps are now in
running time instead of muxer pts.
- tsdemux: Handle PCR-less MPEG-TS streams; more robust timestamp
handling in certain corner cases and for poorly muxed streams.
- mpegtsmux:
- More conformance improvements to make MPEG-TS analysers happy:
- PCR timing accuracy: Improvements to the way mpegtsmux
outputs PCR observations in CBR mode, so that a PCR
observation is always inserted when needed, so that we never
miss the configured pcr-interval, as that triggers various
MPEG-TS analyser errors.
- Improved PCR/SI scheduling
- Dont write PCR until PAT/PMT are output to make sure streams
start cleanly with a PAT/PMT.
- Allow overriding the automatic PMT PID selection via
application-supplied PMT_%d fields in the prog-map
structure/property.
- mp4mux:
- new "first-moov-then-finalise" mode for fragmented output where
the output will start with a self-contained moov atom for the
first fragment, and then produce regular fragments. Then at the
end when the file is finalised, the initial moov is invalidated
and a new moov is written covering the entire file. This way the
file is a “fragmented mp4” file while it is still being written
out, and remains playable at all times, but at the end it is
turned into a regular mp4 file (with former fragment headers
remaining as unused junk data in the file).
- support H.264 avc3 and H.265 hvc1 stream formats as input where
the codec data is signalled in-band inside the bitstream instead
of caps/file headers.
- support profile/level/resolution changes for H.264/H.265 input
streams (i.e. codec data changing on the fly). Each codec_data
is put into its own SampleTableEntry inside the stsd, unless the
input is in avc3 stream format in which case its written
in-band and not in the headers.
- multifilesink: new ""min-keyframe-distance"" property to make
minimum distance between keyframes in next-file=key-frame mode
configurable instead of hard-coding it to 10 seconds.
- mxfdemux has seen a big refactoring to support non-frame wrappings
and more accurate timestamp/seek handling for some formats
- msdk plugin for hardware-accelerated video encoding and decoding
using the Intel Media SDK:
- oneVPL support (Intel oneAPI Video Processing Library)
- AV1 decoding support
- H.264 decoder now supports constrained-high and progressive-high
profiles
- H.264 encoder:
- more configuration options (properties):
"intra-refresh-type", "min-qp" , "max-qp", "p-pyramid",
"dblk-idc"
- H.265 encoder:
- can output main-still-picture profile
- now inserts HDR SEIs (mastering display colour volume and
content light level)
- more configuration options (properties):
"intra-refresh-type", "min-qp" , "max-qp", "p-pyramid",
"b-pyramid", "dblk-idc", "transform-skip"
- support for RGB 10bit format
- External bitrate control in encoders
- Video post proc element msdkvpp gained support for 12-bit pixel
formats P012_LE, Y212_LE and Y412_LE
- nvh264sldec: interlaced stream support
- openh264enc: support main, high, constrained-high and
progressive-high profiles
- openjpeg: support for multithreaded decoding and encoding
- rtspsrc: now supports IPv6 also for tunneled mode (RTSP-over-HTTP);
new "ignore-x-server-reply" property to ignore the
x-server-ip-address server header reply in case of HTTP tunneling,
as it is often broken.
- souphttpsrc: Runtime compatibility support for libsoup2 and
libsoup3. libsoup3 is the latest major version of libsoup, but
libsoup2 and libsoup3 cant co-exist in the same process because
there is no namespacing or versioning for GObject types. As a
result, it would be awkward if the GStreamer souphttpsrc plugin
linked to a specific version of libsoup, because it would only work
with applications that use the same version of libsoup. To make this
work, the soup plugin now tries to determine the libsoup version
used by the application (and its other dependencies) at runtime on
systems where GStreamer is linked dynamically. libsoup3 support is
still considered somewhat experimental at this point. Distro
packagers please take note of the souphttpsrc plugin dependency
changes mentioned in the build and dependencies section below.
- srtsrc, srtsink: add signals for the application to accept/reject
incoming connections
- timeoverlay: new elapsed-running-time time mode which shows the
running time since the first running time (and each flush-stop).
- udpsrc: new timestamping mode to retrieve packet receive timestamps
from the kernel via socket control messages (SO_TIMESTAMPNS) on
supported platforms
- uritranscodebin: new setup-source and element-setup signals for
applications to configure elements used
- v4l2codecs plugin gained support for 4x4 and 32x32 tile formats
enabling some platforms or direct renders. Important memory usage
improvement.
- v4l2slh264dec now implements the final Linux uAPI as shipped on
Linux 5.11 and later.
- valve: add "drop-mode" property and provide two new modes of
operation: in drop-mode=forward-sticky-events sticky events
(stream-start, segment, tags, caps, etc.) are forwarded downstream
even when dropping is enabled; drop-mode=transform-to-gap will in
addition also convert buffers into gap events when dropping is
enabled, which lets downstream elements know that time is advancing
and might allow for preroll in many scenarios. By default all events
and all buffers are dropped when dropping is enabled, which can
cause problems with caps negotiation not progressing or branches not
prerolling when dropping is enabled.
- videocrop: support for many more pixel formats, e.g. planar YUV
formats with > 8bits and GBR* video formats; can now also accept
video not backed by system memory as long as downstream supports the
GstCropMeta
- videotestsrc: new smpte-rp-219 pattern for SMPTE75 RP-219 conformant
color bars
- vp8enc: finish support for temporal scalability: two new properties
("temporal-scalability-layer-flags",
"temporal-scalability-layer-sync-flags") and a unit change on the
"temporal-scalability-target-bitrate” property (now expects bps);
also make temporal scalability details available to RTP payloaders
as buffer metadata.
- vp9enc: new properties to tweak encoder performance:
- "aq-mode" to configure adaptive quantization modes
- "frame-parallel-decoding" to configure whether to create a
bitstream that reduces decoding dependencies between frames
which allows staged parallel processing of more than one video
frames in the decoder. (Defaults to TRUE)
- "row-mt", "tile-columns" and "tile-rows" so multithreading can
be enabled on a per-tile basis, instead of on a per tile-column
basis. In combination with the new "tile-rows" property, this
allows the encoder to make much better use of the available CPU
power.
- vp9dec, vp9enc: add support for 10-bit 4:2:0 and 4:2:2 YUV, as well
as 8-bit 4:4:4
- vp8enc, vp9enc now default to “good quality” for the deadline
property rather then “best quality”. Having the deadline set to best
quality causes the encoder to be absurdly slow, most real-life users
will prefer good-enough quality with better performance instead.
- wpesrc:
- implement audio support: a new sometimes source pad will be
created for each audio stream created by the web engine.
- move wpesrc to wpevideosrc and add a wrapper bin wpesrc to also
support audio
- also handles web:// URIs now (same as cefsrc)
- post messages with the estimated load progress on the bus
- x265enc: add negative DTS support, which means timestamps are now
offset by 1h same as with x264enc
RTP Payloaders and Depayloaders
- rtpisacpay, rtpisacdepay: new RTP payloader and depayloader for iSAC
audio codec
- rtph264depay:
- new "request-keyframe" property to make the depayloader
automatically request a new keyframe from the sender on packet
loss, consistent with the new property on rtpvp8depay.
- new "wait-for-keyframe" property to make depayloader wait for a
new keyframe at the beginning and after packet loss (only
effective if the depayloader outputs AUs), consistent with the
existing property on rtpvp8depay.
- rtpopuspay, rtpopusdepay: support libwebrtc-compatible multichannel
audio in addition to the previously supported multichannel audio
modes
- rtpopuspay: add DTX (Discontinuous Transmission) support
- rtpvp8depay: new "request-keyframe" property to make the depayloader
automatically request a new keyframe from the sender on packet loss.
- rtpvp8pay: temporal scaling support
- rtpvp9depay: Improved SVC handling (aggregate all layers)
RTP Infrastructure
- rtpst2022-1-fecdec, rtpst2022-1-fecenc: new elements providing SMPTE
2022-1 2-D Forward Error Correction. More details in Mathieus blog
post.
- rtpreddec: BUNDLE support
- rtpredenc, rtpulpfecenc: add support for Transport-wide Congestion
Control (TWCC)
- rtpsession: new "twcc-feedback-interval" property to allow RTCP TWCC
reports to be scheduled on a timer instead of per marker-bit.
Plugin and library moves
- There were no plugin moves or library moves in this cycle.
Plugin removals
The following elements or plugins have been removed:
- The ofa audio fingerprinting plugin has been removed. The MusicIP
database has been defunct for years so this plugin is likely neither
useful nor used by anyone.
- The mms plugin containing mmssrc has been removed. It seems unlikely
anyone still needs this or that there are even any streams left out
there. The MMS protocol was deprecated in 2003 (in favour of RTSP)
and support for it was dropped with Microsoft Media Services 2008,
and Windows Media Player apparently also does not support it any
more.
Miscellaneous API additions
Core
- gst_buffer_new_memdup() is a convenience function for the
widely-used gst_buffer_new_wrapped(g_memdup(data,size),size)
pattern.
- gst_caps_features_new_single() creates a new single GstCapsFeatures,
avoiding the need to use the vararg function with NULL terminator
for simple cases.
- gst_element_type_set_skip_documentation() can be used by plugins to
signal that certain elements should not be included in the GStreamer
plugin documentation. This is useful for plugins where elements are
registered dynamically based on hardware capabilities and/or where
the available plugins and properties vary from system to system.
This is used in the d3d11 plugin for example to ensure that only the
list of default elements is advertised in the documentation.
- gst_type_find_suggest_empty_simple() is a new convenience function
for typefinders for cases where theres only a media type and no
other fields.
- New API to create elements and set properties at construction time,
which is not only convenient, but also allows GStreamer elements to
have construct-only properties: gst_element_factory_make_full(),
gst_element_factory_make_valist(),
gst_element_factory_make_with_properties(),
gst_element_factory_create_full(),
gst_element_factory_create_valist(),
gst_element_factory_create_with_properties().
- GstSharedTaskPool: new “shared” task pool subclass with slightly
different default behaviour than the existing GstTaskPool which
would create unlimited number of threads for new tasks. The shared
task pool creates up to N threads (default: 1) and then distributes
pending tasks to those threads round-robin style, and blocks if no
thread is available. It is possible to join tasks. This can be used
by plugins to implement simple multi-threaded processing and is used
for the new multi-threaded video conversion and compositing done in
GstVideoAggregator, videoconverter and compositor.
Plugins Base Utils library
- GstDiscoverer:
- gst_discoverer_container_info_get_tags() was added to retrieve
global/container tags (vs. per-stream tags). Per-Stream tags can
be retrieved via the existing
gst_discoverer_stream_info_get_tags().
gst_discoverer_info_get_tags(), which for many files returns a
confusing mix of stream and container tags, has been deprecated
in favour of the container/stream-specific functions.
- gst_discoverer_stream_info_get_stream_number() returns a unique
integer identifier for a given stream within the given
GstDiscoverer context. (If this matches the stream number inside
the container bitstream thats by coincidence and not by
design.)
- gst_pb_utils_get_caps_description_flags() can be used to query
whether certain caps represent a container, audio, video, image,
subtitles, tags, or something else. This only works for formats
known to GStreamer.
- gst_pb_utils_get_file_extension_from_caps() returns a possible file
extension for given caps.
- gst_codec_utils_h264_get_profile_flags_level(): Parses profile,
flags, and level from H.264 AvcC codec_data. The format of H.264
AVCC extradata/sequence_header is documented in the ITU-T H.264
specification section 7.3.2.1.1 as well as in ISO/IEC 14496-15
section 5.3.3.1.2.
- gst_codec_utils_caps_get_mime_codec() to convert caps to a RFC 6381
compatible MIME codec string codec. Useful for providing the codecs
field inside the Content-Type HTTP header for container formats,
such as mp4 or Matroska.
GStreamer OpenGL integration library and plugins
- glcolorconvert: added support for converting the video formats A420,
AV12, BGR, BGRA, RGBP and BGRP.
- Added support to GstGLBuffer for persistent buffer mappings where a
Pixel Buffer Object (PBO) can be mapped by both the CPU and the GPU.
This removes a memcpy() when uploading textures or vertices
particularly when software decoders (e.g. libav) are direct
rendering into our memory. Improves transfer performance
significantly. Requires OpenGL 4.4, GL_ARB_buffer_storage or
GL_EXT_buffer_storage
- Added various helper functions for handling 4x4 matrices of affine
transformations as used by GstVideoAffineTransformationMeta.
- Add support to GstGLContext for allowing the application to control
the config (EGLConfig, GLXConfig, etc) used when creating the OpenGL
context. This allows the ability to choose between RGB16 or RGB10A2
or RGBA8 back/front buffer configurations that were previously
hardcoded. GstGLContext also supports retrieving the configuration
it was created with or from an externally provide OpenGL context
handle. This infrastructure is also used to create a compatible
config from an application/externally provided OpenGL context in
order to improve compatibility with other OpenGL frameworks and GUI
toolkits. A new environment variable GST_GL_CONFIG was also added to
be able to request a specific configuration from the command line.
Note: different platforms will have different functionality
available.
- Add support for choosing between EGL and WGL at runtime when running
on Windows. Previously this was a build-time switch. Allows use in
e.g. Gtk applications on Windows that target EGL/ANGLE without
recompiling GStreamer. gst_gl_display_new_with_type() can be used by
applications to choose a specific display type to use.
- Build fixes to explicitly check for Broadcom-specific libraries on
older versions of the Raspberry Pi platform. The Broadcom OpenGL ES
and EGL libraries have different filenames. Using the vc4 Mesa
driver on the Raspberry Pi is not affected.
- Added support to glupload and gldownload for transferring RGBA
buffers using the memory:NVMM available on the Nvidia Tegra family
of embedded devices.
- Added support for choosing libOpenGL and libGLX as used in a GLVND
environment on unix-based platforms. This allows using desktop
OpenGL and EGL without pulling in any GLX symbols as would be
required with libGL.
Video library
- New raw video formats:
- AV12 (NV12 with alpha plane)
- RGBP and BGRP (planar RGB formats)
- ARGB64 variants with specified endianness instead of host
endianness:
- ARGB64_LE, ARGB64_BE
- RGBA64_BE, RGBA64_LE
- BGRA64_BE, BGRA64_LE
- ABGR64_BE, ABGR64_LE
- gst_video_orientation_from_tag() is new convenience API to parse the
image orientation from a GstTagList.
- GstVideoDecoder subframe support (see below)
- GstVideoCodecState now also carries some HDR metadata
- Ancillary video data: implement transform functions for AFD/Bar
metas, so they will be forwarded in more cases
MPEG-TS library
This library only handles section parsing and such, see above for
changes to the actual mpegtsmux and mpegtsdemux elements.
- many additions and improvements to SCTE-35 section parsing
- new API for fetching extended descriptors:
gst_mpegts_find_descriptor_with_extension()
- add support for SIT sections (Selection Information Tables)
- expose event-from-section constructor gst_event_new_mpegts_section()
- parse Audio Preselection Descriptor needed for Dolby AC-4
GstWebRTC library + webrtcbin
- Change the way in which sink pads and transceivers are matched
together to support easier usage. If a pad is created without a
specific index (i.e. using sink_%u as the pad template), then an
available compatible transceiver will be searched for. If a specific
index is requested (i.e. sink_1) then if a transceiver for that
m-line already exists, that transceiver must match the new sink pad
request. If there is no transceiver available in either scenario, a
new transceiver is created. If a mixture of both sink_1 and sink_%u
requests result in an impossible situation, an error will be
produced at pad request time or from create offer/answer.
- webrtcbin now uses regular ICE nomination instead of libnices
default of aggressive ICE nomination. Regular ICE nomination is the
default recommended by various relevant standards and improves
connectivity in specific network scenarios.
- Add support for limiting the port range used for RTP with the
addition of the min-rtp-port and max-rtp-port properties on the ICE
object.
- Expose the SCTP transport as a property on webrtcbin to more closely
match the WebRTC specification.
- Added support for taking into account the data channel transport
state when determining the value of the "connection-state" property.
Previous versions of the WebRTC spec did not include the data
channel state when computing this value.
- Add configuration for choosing the size of the underlying sockets
used for transporting media data
- Always advertise support for the transport-cc RTCP feedback protocol
as rtpbin supports it. For full support, the configured caps (input
or through codec-preferences) need to include the relevant RTP
header extension.
- Numerous fixes to caps and media handling to fail-fast when an
incompatible situation is detected.
- Improved support for attaching the required media after a remote
offer has been set.
- Add support for dynamically changing the amount of FEC used for a
particular stream.
- webrtcbin now stops further SDP processing at the first error it
encounters.
- Completed support for either local or the remote closing a data
channel.
- Various fixes when performing BUNDLEing of the media streams in
relation to RTX and FEC usage.
- Add support for writing out QoS DSCP marking on outgoing packets to
improve reliability in some network scenarios.
- Improvements to the statistics returned by the get-stats signal
including the addition of the raw statistics from the internal
RTPSource, the TWCC stats when available.
- The webrtc library does not expose any objects anymore with public
fields. Instead properties have been added to replace that
functionality. If you are accessing such fields in your application,
switch to the corresponding properties.
GstCodecs and Video Parsers
- Support for render delays to improve throughput across all CODECs
(used with NVDEC and V4L2).
- lots of improvements to parsers and the codec parsing decoder base
classes (H.264, H.265, VP8, VP9, AV1, MPEG-2) used for various
hardware-accelerated decoder APIs.
Bindings support
- gst_allocation_params_new() allocates a GstAllocationParams struct
on the heap. This should only be used by bindings (and freed via
gst_allocation_params_free() afterwards). In C code you would
allocate this on the stack and only init it in place.
- gst_debug_log_literal() can be used to log a string to the debug log
without going through any printf format expansion and associated
overhead. This is mostly useful for bindings such as the Rust
bindings which may have done their own formatting already .
- Provide non-inlined versions of refcounting APIs for various
GStreamer mini objects, so that they can be consumed by bindings
(e.g. gstreamer-sharp): gst_buffer_ref, gst_buffer_unref,
gst_clear_buffer, gst_buffer_copy, gst_buffer_replace,
gst_buffer_list_ref, gst_buffer_list_unref, gst_clear_buffer_list,
gst_buffer_list_copy, gst_buffer_list_replace, gst_buffer_list_take,
gst_caps_ref, gst_caps_unref, gst_clear_caps, gst_caps_replace,
gst_caps_take, gst_context_ref, gst_context_unref, gst_context_copy,
gst_context_replace, gst_event_replace, gst_event_steal,
gst_event_take, gst_event_ref, gst_event_unref, gst_clear_event,
gst_event_copy, gst_memory_ref, gst_memory_unref, gst_message_ref,
gst_message_unref, gst_clear_message, gst_message_copy,
gst_message_replace, gst_message_take, gst_promise_ref,
gst_promise_unref, gst_query_ref, gst_query_unref, gst_clear_query,
gst_query_copy, gst_query_replace, gst_query_take, gst_sample_ref,
gst_sample_unref, gst_sample_copy, gst_tag_list_ref,
gst_tag_list_unref, gst_clear_tag_list, gst_tag_list_replace,
gst_tag_list_take, gst_uri_copy, gst_uri_ref, gst_uri_unref,
gst_clear_uri.
- expose a GType for GstMiniObject
- gst_device_provider_probe() now returns non-floating device object
API Deprecations
- gst_element_get_request_pad() has been deprecated in favour of the
newly-added gst_element_request_pad_simple() which does the exact
same thing but has a less confusing name that hopefully makes clear
that the function request a new pad rather than just retrieves an
already-existing request pad.
- gst_discoverer_info_get_tags(), which for many files returns a
confusing mix of stream and container tags, has been deprecated in
favour of the container-specific and stream-specific functions,
gst_discoverer_container_info_get_tags() and
gst_discoverer_stream_info_get_tags().
- gst_video_sink_center_rect() was deprecated in favour of the more
generic newly-added gst_video_center_rect().
- The GST_MEMORY_FLAG_NO_SHARE flag has been deprecated, as it tends
to cause problems and prevents sub-buffering. If pooling or lifetime
tracking is required, memories should be allocated through a custom
GstAllocator instead of relying on the lifetime of the buffers the
memories were originally attached to, which is fragile anyway.
- The GstPlayer high-level playback library is being replaced with the
new GstPlay library (see above). GstPlayer should be considered
deprecated at this point and will be marked as such in the next
development cycle. Applications should be ported to GstPlay.
- Gstreamer Editing Services: ges_video_transition_set_border(),
ges_video_transition_get_border()
ges_video_transition_set_inverted()
ges_video_transition_is_inverted() have been deprecated, use
ges_timeline_element_set_children_properties() instead.
Miscellaneous performance, latency and memory optimisations
More video conversion fast paths
- v210 ↔ I420, YV12, Y42B, UYVY and YUY2
- A420 → RGB
Less jitter when waiting on the system clock
- Better system clock wait accuracy, less jitter: where available,
clock_nanosleep is used for higher accuracy for waits below 500
usecs, and waits below 2ms will first use the regular waiting system
and then clock_nanosleep for the remainder. The various wait
implementation have a latency ranging from 50 to 500+ microseconds.
While this is not a major issue when dealing with a low number of
waits per second (for ex: video), it does introduce a non-negligible
jitter for synchronisation of higher packet rate systems.
Video decoder subframe support
- The GstVideoDecoder base class gained API to process input at the
sub-frame level. That way video decoders can start decoding slices
before they have received the full input frame in its entirety (to
the extent this is supported by the codec, of course). This helps
with CPU utilisation and reduces latency.
- This functionality is now being used in the OpenJPEG JPEG 2000
decoder, the FFmpeg H.264 decoder (in case of NAL-aligned input) and
the OpenMAX H.264/H.265 decoders (in case of NAL-aligned input).
Miscellaneous other changes and enhancements
- GstDeviceMonitor no longer fails to start just because one of the
device providers failed to start. That could happen for example on
systems where the pulseaudio device provider is installed, but
pulseaudio isnt actually running but ALSA is used for audio
instead. In the same vein the device monitor now keeps track of
which providers have been started (via the new
gst_device_provider_is_started()) and only stops actually running
device providers when stopping the device monitor.
- On embedded systems it can be useful to create a registry that can
be shared and read by multiple processes running as different users.
It is now possible to set the new GST_REGISTRY_MODE environment
variable to specify the file mode for the registry file, which by
default is set to be only user readable/writable.
- GstNetClientClock will signal lost sync in case the remote time
resets (e.g. because device power cycles), by emitting the “synced”
signal with synced=FALSE parameter, so applications can take action.
- gst_value_deserialize_with_pspec() allows deserialisation with a
hint for what the target GType should be. This allows for example
passing arrays of flags through the command line or
gst_util_set_object_arg(), eg: foo="<bar,bar+baz>".
- Its now possible to create an empty GstVideoOverlayComposition
without any rectangles by passing a NULL rectangle to
gst_video_overlay_composition_new(). This is useful for bindings and
simplifies application code in some places.
Tracing framework, debugging and testing improvements
- New factories tracer to list loaded elements (and other plugin
features). This can be useful to collect a list of elements needed
for an application, which in turn can be used to create a tailored
minimal GStreamer build that contains just the elements needed and
nothing else.
- New plugin-feature-loaded tracing hook for use by tracers like the
new factories tracer
- GstHarness: Add gst_harness_set_live() so that harnesses can be set
to non-live and return is-live=false in latency queries if needed.
Default behaviour is to always return is-live=true in latency
queries.
- navseek: new "hold-eos" property. When enabled, the element will
hold back an EOS event until the next keystroke (via navigation
events). This can be used to keep a video sink showing the last
frame of a video pipeline until a key is pressed instead of tearing
it down immediately on EOS.
- New fakeaudiosink element: mimics an audio sink and can be used for
testing and CI pipelines on systems where no audio system is
installed or running. It differs from fakesink in that it only
support audio caps and syncs to the clock by default like a normal
audio sink. It also implements the GstStreamVolume interface like
most audio sinks do.
- New videocodectestsink element for video codec conformance testing:
Calculates MD5 checksums for video frames and skips any padding
whilst doing so. Can optionally also write back the video data with
padding removed into a file for easy byte-by-byte comparison with
reference data.
Tools
gst-inspect-1.0
- Can sort the list of plugins by passing --sort=name as command line
option
gst-launch-1.0
- will now error out on top-level properties that dont exist and
which were silently ignored before
- On Windows the high-resolution clock is enabled now, which provides
better clock and timer performance on Windows (see Windows section
below for more details).
gst-play-1.0
- New --start-position command line argument to start playback from
the specified position
- Audio can be muted/unmuted in interactive mode by pressing the m
key.
- On Windows the high-resolution clock is enabled now (see Windows
section below for more details)
gst-device-monitor-1.0
- New --include-hidden command line argument to also show “hidden”
device providers
ges-launch-1.0
- New interactive mode that allows seeking and such. Can be disabled
by passing the --no-interactive argument on the command line.
- Option to forward tags
- Allow using an existing clip to determine the rendering format (both
topology and profile) via new --profile-from command line argument.
GStreamer RTSP server
- GstRTSPMediaFactory gained API to disable RTCP
(gst_rtsp_media_factory_set_enable_rtcp(), "enable-rtcp" property).
Previously RTCP was always allowed for all RTSP medias. With this
change it is possible to disable RTCP completely, irrespective of
whether the client wants to do RTCP or not.
- Make a mount point of / work correctly. While not allowed by the
RTSP 2 spec, the RTSP 1 spec is silent on this and it is used in the
wild. It is now possible to use / as a mount path in
gst-rtsp-server, e.g. rtsp://example.com/ would work with this now.
Note that query/fragment parts of the URI are not necessarily
correctly handled, and behaviour will differ between various
client/server implementations; so use it if you must but dont bug
us if it doesnt work with third party clients as youd hoped.
- multithreading fixes (races, refcounting issues, deadlocks)
- ONVIF audio backchannel fixes
- ONVIF trick mode optimisations
- rtspclientsink: new "update-sdp" signal that allows updating the SDP
before sending it to the server via ANNOUNCE. This can be used to
add additional metadata to the SDP, for example. The order and
number of medias must not be changed, however.
GStreamer VAAPI
- new AV1 decoder element (vaapiav1dec)
- H.264 decoder: handle stereoscopic 3D video with frame packing
arrangement SEI messages
- H.265 encoder: added Screen Content Coding extensions support
- H.265 decoder: gained MAIN_444_12 profile support (decoded to
Y412_LE), and 4:2:2 12-bits support (decoded to Y212_LE)
- vaapipostproc: gained BT2020 color standard support
- vaapidecode: now generates caps templates dynamically at runtime in
order to advertise actually supported caps instead of all
theoretically supported caps.
- GST_VAAPI_DRM_DEVICE environment variable to force a specified DRM
device when a DRM display is used. It is ignored when other types of
displays are used. By default /dev/dri/renderD128 is used for DRM
display.
GStreamer OMX
- subframe support in H.264/H.265 decoders
GStreamer Editing Services and NLE
- framepositioner: new "operator" property to access blending modes in
the compositor
- timeline: Implement snapping to markers
- smart-mixer: Add support for d3d11compositor and glvideomixer
- titleclip: add "draw-shadow" child property
- ges:// URI support to define a timeline from a description.
- command-line-formatter
- Add track management to timeline description
- Add keyframe support
- ges-launch-1.0:
- Add an interactive mode where we can seek etc…
- Add option to forward tags
- Allow using an existing clip to determine the rendering format
(both topology and profile) via new --profile-from command line
argument.
- Fix static build
GStreamer validate
- report: Add a way to force backtraces on reports even if not a
critical issue (GST_VALIDATE_ISSUE_FLAGS_FORCE_BACKTRACE)
- Add a flag to gst_validate_replace_variables_in_string() allow
defining how to resolve variables in structs
- Add gst_validate_bin_monitor_get_scenario() to get the bin monitor
scenario, which is useful for applications that use Validate
directly.
- Add an expected-values parameter to wait, message-type=XX allowing
more precise filtering of the message we are waiting for.
- Add config file support: each test can now use a config file for the
given media file used to test.
- Add support to check properties of object properties
- scenario: Add an "action-done" signal to signal when an action is
done
- scenario: Add a "run-command" action type
- scenario: Allow forcing running action on idle from scenario file
- scenario: Allow iterating over arrays in foreach
- scenario: Rename interlaced action to non-blocking
- scenario: Add a non-blocking flag to the wait signal
GStreamer Python Bindings
- Fixes for Python 3.10
- Various build fixes
- at least one known breaking change caused by g-i annotation changes
(see below)
GStreamer C# Bindings
- Fix GstDebugGraphDetails enum
- Updated to latest GtkSharp
- Updated to include GStreamer 1.20 API
GStreamer Rust Bindings and Rust Plugins
- The GStreamer Rust bindings are released separately with a different
release cadence thats tied to gtk-rs, but the latest release has
already been updated for the upcoming new GStreamer 1.20 API (v1_20
feature).
- gst-plugins-rs, the module containing GStreamer plugins written in
Rust, has also seen lots of activity with many new elements and
plugins. See the New Elements section above for a list of new Rust
elements.
Build and Dependencies
- Meson 0.59 or newer is now required to build GStreamer.
- The GLib requirement has been bumped to GLib 2.56 or newer (from
March 2018).
- The wpe plugin now requires wpe >= 2.28 and wpebackend-fdo >= 1.8
- The souphttpsrc plugin is no longer linked against libsoup but
instead tries to pick up either libsoup2 or libsoup3 dynamically at
runtime. Distro packagers please ensure to add a dependency on one
of the libsoup runtimes to the gst-plugins-good package so that
there is actually a libsoup for the plugin to find!
Explicit opt-in required for build of certain plugins with (A)GPL dependencies
Some plugins have GPL- or AGPL-licensed dependencies and those plugins
will no longer be built by default unless you have explicitly opted in
to allow (A)GPL-licensed dependencies by passing -Dgpl=enabled to Meson,
even if the required dependencies are available.
See Building plugins with (A)GPL-licensed dependencies for more details
and a non-exhaustive list of plugins affected.
gst-build: replaced by mono repository
See mono repository section above and the GStreamer mono repository FAQ.
Cerbero
Cerbero is a meta build system used to build GStreamer plus dependencies
on platforms where dependencies are not readily available, such as
Windows, Android, iOS and macOS.
General Cerbero improvements
- Plugin removed: libvisual
- New plugins: rtpmanagerbad and rist
macOS / iOS specific Cerbero improvements
- XCode 12 support
- macOS OS release support is now future-proof, similar to iOS
- macOS Apple Silicon (ARM64) cross-compile support has been added,
including Universal binaries. There is a known bug regarding this on
ARM64.
- Running Cerbero itself on macOS Apple Silicon (ARM64) is currently
experimental and is known to have bugs
Windows specific Cerbero improvements
- Visual Studio 2022 support has been added
- bootstrap is faster since it requires building fewer build-tools
recipes on Windows
- package is faster due to better scheduling of recipe stages and
elimination of unnecessary autotools regeneration
- The following plugins are no longer built on Windows:
- a52dec (another decoder is still available in libav)
- dvdread
- resindvd
Windows MSI installer
- no major changes
Linux specific Cerbero improvements
- Fedora, Debian OS release support is now more future-proof
- Amazon Linux 2 support has been added
Android specific Cerbero improvements
- no major changes
Platform-specific changes and improvements
Android
- No major changes
macOS and iOS
- applemedia: add ProRes support to vtenc and vtdec
- The GStreamer.framework location is now relocatable and is not
required to be /Library/Frameworks/
- Cerbero now supports cross-compiling to macOS running on Apple
Silicon (ARM64), and Universal binaries are now available that can
be used on both X86_64 and ARM64 macOS.
Windows
- On Windows the high-resolution clock is enabled now in the
gst-launch-1.0 and gst-play-1.0 command line tools, which provides
better clock and timer performance on Windows, at the cost of higher
power consumption. By default, without the high-resolution clock
enabled, the timer precision on Windows is system-dependent and may
be as bad as 15ms which is not good enough for many multimedia
applications. Developers may want to do the same in their Windows
applications if they think its a good idea for their application
use case, and depending on the Windows version they target. This is
not done automatically by GStreamer because on older Windows
versions (pre-Windows 10) this affects a global Windows setting and
also theres a power consumption vs. performance trade-off that may
differ from application to application.
- dxgiscreencapsrc now supports resolution changes
- The wasapi2 audio plugin was rewritten and now has a higher rank
than the old wasapi plugin since it has a number of additional
features such as automatic stream routing, and no
known-but-hard-to-fix issues. The plugin is always built if the
Windows 10 SDK is available now.
- The wasapi device providers now detect and notify dynamic device
additions/removals
- d3d11screencapturesrc: new desktop capture element, including
GstDeviceProvider implementation to enumerate/select target monitors
for capture.
- Direct3D11/DXVA decoder now supports AV1 and MPEG-2 codecs
(d3d11av1dec, d3d11mpeg2dec)
- VP9 decoding got more reliable and stable thanks to a newly written
codec parser
- Support for decoding interlaced H.264/AVC streams
- Hardware-accelerated video deinterlacing (d3d11deinterlace) and
video mixing (d3d11compositor)
- Video mixing with the Direct3D11 API (d3d11compositor)
- MediaFoundation API based hardware encoders gained the ability to
receive Direct3D11 textures as an input
- Seunghas blog post “GStreamer ❤ Windows: A primer on the cool stuff
youll find in the 1.20 release” describes many of the
Windows-related improvements in more detail
Linux
- bluez: LDAC Bluetooth audio codec support in a2dpsink and avdtpsink,
as well as an LDAC RTP payloader (rtpldacpay) and an LDAC audio
encoder (ldacenc)
- kmssink: gained support for NV24, NV61, RGB16/BGR16 formats;
auto-detect NVIDIA Tegra driver
Documentation improvements
- hardware-accelerated GPU plugins will now no longer always list all
the element variants for all available GPUs, since those are
system-dependent and its confusing for users to see those in the
documentation just because the GStreamer developer who generated the
docs had multiple GPUs to play with at the time. Instead just show
the default elements.
Possibly Breaking and Other Noteworthy Behavioural Changes
- gst_parse_launch(), gst_parse_bin_from_description() and friends
will now error out when setting properties that dont exist on
top-level bins. They were silently ignored before.
- The GstWebRTC library does not expose any objects anymore with
public fields. Instead properties have been added to replace that
functionality. If you are accessing such fields in your application,
switch to the corresponding properties.
- playbin and uridecodebin now emit the source-setup signal before the
element is added to the bin and linked so that the source element is
already configured before any scheduling query comes in, which is
useful for elements such as appsrc or giostreamsrc.
- The source element inside urisourcebin (used inside uridecodebin3
which is used inside playbin3) is no longer called "source". This
shouldnt affect anyone hopefully, because theres a "setup-source"
signal to configure the source element and no one should rely on
names of internal elements anyway.
- The vp8enc element now expects bps (bits per second) for the
"temporal-scalability-target-bitrate” property, which is consistent
with the "target-bitrate" property. Since additional configuration
is required with modern libvpx to make temporal scaling work anyway,
chances are that very few people will have been using this property
- vp8enc and vp9enc now default to “good quality” for the "deadline"
property rather then “best quality”. Having the deadline set to best
quality causes the encoder to be absurdly slow, most real-life users
will want the good quality tradeoff instead.
- The experimental GstTranscoder library API in gst-plugins-bad was
changed from a GObject signal-based notification mechanism to a
GstBus/message-based mechanism akin to GstPlayer/GstPlay.
- MPEG-TS SCTE-35 API: semantic change for SCTE-35 splice commands:
timestamps passed by the application should be in running time now,
since users of the API cant really be expected to predict the local
PTS of the muxer.
- The GstContext used by souphttpsrc to share the session between
multiple element instances has changed. Previously it provided
direct access to the internal SoupSession object, now it only
provides access to an opaque, internal type. This change is
necessary because SoupSession is not thread-safe at all and cant be
shared safely between arbitrary external code and souphttpsrc.
- Python bindings: GObject-introspection related Annotation fixes have
led to a case of a GstVideo.VideoInfo-related function signature
changing in the Python bindings (possibly one or two other cases
too). This is for a function that should never have been exposed in
the first place though, so the bindings are being updated to throw
an exception in that case, and the correct replacement API has been
added in form of an override.
Known Issues
- GStreamer may fail to build the hotdoc documentation with the Meson
0.64.0 release owing to a Meson bug. This should only affect systems
where hotdoc is installed, and will be fixed in Meson 0.64.1 by this
Meson PR in combination with this GStreamer MR. In the meantime,
users can pass -Ddoc=disabledor downgrade to an older Meson version
(< 0.64.0).
- nothing in particular at this point (but also see possibly breaking
changes section above)
Contributors
Aaron Boxer, Adam Leppky, Adam Williamson, Alba Mendez, Alejandro
González, Aleksandr Slobodeniuk, Alexander Vandenbulcke, Alex Ashley,
Alicia Boya García, Andika Triwidada, Andoni Morales Alastruey, Andrew
Wesie, Andrey Moiseev, Antonio Ospite, Antonio Rojas, Arthur Crippa
Búrigo, Arun Raghavan, Ashley Brighthope, Axel Kellermann, Baek, Bastien
Nocera, Bastien Reboulet, Benjamin Gaignard, Bing Song, Binh Truong,
Biswapriyo Nath, Brad Hards, Brad Smith, Brady J. Garvin, Branko
Subasic, Camilo Celis Guzman, Chris Bass, ChrisDuncanAnyvision, Chris
White, Corentin Damman, Daniel Almeida, Daniel Knobe, Daniel Stone,
david, David Fernandez, David Keijser, David Phung, Devarsh Thakkar,
Dinesh Manajipet, Dmitry Samoylov, Dmitry Shusharin, Dominique Martinet,
Doug Nazar, Ederson de Souza, Edward Hervey, Emmanuel Gil Peyrot,
Enrique Ocaña González, Ezequiel Garcia, Fabian Orccon, Fabrice
Fontaine, Fernando Jimenez Moreno, Florian Karydes, Francisco Javier
Velázquez-García, François Laignel, Frederich Munch, Fredrik Pålsson,
George Kiagiadakis, Georg Lippitsch, Göran Jönsson, Guido Günther,
Guillaume Desmottes, Guiqin Zou, Haakon Sporsheim, Haelwenn (lanodan)
Monnier, Haihao Xiang, Haihua Hu, Havard Graff, He Junyan, Helmut
Januschka, Henry Wilkes, Hosang Lee, Hou Qi, Ignacio Casal Quinteiro,
Igor Kovalenko, Ilya Kreymer, Imanol Fernandez, Jacek Tomaszewski, Jade
Macho, Jakub Adam, Jakub Janků, Jan Alexander Steffens (heftig), Jan
Schmidt, Jason Carrete, Jason Pereira, Jay Douglass, Jeongki Kim, Jérôme
Laheurte, Jimmi Holst Christensen, Johan Sternerup, John Hassell, John
Lindgren, John-Mark Bell, Jonathan Matthew, Jordan Petridis, Jose
Quaresma, Julian Bouzas, Julien, Kai Uwe Broulik, Kasper Steensig
Jensen, Kellermann Axel, Kevin Song, Khem Raj, Knut Inge Hvidsten, Knut
Saastad, Kristofer Björkström, Lars Lundqvist, Lawrence Troup, Lim Siew
Hoon, Lucas Stach, Ludvig Rappe, Luis Paulo Fernandes de Barros, Luke
Yelavich, Mads Buvik Sandvei, Marc Leeman, Marco Felsch, Marek Vasut,
Marian Cichy, Marijn Suijten, Marius Vlad, Markus Ebner, Mart Raudsepp,
Matej Knopp, Mathieu Duponchelle, Matthew Waters, Matthieu De Beule,
Mengkejiergeli Ba, Michael de Gans, Michael Olbrich, Michael Tretter,
Michal Dzik, Miguel Paris, Mikhail Fludkov, mkba, Nazar Mokrynskyi,
Nicholas Jackson, Nicola Murino, Nicolas Dufresne, Niklas Hambüchen,
Nikolay Sivov, Nirbheek Chauhan, Olivier Blin, Olivier Crete, Olivier
Crête, Paul Goulpié, Per Förlin, Peter Boba, P H, Philippe Normand,
Philipp Zabel, Pieter Willem Jordaan, Piotrek Brzeziński, Rafał
Dzięgiel, Rafostar, raghavendra, Raghavendra, Raju Babannavar, Raleigh
Littles III, Randy Li, Randy Li (ayaka), Ratchanan Srirattanamet, Raul
Tambre, reed.lawrence, Ricky Tang, Robert Rosengren, Robert Swain, Robin
Burchell, Roman Sivriver, R S Nikhil Krishna, Ruben Gonzalez, Ruslan
Khamidullin, Sanchayan Maity, Scott Moreau, Sebastian Dröge, Sergei
Kovalev, Seungha Yang, Sid Sethupathi, sohwan.park, Sonny Piers, Staz M,
Stefan Brüns, Stéphane Cerveau, Stephan Hesse, Stian Selnes, Stirling
Westrup, Théo MAILLART, Thibault Saunier, Tim, Timo Wischer, Tim-Philipp
Müller, Tim Schneider, Tobias Ronge, Tom Schoonjans, Tulio Beloqui,
tyler-aicradle, U. Artie Eoff, Ung, Val Doroshchuk, VaL Doroshchuk,
Víctor Manuel Jáquez Leal, Vivek R, Vivia Nikolaidou, Vivienne
Watermeier, Vladimir Menshakov, Will Miller, Wim Taymans, Xabier
Rodriguez Calvar, Xavier Claessens, X Ruoyao, Yacine Bandou, Yinhang
Liu, youngh.lee, youngsoo.lee, yychao, Zebediah Figura, Zhang yuankun,
Zhang Yuankun, Zhao, Zhao Zhili, , Aleksandar Topic, Antonio Ospite,
Bastien Nocera, Benjamin Gaignard, Brad Hards, Carlos Falgueras García,
Célestin Marot, Corentin Damman, Corentin Noël, Daniel Almeida, Daniel
Knobe, Danny Smith, Dave Piché, Dmitry Osipenko, Fabrice Fontaine,
fjmax, Florian Zwoch, Guillaume Desmottes, Haihua Hu, Heinrich Kruger,
He Junyan, Jakub Adam, James Cowgill, Jan Alexander Steffens (heftig),
Jean Felder, Jeongki Kim, Jiri Uncovsky, Joe Todd, Jordan Petridis,
Krystian Wojtas, Marc-André Lureau, Marcin Kolny, Marc Leeman, Mark
Nauwelaerts, Martin Reboredo, Mathieu Duponchelle, Matthew Waters,
Mengkejiergeli Ba, Michael Gruner, Nicolas Dufresne, Nirbheek Chauhan,
Olivier Crête, Philippe Normand, Rafał Dzięgiel, Ralf Sippl, Robert
Mader, Sanchayan Maity, Sangchul Lee, Sebastian Dröge, Seungha Yang,
Stéphane Cerveau, Teh Yule Kim, Thibault Saunier, Thomas Klausner, Timo
Wischer, Tim-Philipp Müller, Tobias Reineke, Tomasz Andrzejak, Trung Do,
Tyler Compton, Ung, Víctor Manuel Jáquez Leal, Vivia Nikolaidou, Wim
Taymans, wngecn, Wonchul Lee, wuchang li, Xavier Claessens, Xi Ruoyao,
Yoshiharu Hirose, Zhao,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing.
Stable 1.20 branch
After the 1.20.0 release there will be several 1.20.x bug-fix releases
which will contain bug fixes which have been deemed suitable for a
stable branch, but no new features or intrusive changes will be added to
a bug-fix release usually. The 1.20.x bug-fix releases will be made from
the git 1.20 branch, which will be a stable branch.
1.20.0
1.20.0 was released on 3 February 2022.
1.20.1
The first 1.20 bug-fix release (1.20.1) was released on 14 March 2022.
This release only contains bugfixes and it should be safe to update from
1.20.0.
Highlighted bugfixes in 1.20.1
- deinterlace: various bug fixes for yadif and greedy methods
- gtk video sink: Fix rotation not being applied when paused
- gst-play-1.0: Fix trick-mode handling in keyboard shortcut
- jpegdec: fix RGB conversion handling
- matroskademux: improved ProRes video handling
- matroskamux: Handle multiview-mode/flags/pixel-aspect-ratio caps
fields correctly when checking caps equality on input caps changes
- videoaggregator fixes (negative rate handling, current position
rounding)
- soup http plugin: Lookup libsoup dylib files on Apple platforms &
fix Cerbero static build on Android and iOS
- Support build against libfreeaptx in openaptx plugin
- Fix linking issues on Illumos distros
- GstPlay: Fix new error + warning parsing API (was unusuable before)
- mpegtsmux: VBR muxing fixes
- nvdecoder: Various fixes for 4:4:4 and high-bitdepth decoding
- Support build against libfreeaptx in openaptx plugin
- webrtc: Various fixes to the webrtc-sendrecv python example
- macOS: support a relocatable GStreamer.framework on macOS (see below
for details)
- macOS: fix applemedia plugin failing to load on ARM64 macOS
- windows: ship wavpack library
- gst-python: Fix build with Python 3.11
- various bug fixes, memory leak fixes, and other stability and
reliability improvements
gstreamer
- plugin loader: show the reason when spawning of gst-plugin-scanner
fails
- registry, plugin loading: fix dynamic relocation if
GST_PLUGIN_SUBDIR (libdir) is not a single subdirectory; improve
GST_PLUGIN_SUBDIR handling
- context: fix transfer annotation on gst_context_writable_structure()
for bindings
- baseparse: Dont truncate the duration to milliseconds in
gst_base_parse_convert_default()
- bufferpool: Deactivate pool and get rid of references to other
objects from dispose instead of finalize
gst-plugins-base
- typefindfunctions: Fix WebVTT format detection for very short files
- gldisplay: Reorder GST_GL_WINDOW check for egl-device
- rtpbasepayload: Copy all buffer metadata instead of just GstMetas
for the input meta buffer
- codec-utils: Avoid out-of-bounds error
- navigation: Fix Since markers for mouse scroll events
- videoaggregator: Fix for unhandled negative rate
- videoaggregator: Use floor() to calculate current position
- video-color: Fix for missing clipping in PQ EOTF function
- gst-play-1.0: Fix trick-mode handling in keyboard shortcut
- audiovisualizer: shader: Fix out of bound write
gst-plugins-good
- deinterlace: various bug fixes for yadif method
- deinterlace: Refactor greedyh and fix planar formats
- deinterlace: Prevent race between method configuration and latency
query
- gtk video sink: Fix rotation not being applied when paused
- jpegdec: fix RGB conversion handling
- matroskademux: improved ProRes video handling
- matroskamux: Handle multiview-mode/flags/pixel-aspect-ratio caps
fields correctly when checking caps equality on input caps changes
- rtprtx: dont access type-system per buffer (performance
optimisation); code cleanups
- rtpulpfecenc: fix unmatched g_slice_free()
- rtpvp8depay: fix crash when making GstRTPPacketLost custom event
- qtmux: Dont post an error message if pushing a sample failed with
FLUSHING (e.g. on pipeline shutdown)
- soup: Lookup libsoup dylib files on Apple platforms & fix Cerbero
static build on Android and iOS
- souphttpsrc: element not present on iOS after 1.20.0 update
- v4l2tuner: return NULL if no norm set
- v4l2bufferpool: Fix race condition between qbuf and pool streamoff
- meson: Dont build lame plugin with -Dlame=disabled
gst-plugins-bad
- GstPlay: Fix new error + warning parsing API (was unusuable before)
- av1parse: let the parser continue on verbose OBUs
- d3d11converter: Fix RGB to GRAY conversion, broken debug messages,
and add missing GRAY conversion
- gs: look for google_cloud_cpp_storage.pc
- ipcpipeline: fix crash and error on windows with SOCKET or _pipe()
- ivfparse: Dont set zero resolution on caps
- mpegtsdemux: Handle PES headers bigger than a mpeg-ts packet; fix
locking in error code path; handle more program updates
- mpegtsmux: Start last_ts with GST_CLOCK_TIME_NONE to fix VBR muxing
behaviour
- mpegtsmux: Thread safety fixes: lock mux->tsmux, the programs hash
table, and pad streams
- mpegtsmux: Skip empty buffers
- osxaudiodeviceprovider: Add initial support for duplex devices on
OSX
- rtpldacpay: Fix missing payload information
- sdpdemux: add media attributes to caps, fixes ptp clock handling
- mfaudioenc: Handle empty IMFMediaBuffer
- nvdecoder: Various fixes for 4:4:4 and high-bitdepth decoding
- nvenc: Fix deadlock because of too strict buffer pool size
- va: fix library build issues, caps leaks in the vpp transform
function, and add vaav1dec to documentation
- v4l2codecs: vp9: Minor fixes
- v4l2codecs: h264: Correct scaling matrix ABI check
- dtlstransport: Notify ICE transport property changes
- webrtc: Various fixes to the webrtc-sendrecv python example
- webrtc-ice: Fix memory leaks in gst_webrtc_ice_add_candidate()
- Support build against libfreeaptx in openaptx plugin
- Fix linking issues on Illumos distros
gst-plugins-ugly
- x264enc: fix plugin long-name and description
gst-libav
- No changes
gst-rtsp-server
- Fix race in rtsp-client when tunneling over HTTP
gstreamer-vaapi
- No changes
gstreamer-sharp
- No changes
gst-omx
- No changes
gst-python
- Fix build with Python 3.11
gst-editing-services
- Update validate test scenarios for videoaggregator rounding
behaviour change
gst-integration-testsuites
- Update validate test scenarios for videoaggregator rounding
behaviour change
Development build environment
- gst-env: various clean-ups and documentation improvements
Cerbero build tool and packaging changes in 1.20.1
- Fix nasm version check
- Disable certificate checking on RHEL/CentOS 7
- packages: Ship wavpack.dll for Windows
- osx/universal: make the library name relocatable
- macOS: In order to support a relocatable GStreamer.framework on
macOS, an application may now need to add an rpath entry to the
location of the GStreamer.framework (which could be bundled with the
application itself). Some build systems will do this for you by
default.
- Disable MoltenVK on macOS arm64 to fix applemedia plugin loading
- Fix applemedia plugin failing to load on ARM64 macOS
Contributors to 1.20.1
Bastien Nocera, Branko Subasic, David Svensson Fors, Dmitry Osipenko,
Edward Hervey, Guillaume Desmottes, Havard Graff, Heiko Becker, He
Junyan, Igor V. Kovalenko, Jan Alexander Steffens (heftig), Jan Schmidt,
jinsl00000, Joseph Donofry, Jose Quaresma, Marek Vasut, Matthew Waters,
Mengkejiergeli Ba, Nicolas Dufresne, Nirbheek Chauhan, Philippe Normand,
Qi Hou, Rouven Czerwinski, Ruben Gonzalez, Sanchayan Maity, Sangchul
Lee, Sebastian Dröge, Sebastian Fricke, Sebastian Groß, Sebastian
Mueller, Sebastian Wick, Seungha Yang, Stéphane Cerveau, Thibault
Saunier, Tim Mooney, Tim-Philipp Müller, Víctor Manuel Jáquez Leal,
Vivia Nikolaidou, Zebediah Figura,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.20.1
- List of Merge Requests applied in 1.20.1
- List of Issues fixed in 1.20.1
1.20.2
The second 1.20 bug-fix release (1.20.2) was released on 2 May 2022.
This release only contains bugfixes and it should be safe to update from
1.20.x.
Highlighted bugfixes in 1.20.2
- avviddec: Remove vc1/wmv3 override and fix crashes on WMV files with
FFMPEG 5.0+
- macOS: fix plugin discovery for GStreamer installed via brew and fix
loading of Rust plugins
- rtpbasepayload: various header extension handling fixes
- rtpopusdepay: fix regression in stereo input handling if
sprop-stereo is not advertised
- rtspclientsink: fix possible shutdown deadlock
- mpegts: gracefully handle “empty” program maps and fix AC-4
detection
- mxfdemux: Handle empty VANC packets and fix EOS handling
- playbin3: various playbin3, uridecodebin3, and playsink fixes
- ptpclock: fix initial sync-up with certain devices
- gltransformation: let graphene alloc its structures memory aligned
- webrtcbin fixes and webrtc sendrecv example improvements
- video4linux2: various fixes including some fixes for Raspberry Pi
users
- videorate segment handling fixes and other fixes
- nvh264dec, nvh265dec: Fix broken key-unit trick modes and reverse
playback
- wpe: Reintroduce persistent WebContext
- cerbero: Make it easier to consume 1.20.1 macOS GStreamer .pkgs
- build fixes and gobject annotation fixes
- bug fixes, security fixes, memory leak fixes, and other stability
and reliability improvements
gstreamer
- devicemonitor: clean up signal handlers and hidden providers list
- Leaks tracer: fix pthread_atfork return value check leading to bogus
warning in log
- Rust plugins: Not picked up by the plugin loader on macOS
- Failed to use plugins of latest GStreamer version 1.20.x installed
by brew on macOS
- ptpclock: Allow at least 100ms delay between Sync/Follow_Up and
Delay_Req/Delay_Resp messages. Fixes problems acquiring initial sync
with certain devices
- meson: Add -Wl,-rpath,${libdir} on macOS
- registry: skip Rust dep builddirs when searching for plugins
recursively
gst-plugins-base
- appsrc: Clarify buffer ref semantics in signals documentation
- appsrc: fix annotations for bindings
- typefind: Skip extension parsing for data:// URIs, fixing regression
with mp4 files serialised to data uris
- playbin3: various fixes
- playbin3: fix missing lock when unknown stream type in pad-removed
cb
- decodebin3: fix collection leaks
- decodebin3: Dont duplicate stream selections
- discoverer: chain up to parent finalize methods in all our types to
fix memory leaks
- glmixerbin: slightly better pad/element creation
- gltransformation: let graphene alloc its structures memory aligned
- ogg: fix possible buffer overrun
- rtpbasepayload: Dont write header extensions if theres no
corresponding…
- rtpbasepayload: always store input buffer meta before negotiation
- rtpbasepayload: fix transfer annotation for push and push_list
- subparse: dont try to index string with -1
- riff-media: fix memory leak after usage for g_strjoin()
- playbin/playbin3: Allow setting a NULL URI
- playsink: Complete reconfiguration on pad release.
- parsebin: Expose streams of unknown type
- pbutils: Fix wmv screen description detection
- subparse: dont deref a potentially NULL variable
- rawvideoparse: set format from caps in
gst_raw_video_parse_set_config_from_caps
- videodecoder: release stream lock after handling gap events
- videorate: fix assertion when pushing last and only buffer without
duration
- videorate: Revert “dont reset on segment update” to fix segment
handling regressions
- gst-play-1.0, gst-launch-1.0: Enable win32 high-resolution timer
also for MinGW build
gst-plugins-good
- deinterlace: silence unused-but-set werror from imported code
- qtdemux: fix leak of channel_mapping
- rtpopusdepay: missing sprop-stereo should not assume mono
- rtpjitterbuffer: Fix invalid memory access in
rtp_jitter_buffer_pop()
- rtpptdemux: fix leak of caps when ignoring a pt
- rtpredenc: quieten warning about ignoring header extensions
- soup: Fix pre-processor macros in souploader for libsoup-3.0
- twcc: Note that twcc-stats packet loss counts reordering as loss +
add some logging
- video4linux2: Manual backports for RPi users
- wavparse: handle URI query in any parse state, fixing audio track
selection issue in GES
- wavparse: Unset DISCONT buffer flag for divided into multiple
buffers in push mode
gst-plugins-bad
- av1parse: Fix several issues about the colorimetry.
- av1parse: fix up various possible logic errors
- dashsink: fix missing mutex unlock in error code path when failing
to get content
- d3d11videosink: Fix for unhandled mouse double click events
- interlace: Also handle a missing “interlace-mode” field as
progressive
- msdk: fix build with MSVC
- mxfdemux: Fix issues at EOS
- mxfdemux: Handle empty VANC packets
- nvh264dec, nvh265dec: Fix broken key-unit trick and reverse playback
- nvvp9sldec: Increase DPB size to cover render delay
- rvsg: fix cairo include
- tsdemux: Fix AC-4 detection in MPEG-TS
- tsdemux: Handle “empty” PMT gracefully
- va: pool: dont advertise the GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT
option any more
- v4l2codecs: Fix memory leak
- v4l2videodec: set frame duration according to framerate
- webrtcbin: Update documentation of get-stats action signal
- webrtcbin: Check data channel transport for notifying
ice-gathering-state
- webrtcbin: Avoid access of freed memory
- wpe: Reintroduce persistent WebContext
- Build: use CMake to find some openssl and exr deps
- Fix multiple “unused-but-set variable” compiler warnings
gst-plugins-ugly
- x264enc: Dont try to fixate ANY allowed caps
gst-libav
- video decoders: fix frame leak on negotiation error
- Fix build on systems without C++ compiler
- avviddec: Remove vc1/wmv3 override (fixing crash with FFmpeg 5
- Segfaults on ASF/WMV files with FFMPEG 5.0+
gst-rtsp-server
- rtspclientsink: fix possible shutdown deadlock in collect_streams()
- Minor spelling fixes
gstreamer-vaapi
- No changes
gstreamer-sharp
- No changes
gst-omx
- No changes
gst-python
- Fix build on systems without C++ compiler
gst-editing-services
- License clarification: GES is released under the LGPL2+ license
gst-examples:
- Fix build on macOS with gtk+-quartz-3.0
- player android: add missing dummy.cpp
- player android: update for android changes
- webrtc_sendrecv.py: Link pads instead of elements
- webrtc_sendrecv.py: Implement all negotiation modes + bugfixes
Development build environment + gst-full build
- meson: provide gobject-cast-checks, glib-checks and glib-asserts
options at top level as well
Cerbero build tool and packaging changes in 1.20.2
- macOS: Make it easier to consume 1.20.1 GStreamer .pkgs
- Android: fix text relocation regression on Android (x86/ x86_64
platforms)
Bindings
- appsrc: fix annotations for bindings
- bindings: The out args for gst_rtp_buffer_get_extension_data*() are
optional
- rtpbasepayload: fix transfer annotation for push and push_list
Contributors to 1.20.2
Bastian Krause, Benjamin Gaignard, Camilo Celis Guzman, Chun-wei Fan,
Corentin Damman, Daniel Stone, Dongil Park, Edward Hervey, Fabrice
Fontaine, Guillaume Desmottes, Havard Graff, He Junyan, Hoonhee Lee, Hou
Qi, Jan Schmidt, Marc Leeman, Mathieu Duponchelle, Matthew Waters,
Nicolas Dufresne, Nirbheek Chauhan, Philippe Normand, Pierre Bourré,
Sangchul Lee, Sebastian Dröge, Seungha Yang, Stéphane Cerveau, Thibault
Saunier, Tim-Philipp Müller, Tong Wu, Tristan Matthews, Tulio Beloqui,
Wonchul Lee, Zhao Zhili,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.20.2
- List of Merge Requests applied in 1.20.2
- List of Issues fixed in 1.20.2
1.20.3
The third 1.20 bug-fix release (1.20.3) was released on 15 June 2022.
This release only contains bugfixes and it should be safe to upgrade
from 1.20.x.
Highlighted bugfixes in 1.20.3
- Security fixes in Matroska, MP4 and AVI demuxers
- Fix scrambled video playback with hardware-accelerated VA-API
decoders on certain Intel hardware
- playbin3/decodebin3 regression fix for unhandled streams
- Fragmented MP4 playback fixes
- Android H.265 encoder mapping
- Playback of MXF files produced by FFmpeg before March 2022
- Fix rtmp2sink crashes on 32-bit platforms
- WebRTC improvements
- D3D11 video decoder and screen recorder fixes
- Performance improvements
- Support for building against OpenCV 4.6 and other build fixes
- Miscellaneous bug fixes, memory leak fixes, and other stability and
reliability improvements
gstreamer
- clock: Avoid creating a weakref with every entry (performance
improvement)
- plugin: add Apache 2 license to list of known licenses to avoid
warning
- gst_plugin_load_file: force plugin reload if filename differs
- Add support for LoongArch
Base Libraries
- aggregator: Only send events up to CAPS event from
gst_aggregator_set_src_caps(), dont send multiple caps events with
the same caps and fix negotiation in muxers
- basetransform: handle gst_base_transform_query_caps() returning NULL
- basetransform: fix critical if transform_caps() returned NULL
- queuearray: Fix potential heap overflow when expanding GstQueueArray
Core Elements
- multiqueue: fix potential crash on shutdown
- multiqueue: fix warning: is_query may be used uninitialized in
this function
- multiqueue: SegFault during flushing with gcc11
gst-plugins-base
- audioconvert: If no channel-mask can be fixated then use a NONE
channel layout
- playbin3: Configure combiner on pad-added if needed
- parsebin: Fix assertions/regression when dealing with un-handled
streams (fixes regression in 1.20.2)
- appsink: Fix race condition on caps handling
- oggdemux: Protect against invalid framerates
- rtcpbuffer: Allow padding on first reduced size packets
- gl: check for xlib-xcb.h header to fix build of tests on macOS with
homebrew
- videoaggregator: unref temporary caps
- v4l2videoenc: Setup crop rectangle if needed
Tools
- gst-play-1.0: Print position even if duration is unknown
- gst-device-monitor-1.0: Print string property as-is without
additional escaping
gst-plugins-good
- aacparse: Avoid mismatch between src_caps and output_header_type
- avidemux: Fix integer overflow resulting in heap corruption in DIB
buffer inversion code (Security fix)
- deinterlace: Clean up error handling code
- flvdemux: Actually make use of the debug category
- gtkglsink: Fix double-free when OpenGL cant be initialised
- jack: Add support for detecting libjack on Windows
- matroskademux: Avoid integer-overflow resulting in heap corruption
in WavPack header handling code (Security fix)
- matroskademux, qtdemux: Fix integer overflows in zlib/bz2/etc
decompression code (Security fix)
- qtdemux: Dont use tfdt for parsing subsequent trun boxes
- rtpbin: Avoid holding GST_RTP_BIN_LOCK when emitting pad-added
signal (to avoid deadlocks)
- rtpptdemux: Dont GST_FLOW_ERROR when ignoring invalid packets
- smpte: Fix integer overflow with possible heap corruption in GstMask
creation. (Security fix)
- smpte: integer overflow with possible heap corruption in GstMask
creation (Security fix)
- soup: fix soup debug category initialisation
- soup: Fix plugin/element init
- v4l2: Reset transfer in gst_v4l2_object_acquire_format()
- vpxenc: fix crash if encoder produces unmatching timestamp
- wavparse: ensure that any pending segment is sent before an EOS
event is sent
gst-plugins-bad
- androidmedia: Add H.265 encoder mapping
- avfvideosrc: fix wrong framerate selected for caps
- d3d11decoder: Fix for alternate interlacing signalling
- d3d11decoder: Do not preallocate texture using downstream d3d11
buffer pool
- d3d11decoder: Copy HDR10 related caps field manually
- d3d11decoder: Work around Intel DXVA driver crash
- d3d11screencapture: Set viewport when drawing mouse cursor
- d3d11screencapture: Fix missing/outdated cursor shape
- d3d11screencapturesrc: Fix crash when d3d11 device is different from
owned one
- h264decoder: Fix for unhandled low-delay decoding case
- matroskademux, qtdemux: Fix integer overflows in zlib/bz2/etc
decompression code (Security fix)
- mpegtsmux: Make sure to set srcpad caps under all conditions before
outputting the first buffer
- mpegtsmux: sends segment before caps
- mxfdemux: Handle files produced by legacy FFmpeg
- nvh264dec,nvh265dec: Dont realloc bitstream buffer per slice
- nvcodec: cuda-converter: fix nvrtc compilation on non-English locale
systems
- opencv: Allow building against 4.6.x
- pcapparse: Set timestamp in DTS, not PTS
- rtmp2: fix allocation of GstRtmpMeta which caused crashes on 32-bit
platforms
- rtmp2sink crash on Android arm 32 - cerbero 1.20.2.0
- sdpdemux: Release request pads from rtpbin when freeing a stream
- va: Add O_CLOEXEC flag at opening drm device (so subprocesses wont
have access to it)
- webrtcbin: Reject answers that dont contain the same number of
m-line as offer
- webrtc: datachannel: Notify low buffered amount according to spec
gst-plugins-ugly
- No changes
gst-libav
- No changes
gst-rtsp-server
- No changes
gstreamer-vaapi
- vaapi: Do not disable the whole vpp when some va operations not
available
- vaapidecode, vaapipostproc: Disable DMAbuf from caps negotiation
- scrambled video with some Intel graphics cards
gstreamer-sharp
- No changes
gst-omx
- No changes
gst-python
- No changes
gst-editing-services
- ges/videourisource: handle non-1/1 PAR source videos
gst-examples:
- No changes
Development build environment + gst-full build
- Update libnice subproject wrap to 0.1.19
- meson: use better zlib dependency fallback
- meson: Fix deprecation warnings
Cerbero build tool and packaging changes in 1.20.3
- Set GSTREAMER_1_0_ROOT_[MSVC_]X86_64 root environment variable in
System section (not User section)
- bootstrap: Add perl-FindBin dep needed by openssl (which is not
installed by default on RedHat systems)
- Also add build-tools/local/bin to PATH on Linux
- Add a variant to control building of the JACK plugin
- libnice: update to 0.1.19 (fixes some WebRTC issues)
- zlib: update to 1.2.12
Bindings
- No changes
Contributors to 1.20.3
Adam Doupe, Alicia Boya García, Bastien Nocera, Corentin Damman, Damian
Hobson-Garcia, Diogo Goncalves, Edward Hervey, Eli Schwartz, Erwann
Gouesbet, Guillaume Desmottes, He Junyan, Hou Qi, Jakub Adam, James
Hilliard, Jan Alexander Steffens (heftig), Jan Schmidt, Matthew Waters,
Nicolas Dufresne, Nirbheek Chauhan, Olivier Crête, Philippe Normand,
Rabindra Harlalka, Ruben Gonzalez, Sebastian Dröge, Seungha Yang,
Stéphane Cerveau, Thibault Saunier, Tim-Philipp Müller, Tom Schuring, U.
Artie Eoff, Víctor Manuel Jáquez Leal, WANG Xuerui, Xavier Claessens,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.20.3
- List of Merge Requests applied in 1.20.3
- List of Issues fixed in 1.20.3
1.20.4
The fourth 1.20 bug-fix release (1.20.4) was released on 12 October
2022.
This release only contains bugfixes and it should be safe to upgrade
from 1.20.x.
Highlighted bugfixes in 1.20.4
- avaudiodec: fix playback issue with WMA files, would throw an error
at EOS with FFmpeg 5.x
- Fix deadlock when loading gst-editing-services plugin
- Fix input buffering capacity in live mode for aggregator,
video/audio aggregator subclasses, muxers
- glimagesink: fix crash on Android
- subtitle handling and subtitle overlay fixes
- matroska-mux: allow width + height changes for avc3|hev1|vp8|vp9
- rtspsrc: fix control url handling for spec compliant servers and add
fallback for incompliant servers
- WebRTC fixes
- RTP retransmission fixes
- video: fixes for formats with 4x subsampling and horizontal co-sited
chroma (Y41B, YUV9, YVU9 and IYU9)
- macOS build and packaging fixes, in particular fix finding of gio
modules on macOS for https/TLS support
- Fix consuming of the macOS package as a framework in XCode
- Performance improvements
- Miscellaneous bug fixes, memory leak fixes, and other stability and
reliability improvements
gstreamer
- buffer: drop parent meta in deep copy/foreach_metadata
- devicemonitor: Use a sync bus handler for the provider to avoid
accumulating all messages until the provider is stopped
- element: Fix requesting of pads with string templates
- gst: Protect initialization state with a recursive mutex
- gst: add missing define guard for build without gstreamer debug
logging support
- gst_init: Initialize static plugins just before dynamic plugins
- info: Parse “NONE” as a valid level name
- meta: Set the parent refcount of the GstStructure correctly
- pluginloader: Dont hang on short reads/writes
- tracers: leaks: fix potentially invalid memory access when trying to
detect object type
- tracers: leaks: fix object-refings.class flags
- uri: When setting the same string again do nothing
- value: Dont loop forever when serializing invalid flag
Base Libraries
- aggregator: fix input buffering in live mode (was too low before in
many cases)
- aggregator: fix reversed active/flushing arguments in debug log
output
- aggregator: Reset EOS flag after receiving a stream-start event
Core Elements
- queue2: Hold the lock when modifying sinkresult
- queue2: Fix deadlock when deactivate is called in pull mode
gst-plugins-base
- decodebin3: fix mutex leaks
- decodebin3: Fix memory issues with active selection list
- decodebin3, uridecodebin3, urisourcebin: Event handling fixes
- decodebin3: fix EOS event sequence
- parsebin: Avoid crash with unknown streams
- parsebin: SIGSEGV during HLS stream using souphttpsrc
- glimagesink: only allow setting the GL display/context if it is a
valid value
- glimagesink: segfault on android devices
- gstgl: Fix several memory leaks in macOS
- opusenc: improve inband-fec property documentation
- playsink: Hold a reference to the soft volume element
- pbutils: descriptions: fix gst_pb_utils_get_caps_description_flags()
- rtspurl: Use gst_uri_join_strings() in
gst_rtsp_url_get_request_uri_with_control() instead of a
hand-crafted, wrong version
- rtspconnection: protect cancellable by a mutex
- sdpmessage: Dont set SDP medias from caps without
media/payload/clock-rate fields
- samiparse: fix handling of self-closing tags
- ssaparse: include required system headers for isspace() and sscanf()
functions
- subparse: fix crash when parsing invalid timestamps in mpl2
- subparse fixes
- textoverlay: Dont miscalculate text running times
- videoaggregator: always convert when user provides converter-config
- video: Fix scaling in 4x horizontal co-sited chroma (Y41B, YUV9,
YVU9 and IYU9)
- xmptag: register musicbrainz tags during init to fix critical in
jpegparse
- xvimagesink: fix image leaks in error code path
- tests: skip unit tests for dependency-less elements that have been
disabled
Tools
- No changes
gst-plugins-good
- alpha: fix stride issue when out buffer has padding on right
- isoff: Fix earliest pts field parse issue
- matroska-mux: allow width + height changes for avc3|hev1|vp8|vp9
- qt: Fix another instance of Qt/GStreamer both defining GLsync
differently
- qtdemux: Avoid crash on reconfiguring.
- qtdemux: guard against timestamp calculation overflow in gap event
loop
- qtdemux: Dont use invalid values from failed trex parsing
- qtdemux: possible endless loop
- rtpjitterbuffer: Only unschedule timers for late packets if theyre
not RTX packets and only once
- rtpjitterbuffer: remove lost timer for out of order packets
- rtspsrc: SETUP generates 400 Bad Request
- rtspsrc: Retry SETUP with non-compliant URL resolution on “Bad
Request” and “Not found”
- rtpst2022-1-fecenc: Drain column packets on EOS
- rtpvp8depay: If configured to wait for keyframes after packet loss,
also do that if incomplete frames are detected
- splitmuxsink: Dont crash on EOS without buffer
- splitmuxsrc: Stop pad task before cleanup
- splitmuxsrc: dont consider unlinked pads when deactivating part
- soup: libsoup3 makes audio streaming stop
- v4l2: fix critical when unreferencign buffer with no data
- v4l2bufferpool: Fix debug trace
- v4l2object: Add support for Apples full-range bt709 colorspace
variant 1:3:5:1
- v4l2videocodec: workaround for failure to fully drain frames
preceding MIDSTREAM renegotiation
- v4l2allocator: Fix invalid imported dmabuf fd
- videoflip: Fix caps negotiation when method is selected
- build failure trying to build jack examples
- examples: dont try and build jack examples if jack was disabled
- tests: skip unit tests for dependency-less elements that have been
disabled
gst-plugins-bad
- amcvideodec: fix GstAmcSurfaceTexture segfault
- audiobuffersplit: Fix drift that was introduced by wrong
calculations in gapless mode
- avfvideosrc: Fix wrong default framerate value
- audiovisualizer: fix buffer mapping to not increase refcount
- d3d11decoder: Check 16K resolution support
- d3d11videosink: Fix for force-aspect-ratio setting when rendering on
shared texture
- mxfdemux: Always calculate BlockAlign of raw audio to work around
files with broken BlockAlign field in the headers
- nvdec: Fix for HEVC decoding when coded resolution is larger than
display resolution
- openh264: Register debug categories earlier
- openh264enc: Fix constrained-high encoding
- openmpt: update from now deprecated api
- GstPlay: missing cleanup for g_autoptr
- player/play: Fix object construction and various leaks
- player: Plug a memory leak
- proxysink: Make sure stream-start and caps events are forwarded, and
fix memory leak
- tsdemux: Dont trigger a program change when falling back to
ignore-pcr behaviour
- va: allocator: Fix translation of VADRMPRIMESurfaceDescriptor
- va: h265dec: Fix a crash because of missing reference frame.
- vah265dec: Decoder segfaults on seek
- wasapi: Implement default audio channel mask
- wasapi2: Fix initial mute/volume setting
- webrtcbin: Limit sink query to sink pads
- webrtcbin: Fix pointer dereference before null check
- webrtc: Make sure to return NULL when validating TURN server fails
- tests: skip unit tests for dependency-less elements that have been
disabled
gst-plugins-ugly
- tests: skip unit tests for dependency-less elements that have been
disabled
gst-libav
- avauddec: fix regression with WMA files, would throw an error at EOS
- avauddec: fix unnecessary reconfiguration if the audio layout isnt
specified
- libav: Fix for APNG encoder property registration
- Failure to decode end of WMA file
gst-rtsp-server
- gst-rtsp-server: Fix pushing backlog to client
- rtsp-server: stream: Dont loop forever if binding to the multicast
address fails
gstreamer-vaapi
- vaapi: Handle when no encoders/decoders available.
- vaapi: Crash in gst_vaapidecode_class_init() when no
decoders/encoders available
gstreamer-sharp
- No changes
gst-omx
- No changes
gst-python
- python: Do not call gst_init when it is already is_initialized
gst-editing-services
- Deadlock in ges because of recursive gst_init() call
- ges/gstframepositioner: dont create one compositor per frame meta
- nle: clear seek event properly
gst-examples:
- examples/webrtc/signalling: Fix compatibility with Python 3.10
Development build environment + gst-full build
- build: Fix some compiler warnings by upgrading wraps
- dv, opusparse: fix duplicate symbols in static build
- Fix fedora 36 warnings - OpenSSL 3.0 deprecations + GLib 2.72
tls-validation deprecations
- Various macOS build fixes
- meson: Improve certifi documentation on macOS
Cerbero build tool and packaging changes in 1.20.4
- Add Ubuntu 22.04 Jammy Jellyfish
- Add gst-rtsp-server library to the macOS framework
- cerbero: Quick fix for gen-cache breakage
- macos: Fix the install_name for the GStreamer framework
- Download using powershell on Windows and rework download func
- macos: Add arm64 to the metadata for the installer
- cerbero: Allow building on Linux ARM64
- pkg-config.recipe: Add to core platform files list
- git: Fix issue with last security patch
- distros: Fix CentOS allowance
- cerbero: Print working directory for commands that are run
- cerbero: Fix license property usage example
- Fix issue getting distro_version in Debian Bookworm
- glib: Fix gio modules loading on macOS
- cmake: Fix macOS ARM64 -> x86_64 cross-compilation
- Fix logo display in macOS installer
- openssl.recipe: Fix segfault on latest macOS
- msvc: Fix for broken CRT linking at application project because of
MSVCRT linking
- cerbero: Do not add rpaths that already exist on macOS
- android: fix build with android gradle plugin 7.2
- macOS framework is unusable starting from 1.18.0
Contributors to 1.20.4
Adrian Fiergolski, Aleksandr Slobodeniuk, Andoni Morales Alastruey,
Andrew Pritchard, Bruce Liang, Corentin Damman, Daniel Morin, Edward
Hervey, Elliot Chen, Fabian Orccon, fduncanh, Guillaume Desmottes,
Haihua Hu, He Junyan, Ignazio Pillai, James Cowgill, James Hilliard, Jan
Alexander Steffens (heftig), Jan Schmidt, Jianhui Dai, Jonas Danielsson,
Jordan Petridis, Khem Raj, Krystian Wojtas, Martin Dørum, Mart Raudsepp,
Mathieu Duponchelle, Matthew Waters, Matthias Clasen, Nicolas Dufresne,
Nirbheek Chauhan, Olivier Crête, Paweł Stawicki, Philippe Normand,
Philipp Zabel, Piotr Brzeziński, Rafael Caricio, Rafael Sobral, Raul
Tambre, Ruben Gonzalez, Sangchul Lee, Sebastian Dröge, Seungha Yang,
Stéphane Cerveau, Thibault Saunier, Tim-Philipp Müller, Tristan
Matthews, Víctor Manuel Jáquez Leal, Xavier Claessens, Zhiyuan Liu,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.20.4
- List of Merge Requests applied in 1.20.4
- List of Issues fixed in 1.20.4
1.20.5
The fifth 1.20 bug-fix release (1.20.5) was released on 19 December
2022.
This release only contains bugfixes and it should be safe to upgrade
from 1.20.x.
Highlighted bugfixes in 1.20.5
- systemclock waiting fixes for certain 32-bit platforms/libcs
- alphacombine: robustness improvements for corner case scenarios
- avfvideosrc: Report latency when doing screen capture
- d3d11videosink: various thread-safety and stability fixes
- decklink: fix performance issue when HDMI signal has been lost for a
long time
- flacparse: Fix handling of headers advertising 32 bits per sample
- mpegts: Handle when iconv doesnt support ISO 6937 (e.g. musl libc)
- opengl: fix automatic dispmanx detection for rpi4 and fix usage of
eglCreate/DestroyImage
- opusdec: Various channel-related fixes
- textrender: event handling fixes, esp. for GAP event
- subparse: Fix non-closed tag handling
- videoscale: fix handling of unknown buffer metas
- videosink: reverse playback handling fixes
- qtmux: Prefill mode fixes, especially for raw audio
- multiudpsink: allow binding to IPv6 address
- rtspsrc: Fix usage of IPv6 connections in SETUP
- rtspsrc: Only EOS on timeout if all streams are timed out/EOS
- splitmuxsrc: fix playback stall if there are unlinked pads
- v4l2: Fix SIGSEGV on state change during format changes
- wavparse robustness fixes
- Fix static linking on macOS (opengl, vulkan)
- gstreamer-vaapi: fix headless build against mesa >= 22.3.0
- GStreamer Editing Services library: Fix build with tools disabled
- webrtc example/demo fixes
- unit test fixes for aesdec and rtpjitterbuffer
- Cerbero: Fix ios cross-compile with cmake on M1; some recipe updates
and other build fixes
- Binary packages: pkg-config file fixes for various recipes (ffmpeg,
taglib, gstreamer)
- Binary packages: Enable high bitdepth support for libvpx (VP8/VP9
encoding/decoding)
- Binary packages: ship aes plugin
- Miscellaneous bug fixes, memory leak fixes, and other stability and
reliability improvements
- Performance improvements
gstreamer
- allocator: Copy allocator name in gst_allocator_register()
- miniobject: support higher refcount values
- pads: Fix non-serialized sticky event push, e.g. instant change rate
events
- padtemplate: Fix annotations
- systemclock: Use futex_time64 syscall on x32 and other platforms
that always…
- Fix build of 1.20 branch with Meson 0.64.1 for those who have hotdoc
installed on their system.
- meson: fix check for pthread_setname_np()
- -Wimplicit-function-declaration in pthread_setname_np check (missing
_GNU_SOURCE)
- gst-inspect: Dont leak list
Core Elements
- concat: Properly propagate EOS seqnum
- fakesrc: avoid time overflow with datarate
gst-plugins-base
- audioconvert, audioresample, audiofilter: fix divide by 0 for input
buffer without caps
- cdparanoia: Ignore compiler warning coming from the cdparanoia
header
- oggdemux, parsebin: More leak fixes
- opengl: fix automatic dispmanx detection for rpi4
- opengl: Fix usage of eglCreate/DestroyImage
- opengl: Fix static linking on macOS
- opusdec: Various channel-related fixes
- textrender: Negotiate caps on a GAP event if none were negotiated
yet
- textrender: Dont blindly forward all events and dont blindly
forward all events
- timeoverlay: fix pad leak
- oggdemux: Dont leak incoming EOS event
- subparse: Fix non-closed tag handling.
- videodecoder: Only post latency message if it changed
- videoscale: buffer meta handling fixes (NULL-terminate array of
valid meta tags)
- videosink: Dont return unknown end-time from get_times()
- Bump core requirement in 1.20 branch to 1.20.4
Tools
- gst-play: Dont leak the stream collection
gst-plugins-good
- flacparse: Fix handling of headers advertising 32bps
- qt5: deactivate context if fill_info fails
- qt5: initialize GError properly in gst_qt_get_gl_wrapcontext()
- qtdemux: check return value from gst_structure_get in PIFF box
- qtdemux: use unsigned int types to store result of QT_UINT32
- qtmux: Prefill mode fixes
- oss4: Fix debug category initialization
- multiudpsink: allow binding to IPv6 address
- rtpjitterbuffer tests: Cast drop-messages-interval type properly
(fixing it on 32-bit architectures)
- rtspsrc: fix seek event leaks
- rtspsrc: Dont replace 404 errors with “no auth protocol found”
- rtspsrc: Only EOS on timeout if all streams are timed out/EOS
- rtspsrc: Fix usage of IPv6 connections in SETUP
- splitmuxsrc: dont queue data on unlinked pads
- v4l2: Fix SIGSEGV on change state during format change
- v4l2videodec: Fix activation of internal pool
- wavparse: Avoid occasional crash due to referencing freed buffer.
- wavparse: Fix crash that occurs in push mode when header chunks are
corrupted in certain ways.
gst-plugins-bad
- aesdec: Fix padding removal for per-buffer-padding=FALSE
- aesdec test failing in gst-plugins-bad
- alphacombine: Add missing query handler for gaps
- avfdeviceprovider: do not leak the properties
- avfvideosrc: Report latency when doing screen capture
- d3d11screencapturesrc: Specify PAR 1/1 to template caps
- d3d11videosink: Fixing focus lost on desktop layout change
- d3d11videosink: Call ShowWindow() from window thread
- d3d11videosink: Fix deadlock when parent window is busy
- d3d11videosink: Always clear back buffer on resize
- decklink: reset calculation of time_mapping to fix clipping HDMI
video
- directshow: Fix build error with glib 2.75 and newer
- dvbsubenc: Forward GAP events as-is if we wouldnt produce an end
packet and…
- dvbsubenc: Write Display Definition Segment if a non-default
width/height is used
- h265decoder: Do not abort when failed to prepare ref pic set
- h264parser: Fix a typo in pred_weight_table parsing.
- mediafoundation, d3d11: Fix memory leak and make leak tracer happy
- mpegts: Handle when iconv doesnt support ISO 6937 (e.g. musl libc)
- mpegts: Check continuity counter on section streams
- mpegts: Revert “mpegtspacketizer: memcmp potentially seen_before
data”
- mpegtspacketizer: memcmp potentially seen_before data
- mpegtsdemux: Always clear packetizer on DISCONT push mode
- srt: various fixes - improve stats and error handling
- rtmp2: Improve error messages
- rtmp2sink: Correctly return GST_FLOW_ERROR on error
- vulkan: Fix static linking on macOS
- webrtcbin: also add rtcp-fb ccm fir for video mlines by default
- webrtc/nice: fix small leak of split strings
gst-plugins-ugly
- No changes
gst-libav
- avdec_h265: Fix endless renegotiation with alternate interlacing
- avviddec: Avoid flushing on framerate changes
gst-rtsp-server
- rtsp-server: Free client if no connection could be created
gstreamer-vaapi
- vaapi: prefix internal USE_X11 define to fix build with mesa 22.3.0
- vaapi: libs: context: use queried value for attrib
- gstreamer-vaapi cannot be built without X11 with recent mesa
gstreamer-sharp
- No changes
gst-omx
- No changes
gst-python
- No changes
gst-editing-services
- Fix building ges with tools disabled
- Fix leaks and minor races in GES
gst-examples:
- webrtc: Fix double free in webrtc-recvonly-h264 demo
- webrtc: Fix critical in webrtc-recvonly-h264 example
- webrtc/signalling examples: Fix compatibility with Python 3.10
Development build environment + gst-full build
- No major changes
Cerbero build tool and packaging changes in 1.20.5
- oven: output status line at least every minute
- Unconditionally set CMAKE_SYSTEM_NAME on Windows
- Fix ios cross-compile with cmake on M1
- Speed up downloads on Windows drastically
- Fix tar usage on bsdtar and print progress while compressing
- Actually print the sha for which the cache was not found
Recipes
- ffmpeg: add patch to generate the pc files properly
- taglib: add patch to generate the pc files properly
- fontconfig: update to 2.14.1
- Windows: Crash on GStreamer 1.20.x x86_64 MSVC + MS-Windows due to
libfontconfig fonts.conf file invalid.
- openssl: Fix compile errors on upgrades
- moltenvk: Also ship the static library on macOS
- gstreamer: Add some missing pkgconfig files
- gst-plugins-good: Fix post_install failure when qt5 is enabled
- gst-plugins-bad: Ship AES plugin
- libvpx: Enable high bitdepth support
- openssl: update to 1.1.1s
- glib: Update patch to auto-detect modules on macOS
Contributors to 1.20.5
Aleksandr Slobodeniuk, Arun Raghavan, A. Wilcox, Bo Elmgreen, Boyuan
Zhang, Bunio FH, Célestin Marot, Devin Anderson, Edward Hervey, He
Junyan, Ignacio Casal Quinteiro, Jacek Skiba, Jan Alexander Steffens
(heftig), Jan Schmidt, Jonas Bonn, Jordan Petridis, Justin Chadwell,
Linus Svensson, Marek Olejnik, Mathieu Duponchelle, Matthew Waters,
Nicolas Dufresne, Nirbheek Chauhan, Patrick Griffis, Pawel Stawicki,
Philippe Normand, Ruben Gonzalez, Sam Van Den Berge, Sebastian Dröge,
Seungha Yang, Stéphane Cerveau, Tim-Philipp Müller, Vivia Nikolaidou,
Wojciech Kapsa, Xavier Claessens,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.20.5
- List of Merge Requests applied in 1.20.5
- List of Issues fixed in 1.20.5
1.20.6
The sixth 1.20 bug-fix release (1.20.6) was released on 23 February
2023.
This release only contains bugfixes and it should be safe to upgrade
from 1.20.x.
Highlighted bugfixes in 1.20.6
- audio: channel-mix: allow up to 64 channels instead of up to 63
channels
- AOM AV1 encoder timestamp handling improvements
- AV1 video codec caps handling improvements in aom plugin, isomp4 and
matroska muxers/demuxers.
- avvidenc: fix bitrate control and timestamps off FFmpeg-based video
encoders
- h264parse: fix missing timestamps on outputs when splitting a frame
- rtspsrc: more workarounds for servers with broken control uri
handling
- playbin3: fix issue with UDP streams, making sure theres enough
buffering
- qmlglsrc: Fix deadlock when stopping and some other fixes
- qtmux: fix default timescale unit for N/1001 framerates
- v4l2h264dec: Fix Raspberry Pi4 will not play video in application
- vtdec: Fix non-deterministic frame output after seeks
- wasapi2src: Fix loopback capture on Windows 10 Anniversary Update
- macOS, iOS: Fix Xcode 14 ABI breakage with older Xcode
- cerbero: Fix some regressions for CentOS in the 1.20 branch
- cerbero: Fix setuptools site.py breakage in Python 3.11
- Fix gst-libav build against FFmpeg from git
- gobject-introspection annotation fixes for bindings
- Miscellaneous bug fixes, memory leak fixes, and other stability and
reliability improvements
- Performance improvements
gstreamer
- buffer: fix copy meta reference debug log formatting
- bin: Dont unlock unlocked mutex in gst_bin_remove_func()
- bin: Fix race conditions in unit tests
- element: fix deadlock in gst_element_add_pad() when >= PAUSED
- pad: Dont leak user_data in gst_pad_start_task
- gobject-introspection annotation fixes
Core Elements
- input-selector: Take the object lock while iterating sinkpads
- multiqueue: Handle use-interleave latency live pipelines, fixing
issues with playbin3 and udp streams
gst-plugins-base
- audio: channel-mix: Fix channel count limit to be able to equal 64
- gstglwindow_x11.c: Fix colormap leak
Tools
- No changes
gst-plugins-good
- gtkbasesink: Fix widget leak
- gstgl: fix broken compilation of libsabi.c test on SLES15
- gstgl: Mark gst_gl_context_new_wrapped() return value as nullable
- gstgl: Add gstreamer-gl-1.0 pkgconfig vars to internal meson
dependency
- isomp4/matroska: Add stream-format = (string) obu-stream to AV1 caps
- jpegdec: Disable libjpeg-turbo SIMD acceleration support for RGB
conversion again for now
- redenc: fix setting of extension ID for twcc
- rtspsrc: Also consider “Method Not Valid In This State” error in
broken…
- rtspsrc, rtptimerqueue: Fix memory leak
- qmlglsrc: Fix deadlock when stopping
- qmlglsrc: Handle HiDPI scaling; unmap buffer before adding sync meta
- qtdemux: Dont emit GstSegment correcting start time when in MSE
mode
- qtdemux, qtmux: Drop questionable av1C version 0 parsing and
implement version 1 parsing/writing
- qtmux: do not base default timescale on centiframes
- qtmux: Fix assertion on caps update
- v4l2h264dec: Fix Raspberry Pi4 will not play video in application
gst-plugins-bad
- aom: Include stream-format and alignment in the AV1 caps
- aom: av1enc: Fix pts
- av1parser, h265parser: Fix some code defects
- ccconverter: dont debug a potentially freed filter caps
- closedcaption: Dont leak caps event
- d3d11memory: Fix potential crash in GstD3D11PoolAllocator
- dvbbasebin: dont rely on g_key_file_get_(integer|uint64) return
when setting properties
- h264parse: Add missing timestamp when splitting a frame
- mpegpsdemux: Ignore DTS if PTS < DTS
- nvcodec: improve error reporting on plugin init
- nvvp9dec: Fix return value
- srt: Avoid crash on unknown option
- vtdec: Fix not waiting for async frames when flushing, fixing
non-deterministic frame output after seeking
- va: Avoid array index overflow when filling 8x8 scaling list
- va: Delay the VAProcPipelineCaps query after context created.
- wasapi2src: Fix loopback capture on Windows 10 Anniversary Update
- wpe: Logging fixes for the WebExtension
gst-plugins-ugly
- No changes
gst-libav
- avviddec: Disable (non-functional) AV1 decoder
- avviddec: change
AV_CODEC_CAP_AUTO_THREADS->AV_CODEC_CAP_OTHER_THREADS
- avvidenc: Dont take ffmpeg timestamps verbatim but only use them to
calculate DTS
- avvidenc: Offset PTS to zero to fix bitrate control
- avvidenc: Set timebase in the ffmpeg context to nanoseconds and set
framerate
- avvidenc: avenc_mpeg4 does not respect bitrate as of 1.18 branch
gst-rtsp-server
- No changes
gstreamer-vaapi
- No changes
gstreamer-sharp
- No changes
gst-omx
- No changes
gst-python
- No changes
gst-editing-services
- ges: gst_bin_add() is transfer floating so wrappers around it are
too
gst-examples:
- webrtc: Use webrtc.gstreamer.net
- webrtc: Fix out of the box errors
Development build environment + gst-full build
- No major changes
Cerbero build tool and packaging changes in 1.20.6
- Fix setuptools site.py breakage in Python 3.11
- macOS, iOS: Fix Xcode 14 ABI breakage with older Xcode
- Fix some regressions for CentOS in the 1.20 branch
- Doesnt work anymore with Python 3.6
Recipes
- fontconfig 2.14 doesnt compile with CentOS toolchain
Contributors to 1.20.6
Alicia Boya García, Edward Hervey, Enrique Ocaña González, F. Duncanh,
He Junyan, Jan Alexander Steffens (heftig), James Hilliard, Jan Schmidt,
Marek Vasut, Mathieu Duponchelle, Matthew Waters, Matthias Fuchs,
medithe, Mengkejiergeli Ba, Nirbheek Chauhan, Olivier Crête, Pawel
Stawicki, Philippe Normand, Piotr Brzeziński, Rodrigo Bernardes,
Sebastian Dröge, Seungha Yang, Tim-Philipp Müller, Tristan van Berkom,
U. Artie Eoff, Xuchen Yang, Yatin Maan,
… and many others who have contributed bug reports, translations, sent
suggestions or helped testing. Thank you all!
List of merge requests and issues fixed in 1.20.6
- List of Merge Requests applied in 1.20.6
- List of Issues fixed in 1.20.6
Schedule for 1.22
GStreamer 1.22.0 was released on 23 January 2023.
See the GStreamer 1.22 release notes for details.
We recommend you upgrade at your earliest convenience. - - -
These release notes have been prepared by Tim-Philipp Müller with
contributions from Matthew Waters, Nicolas Dufresne, Nirbheek Chauhan,
Sebastian Dröge and Seungha Yang.
License: CC BY-SA 4.0