Seungha Yang [Sat, 2 Oct 2021 11:21:41 +0000 (20:21 +0900)]
codecs: vp9decoder: add support for render delay
Some decoding APIs support delayed output for performance reasons.
One example would be to request decoding for multiple frames and
then query for the oldest frame in the output queue.
This also increases throughput for transcoding and improves seek
performance when supported by the underlying backend.
Introduce support in the vp9 base class, so that backends that
support render delays can actually implement it.
Co-authored by Seungha Yang <seungha@centricular.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/987>
Seungha Yang [Sat, 2 Oct 2021 10:47:45 +0000 (19:47 +0900)]
codecs: vp9decoder: Fix class struct documentation
s/GstVp9Decoder/GstVp9DecoderClass
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/987>
Thibault Saunier [Thu, 30 Sep 2021 22:03:40 +0000 (19:03 -0300)]
ges:uri-asset: Ignore streams with no ID
Since
0d95d9258b97 we respect the asset stream-id in `GESUriSource` so
we can not work with unknown or broken stream ID in the assets.
We just ignore them, warning about it and we should fix that in
demuxer so they don't expose pad without providing a stream id for them.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1001>
Stéphane Cerveau [Thu, 16 Sep 2021 13:18:24 +0000 (15:18 +0200)]
typefindfunctions: differentiate h265 from h264
in some cases, the algo gives the same probability
to h264 and h265 for h26x stream resulting in a h265
stream detected as a h264.
if sps/pps/vps detected, increase the probabilty.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/957>
Víctor Manuel Jáquez Leal [Thu, 30 Sep 2021 15:38:33 +0000 (17:38 +0200)]
va: meson: Update and enhance meson syntax usage.
This patch contains two updates:
1. Instead of checking for dependency already checked just to verify a
version, we use the dependency version API.
2. Update the deprecated function get_pkgconfig_variable.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/997>
Víctor Manuel Jáquez Leal [Thu, 30 Sep 2021 15:43:09 +0000 (17:43 +0200)]
msdk: meson: Don't get dependency variable before it's valid.
It's possible to have installed MediaSDK environment
package (libmfx-dev in Debian) without libva environment package. This
setup will lead to a breakage of meson configuration.
The fix is to get the libva's driver directory variable after the
dependency is validated as found.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/998>
Marc Leeman [Thu, 30 Sep 2021 11:32:44 +0000 (13:32 +0200)]
ristsink: set sync to FALSE on RTCP sink
See commit
921e9a54: rtpsink: set sync off on rtcp_sink
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/993>
Marc Leeman [Thu, 30 Sep 2021 11:19:40 +0000 (13:19 +0200)]
rtpsink: set sync off on rtcp_sink
When using the following setup (the error can be reproduced using
simpler sender pipelines), the receiver resynchronises the clock on RTCP
packets. The effect was that a couple seconds were cut out of the
playback because an initial RTCP packet was dropped.
When sending out all RTCP packets (setting sync=FALSE on the RTCP
updsink), the playback is fine.
This syncs rtpsink with rtpsrc (where this property was already set).
gst-launch-1.0 filesrc location=899-en.mp3 \
! mpegaudioparse \
! mpg123audiodec \
! audioconvert \
! audioresample \
! avenc_g722 \
! rtpg722pay
! rtpsink uri=rtp://239.1.2.3:1234
gst-launch-1.0 uridecodebin rtp://239.1.2.3:1234?encoding-name=G722 \
! autoaudiosink
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/993>
Sebastian Dröge [Fri, 1 Oct 2021 10:51:37 +0000 (13:51 +0300)]
rtsp-session: Don't unref medias twice if it is removed inside gst_rtsp_session_filter() while the mutex is shortly released
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/757
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1004>
Marc Leeman [Thu, 17 Sep 2020 13:06:38 +0000 (15:06 +0200)]
rtpmanagerbad: do not set iface on sink
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/994>
Jordan Petridis [Fri, 1 Oct 2021 09:11:04 +0000 (12:11 +0300)]
ci: Rebuild windows image
Get updates and newer ca-certificates in.
Also update the way we install chocolatey
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1002>
Thibault Saunier [Thu, 30 Sep 2021 15:47:20 +0000 (12:47 -0300)]
ci:doc: Rewrite script to import doc on fdo ensuring the right job is used
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/999>
Thibault Saunier [Thu, 30 Sep 2021 13:37:05 +0000 (10:37 -0300)]
move-script: Do not expect user to be members of the gstreamer project
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/990>
Thibault Saunier [Thu, 30 Sep 2021 13:36:00 +0000 (10:36 -0300)]
move-script: Handle users not having forked gstreamer core
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/990>
Stéphane Cerveau [Wed, 29 Sep 2021 09:23:38 +0000 (11:23 +0200)]
core: remove outdated mention to gst-build
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/956>
Seungha Yang [Fri, 27 Aug 2021 10:19:57 +0000 (19:19 +0900)]
mfdeviceprovider: Add support for device update
Similar to the wasapi2 plugin, GstWinRT library will be used for UWP,
and adding new GstWin32DeviceWatcher object implementation for
Win32 desktop application.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/947>
Seungha Yang [Thu, 26 Aug 2021 13:38:37 +0000 (22:38 +0900)]
wasapi2deviceprovider: Add support for device update
... by using newly implemented GstWinRT library
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/947>
Seungha Yang [Thu, 26 Aug 2021 10:47:51 +0000 (19:47 +0900)]
libs: Introduce GstWinRT library
Adding a helper library for various WinRT specific implementations.
Currently this library supports only DeviceWatcher abstraction object
which can be used for dynamic device add/remove detection.
See also
https://docs.microsoft.com/en-us/uwp/api/windows.devices.enumeration.devicewatcher?view=winrt-20348
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/947>
Tim-Philipp Müller [Sun, 26 Sep 2021 00:55:39 +0000 (01:55 +0100)]
video: make GST_VIDEO_FORMAT_INFO_IS_*() macros booleans
Spotted by Stirling Westrup.
Fixes #726
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/926>
Tim-Philipp Müller [Sun, 26 Sep 2021 00:52:12 +0000 (01:52 +0100)]
audio: make GST_AUDIO_INFO_IS_UNPOSITIONED return a boolean
Luckily this worked right since the flag we check is the
only flag and its vale is 1, but feels more correct to
actually check for non-zeroness.
Spotted by Stirling Westrup.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/926>
Thibault Saunier [Wed, 29 Sep 2021 13:07:48 +0000 (10:07 -0300)]
scripts:move_mrs: Revert cherry-picking when aborting
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/959>
Xavier Claessens [Wed, 29 Sep 2021 14:21:21 +0000 (10:21 -0400)]
Add .editorconfig used by some IDE like vscode
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/969>
Xavier Claessens [Wed, 29 Sep 2021 13:56:58 +0000 (09:56 -0400)]
Fix gitignore
- `*build*/` is not needed because Meson puts a .gitignore in builddir
already.
- `meson/` why?
- `/gst*` is too wide, it includes e.g. gst-env.py, list symlinks
explicitly instead.
- `subprojects/*` excludes all .wrap files, and `!subprojects/gst*` is
not enough because e.g. `macos-bison-binary` is still ignored. Instead
ignore only directories except those we include in our git repository.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/969>
Xavier Claessens [Tue, 28 Sep 2021 19:45:19 +0000 (15:45 -0400)]
Delete .arcconfig files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/951>
Thibault Saunier [Wed, 29 Sep 2021 12:22:06 +0000 (09:22 -0300)]
indent: Ignore any changes in medias/
It is a submodule and we do not care about it
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/952>
Thibault Saunier [Tue, 28 Sep 2021 19:29:12 +0000 (16:29 -0300)]
docs: Always build documentation on gstreamer/gstreamer main branch
So artifacts can the be imported on gst.fd.o.
And update the importation script accordingly
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/952>
Xavier Claessens [Mon, 27 Sep 2021 16:12:22 +0000 (12:12 -0400)]
ci: Remove useless GIT_LFS_SKIP_SMUDGE and GIT_STRATEGY
GIT_LFS_SKIP_SMUDGE is not needed because we don't have git-lfs any
more.
GIT_STRATEGY is not needed because "fetch" is the default strategy.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/939>
Tim-Philipp Müller [Tue, 28 Sep 2021 23:05:21 +0000 (00:05 +0100)]
docs: faq: monorepo: add another question and clarify bisecting section
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/953>
Tim-Philipp Müller [Tue, 28 Sep 2021 23:04:37 +0000 (00:04 +0100)]
docs: faq: monorepo: import gitlab access token dialog screenshot
Best not to rely on external hosting.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/953>
Olivier Crête [Mon, 27 Sep 2021 20:11:33 +0000 (16:11 -0400)]
rtphdrext: Give "inherited" direction in set_attributes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Mon, 27 Sep 2021 14:19:51 +0000 (10:19 -0400)]
rtphdrext: Use NULL-safe case insensitive comparison
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Mon, 27 Sep 2021 14:01:02 +0000 (10:01 -0400)]
rtphdrext: Print warnings when trying to parse caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Fri, 24 Sep 2021 17:38:39 +0000 (13:38 -0400)]
rtphdrext: Pass just the attributes to the subclass
Since the base class now does the parsing, there is no need
to reproduce that code in all the subclasses, just pass the attributes
which are the only relevant bit anyway.
Also, only store the direction if the subclass accepted the caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Fri, 24 Sep 2021 17:19:22 +0000 (13:19 -0400)]
rtphdrext: Use fail_unless_equals_string() to make tests easier to debug
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Fri, 24 Sep 2021 17:02:13 +0000 (13:02 -0400)]
rtphdrext test: Use helper function for caps
Also, let the base class parse the direction for us.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Fri, 24 Sep 2021 16:52:37 +0000 (12:52 -0400)]
rtphdrext-rfc6464: Use helper function to set caps field
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Fri, 24 Sep 2021 16:51:01 +0000 (12:51 -0400)]
rtphdrext: Add helper function to set fields in caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Thu, 23 Sep 2021 20:37:45 +0000 (16:37 -0400)]
rtphdrext: Parse direction from the caps
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Thu, 23 Sep 2021 20:33:32 +0000 (16:33 -0400)]
rtphdrext: Set the direction in the caps from the property
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Thu, 23 Sep 2021 20:24:04 +0000 (16:24 -0400)]
rtphdrext: Store the direction in the base class
Store the direction associated wit the RTP header extension in the
base class so it can use it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Thu, 23 Sep 2021 20:01:40 +0000 (16:01 -0400)]
rtphdrext: Set caps without attributes as the default
Most subclasses just use the simple function, so just let the base class
do it. It makes less code in subclasses.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Olivier Crête [Thu, 23 Sep 2021 19:36:00 +0000 (15:36 -0400)]
rtphdrext: Put simple caps generation as the base class default
Instead of having a helper function that gets called by almost every
subclass, just let the base class set the caps fields automatically.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
Tim-Philipp Müller [Tue, 28 Sep 2021 18:07:19 +0000 (19:07 +0100)]
docs: add mono repo FAQ
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/950>
Thibault Saunier [Sun, 26 Sep 2021 22:51:48 +0000 (19:51 -0300)]
move-mrs-script: Add an option to select which modules and MR to work on
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/919>
Thibault Saunier [Sun, 26 Sep 2021 22:51:48 +0000 (19:51 -0300)]
move-mrs-script: Add options to use python gitlab config files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/919>
Thibault Saunier [Sun, 26 Sep 2021 22:37:07 +0000 (19:37 -0300)]
move-mrs-script: Get back to checked out branch
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/919>
Thibault Saunier [Sun, 26 Sep 2021 00:03:06 +0000 (21:03 -0300)]
scripts: Add a script to rebase branches from old modules into monorepo
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/919>
Thibault Saunier [Sat, 25 Sep 2021 01:47:17 +0000 (22:47 -0300)]
move-mrs-script: Add prefix to mr titles if no provided
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/919>
Thibault Saunier [Fri, 24 Sep 2021 23:02:02 +0000 (20:02 -0300)]
move-mrs-script: Add a notion of when comments where added
And resolve already resolved discussions
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/919>
Thibault Saunier [Tue, 23 Feb 2021 16:20:33 +0000 (13:20 -0300)]
Add a scripts to ease moving pending MRs to the monorepo
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/919>
Thibault Saunier [Fri, 24 Sep 2021 12:59:20 +0000 (09:59 -0300)]
gitignore: Ignore symlinks
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/919>
Thibault Saunier [Mon, 27 Sep 2021 22:37:18 +0000 (19:37 -0300)]
ci: Wait for cerbero pipeline to finish
So we are sure the pipeline is marked as failed if the cerbero sub pipeline fails
See https://gitlab.com/gitlab-org/gitlab/-/issues/341737 for details
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/946>
Brad Hards [Tue, 28 Sep 2021 00:11:15 +0000 (10:11 +1000)]
doc: update IRC links to OFTC
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/945>
Xavier Claessens [Mon, 27 Sep 2021 14:15:22 +0000 (10:15 -0400)]
ci: trigger cerbero
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/938>
Seungha Yang [Sat, 18 Sep 2021 14:37:20 +0000 (23:37 +0900)]
d3d11videosink: Add support for crop meta
... when upstream element is d3d11.
Note that, if upstream element is not d3d11, crop meta is almost
pointless since d3d11videosink will upload video frame to GPU memory
in any case.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/933>
Seungha Yang [Sat, 18 Sep 2021 14:37:59 +0000 (23:37 +0900)]
d3d11videosink: Perform propose_allocation() even when we have no configured window
In order to support d3d11 device update, d3d11videosink will configure
window on the first buffer. So, there might not be configured
window when propose_allocation() is required.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/933>
Sebastian Dröge [Mon, 27 Sep 2021 12:30:25 +0000 (15:30 +0300)]
gs: Add support for authenticating via Service Account Credentials
This allows authenticating directly with Server Account credentials
instead of having it configured on host system separately, and thus
allows using arbitrary accounts configured/selected at runtime.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/934>
Sebastian Dröge [Mon, 27 Sep 2021 11:56:21 +0000 (14:56 +0300)]
gs: Fix indentation and make it consistent
Apparently this partially used clang-format's default settings, so let's
use that for everything now.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/934>
Havard Graff [Sun, 26 Sep 2021 22:53:34 +0000 (00:53 +0200)]
videodecoder: request sync-points regularly on error
If we are not receiving a sync-point for a very long time, we need to
keep asking for them. The request-sync-point logic keeps track of how
many keyunitrequests we are allowed to send, but that would not matter
if we don't keep asking.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/930>
Sebastian Dröge [Mon, 27 Sep 2021 06:24:16 +0000 (09:24 +0300)]
commandline-formatter: Fix version documentation for ges_command_line_formatter_get_help()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/929>
Tim-Philipp Müller [Sat, 25 Sep 2021 17:48:22 +0000 (18:48 +0100)]
gstreamer: docs: document GST_DEBUG env var evaluation order
Fixes #716
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/923>
Sebastian Dröge [Sat, 25 Sep 2021 13:34:49 +0000 (16:34 +0300)]
ges: Add a few missing annotations
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/921>
Tim-Philipp Müller [Sun, 26 Sep 2021 00:07:02 +0000 (01:07 +0100)]
Back to development
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/925>
Tim-Philipp Müller [Sat, 25 Sep 2021 23:02:33 +0000 (00:02 +0100)]
meson: fix up version
(Sync with other subprojects, we'll go back to dev in a separate commit).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/924>
Sebastian Dröge [Thu, 23 Sep 2021 16:30:32 +0000 (19:30 +0300)]
webrtcbin: Always set SINK/SRC flags
webrtcbin can act as a sink/source depending on the SDP later. Without
setting this here already, surrounding bins might not notice this and
the pipeline configuration might become inconsistent, e.g. with regards
to latency.
See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/737
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/900>
Mathieu Duponchelle [Fri, 24 Sep 2021 23:53:35 +0000 (01:53 +0200)]
docs: link to concrete types rather than type macros
Latest hotdoc version extended the ignored, boilerplate macros
to now include TYPE macros for records as well
Linking to the concrete type is more informative
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Fri, 24 Sep 2021 22:09:00 +0000 (00:09 +0200)]
mpegts: add missing Since comments after SCTE 35 work
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 8 Jun 2021 21:25:58 +0000 (23:25 +0200)]
basetsmux: use private copy of g_ptr_array_copy
This function is only present since glib 2.62
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 4 May 2021 12:38:28 +0000 (14:38 +0200)]
basetsmux: fix SCTE pts_adjustment with offsets
When there are elements between the demuxer and the muxer that
introduce an offset to the running time, or when offsets are
set on pads by the application, this shift must be taken into
account when calculating the final pts_adjustement.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Thu, 22 Apr 2021 23:22:32 +0000 (01:22 +0200)]
basetsmux: rework SCTE section handling to handle passthrough
mpegtsmux can receive SCTE sections from two origins: events
created by the application, and events forwarded downstream by
mpegtsdemux, containing sections that may not have been fully
parsed, and additional data to help tsmux translate times to
the correct domain, both for requesting keyframes and calculating
an accurate pts_adjustment.
The complete approach is documented further in a comment above
the relevant function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Thu, 22 Apr 2021 23:19:21 +0000 (01:19 +0200)]
mpegtspacketizer: handle "packetizing" already packetized data
.. when the section didn't have a packetizer. This can happen
as a result of building a new section from a copy of the original
data of another section.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Thu, 22 Apr 2021 23:15:08 +0000 (01:15 +0200)]
tsdemux: switch SCTE 35 sections handling to a passthrough model
Instead of modifying the splice times in the incoming sections
to running time and expecting eg mpegtsmux to convert those back
to its local PES time domain, which might be impossible when
those splice times are encrypted or the specification is extended,
transmit the needed information to the muxer as separate fields in
the event:
* A pts offset field can be used by the muxer in order to calculate
a final pts_adjustment
* A rtime_map can be used by the muxer to determine the correct
running times at which it should request keyframes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 13 Apr 2021 22:27:16 +0000 (00:27 +0200)]
scte-section: add support for packetizing splice_program_flag='0'
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 13 Apr 2021 21:56:06 +0000 (23:56 +0200)]
scte-section: add support for packetizing schedule events
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 13 Apr 2021 21:42:54 +0000 (23:42 +0200)]
scte-section: Add TODO for porting to gst_bit_*
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 13 Apr 2021 21:38:16 +0000 (23:38 +0200)]
scte-section: add support for parsing splice components
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 13 Apr 2021 18:51:09 +0000 (20:51 +0200)]
scte-section: add support for SCHEDULE commands
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 13 Apr 2021 18:47:36 +0000 (20:47 +0200)]
scte-section: fix typo
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 13 Apr 2021 18:44:54 +0000 (20:44 +0200)]
gst-scte-section: implement partial parsing
In cases where either the SIT is encrypted, or an unknown
command is encountered, we still want to send an event downstream.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 6 Apr 2021 15:57:42 +0000 (17:57 +0200)]
scte35-section: semantic API break
Document that the constructors for the splice events expect
a running time, as users of the API can not be expected to
predict the appropriate local PTS.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Tue, 6 Apr 2021 15:37:28 +0000 (17:37 +0200)]
scte-section: add support for packetizing time_signal splices
time_signal splices are trivial, they only contain a splice_time()
and all the relevant information is carried in descriptors.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Mon, 5 Apr 2021 22:58:33 +0000 (00:58 +0200)]
basetsmux: extend SCTE 35 support
Makes it possible to support passing SCTE 35 cue points from
demuxer to muxer, while preserving correct timing.
This will also improve ex nihilo cue points injection, as splice
times and durations are now interpreted as running time values,
and may trigger key unit requests.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Mon, 5 Apr 2021 22:36:43 +0000 (00:36 +0200)]
tsdemux: Expose send-scte35-events property
When enabled, SCTE 35 sections (eg ad placement opportunities)
are forwarded as events donwstream.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Mon, 5 Apr 2021 22:26:50 +0000 (00:26 +0200)]
mpegtsbase: expose vmethod to let subclass handle sections
This can be used by tsdemux to handle and forward SCTE 35
sections.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Mon, 5 Apr 2021 22:23:09 +0000 (00:23 +0200)]
mpegtssection: expose event constructor
This allows the demuxer to forward sections of interest downstream,
for example SCTE 35 splice information. These can then be reinjected
appropriately by a muxer for example.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Mathieu Duponchelle [Mon, 5 Apr 2021 22:21:58 +0000 (00:21 +0200)]
scte-section.h: fix type macros
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913>
Nicolas Dufresne [Fri, 24 Sep 2021 18:11:13 +0000 (14:11 -0400)]
Move commit gst-indent hook to the root
This renable at meson setup time the installation of the gst-indent
commit hook. The hooks were kept from gst-devtools as this set supports
both C checks and Python checks.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/904>
Thibault Saunier [Fri, 24 Sep 2021 19:28:39 +0000 (16:28 -0300)]
Add gst-integration-testsuites files as a submodule
Thibault Saunier [Fri, 24 Sep 2021 19:22:10 +0000 (16:22 -0300)]
Import gst-integration-testsuites
Thibault Saunier [Thu, 23 Sep 2021 15:26:50 +0000 (12:26 -0300)]
ci: Remove now useless .gitlab-ci.yml files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
Thibault Saunier [Fri, 10 Sep 2021 20:23:53 +0000 (17:23 -0300)]
Cleanup .gitignore
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
Thibault Saunier [Sat, 24 Oct 2020 17:56:22 +0000 (14:56 -0300)]
ci: Port CI to the new monorepo
Main differences with previous setup are:
- No manifest creation
- gst-indent is executed only when the bot is assigned (instead of the manifest task)
- Cerbero jobs are triggered in the cerbero repo
- Remove cerbero and android related files as they now are in cerbero
itself.
- Update `container.ps1` to the new file layout
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
Thibault Saunier [Sat, 31 Oct 2020 02:51:16 +0000 (23:51 -0300)]
Cleanup root directory from misc files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
Thibault Saunier [Fri, 30 Oct 2020 23:45:26 +0000 (20:45 -0300)]
base: Fix a suppression that has a slightly different trace
For some reason making a monorepo lead to some minor stack changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
Thibault Saunier [Fri, 30 Oct 2020 21:58:58 +0000 (18:58 -0300)]
Update README.md now that all modules have been merged in `gstreamer`
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
Thibault Saunier [Fri, 30 Oct 2020 21:58:35 +0000 (18:58 -0300)]
Remove git-update and git-worktree as they do not make sense anymore
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
Thibault Saunier [Fri, 23 Oct 2020 22:15:28 +0000 (19:15 -0300)]
Remove local gst wrap
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
Thibault Saunier [Fri, 24 Sep 2021 19:16:32 +0000 (16:16 -0300)]
Merging gst-build
Thibault Saunier [Fri, 24 Sep 2021 19:16:29 +0000 (16:16 -0300)]
Move files from gstreamer-sharp into the "subprojects/gstreamer-sharp/" subdir
Thibault Saunier [Fri, 24 Sep 2021 19:16:14 +0000 (16:16 -0300)]
Merging gstreamer-sharp