Thibault Saunier
7dfaac92fa
validate:launcher: Do not dump on failure test we will retry
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113 >
2021-10-12 16:59:16 +00:00
Thibault Saunier
d8e8d98ff9
tests: aggregator: Take TIMEOUT_FACTOR
env var into account
...
This env var is set in the CI so we grow the timeout as required
(when running in valgrind for example).
Trying to avoid hitting wrong timeout in valgrind job like in:
https://gitlab.freedesktop.org/tpm/gstreamer/-/jobs/14009456
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113 >
2021-10-12 16:59:16 +00:00
Thibault Saunier
47afe6db28
tests: Blacklist tests that are currently producing many CI failures
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113 >
2021-10-12 16:59:16 +00:00
Thibault Saunier
23dbfdf70d
validate:launcher: Allow more flexible handling of flaky tests
...
And retry twice flaky tests
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113 >
2021-10-12 16:59:16 +00:00
Thibault Saunier
ff8d8bbc97
validate:launcher: Fix progress reporting with --n-runs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113 >
2021-10-12 16:59:16 +00:00
Thibault Saunier
6860240bee
validate:tests: Mark rtsp tests as generally flaky
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113 >
2021-10-12 16:59:16 +00:00
Thibault Saunier
c525273185
ges:tests: Mark nested timelines as generally flaky
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113 >
2021-10-12 16:59:16 +00:00
Thibault Saunier
4762b138b6
validate:launcher: Support retry on failure when using --n-runs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113 >
2021-10-12 16:59:16 +00:00
Thibault Saunier
f2efd3b133
validate:launcher: Fix potential invalid index access
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113 >
2021-10-12 16:59:16 +00:00
Thibault Saunier
b084abad79
validate:launcher: Fix adding logs to xunit
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113 >
2021-10-12 16:59:16 +00:00
Tim-Philipp Müller
078f7874fd
gst-play: pick up minus and plus also from navigation events
...
Makes it easier to test playback rate changes with the video
window being in focus.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/928 >
2021-10-12 11:19:22 +00:00
Nirbheek Chauhan
e24e366952
libsoup: Bump to 2.74 to fix gssapi build failure on macOS
...
See: https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/255
We also need to disable sysprof by default because it only builds on
native Linux. If someone really wants it, they can enable the option
on the command-line by passing -Dlibsoup:sysprof=enabled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1114 >
2021-10-12 12:22:31 +05:30
Mengkejiergeli Ba
40d559adcf
msdkenc: fix vp9enc initialization fail
...
MediaSDK does not support to handle extbuff with id
MFX_EXTBUFF_VIDEO_SIGNAL_INFO for mjpegenc and vp9enc. Hence, need to
exclude mjpeg and vp9 when passing color properties to MediaSDK during
msdkenc initialization.
Fix issue: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/764
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1101 >
2021-10-12 03:45:41 +00:00
Seungha Yang
1bf237e767
examples: d3d11: Add a desktop capture example
...
... with d3d11 desktop capture device provider
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1103 >
2021-10-11 15:21:26 +00:00
Seungha Yang
4b85704b88
d3d11: Add device provider for d3d11desktopdupsrc
...
... and add support for multi-GPU/multi-monitor
By using newly added "monitor-handle" property, user can specify a
monitor to be captured via HMONITOR handle.
Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1673
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1103 >
2021-10-11 15:21:26 +00:00
Stéphane Cerveau
2200a3dbcd
ttml: fix log init
...
The log system should be init before calling a log
Fix regression after:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1112 >
2021-10-11 15:23:08 +02:00
Stéphane Cerveau
01fa95d34a
move-mrs-script: add url option
...
You can give as option:
--url
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/960 >
2021-10-10 19:50:10 +00:00
Víctor Manuel Jáquez Leal
1cfae69bc9
tests: va: Add VA buffer copy tests.
...
It should only work for raw buffers, but fails on dmabuf since it
should have a drm modifier.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1023 >
2021-10-10 17:03:29 +00:00
Víctor Manuel Jáquez Leal
35575e7b11
va: allocator: dmabuf: Use GstVaSurfaceCopy, if possible.
...
If dmabuf-based buffer to copy contains only one memory, and there are
memories available in the allocator's pool, it's possible a fast
memory copy using GstVaSurfaceCopy, regardless the drm modifier.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1023 >
2021-10-10 17:03:29 +00:00
Víctor Manuel Jáquez Leal
cf751d54a9
va: allocator: Use GstVaSurfaceCopy.
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1023 >
2021-10-10 17:03:29 +00:00
Víctor Manuel Jáquez Leal
ffa2522fc0
va: Add GstVaSurfaceCopy class.
...
This new class is a helper for fast/tricky copy of surfaces. First it
tries to copy using the function vaCopy in libva 1.12. If it fails, or
it's not available, a GstVaFilter is tried to be instantiated with the
allocator's parameters, and if succeed, it's used for copying the
source surface.
This is required for dmabuf surfaces with drm modifier.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1023 >
2021-10-10 17:03:29 +00:00
Víctor Manuel Jáquez Leal
f1e2eb4f1e
va: filter: Enable to pass VASurfaceID in GstVaSample.
...
Initially GstVaSample processed its GstBuffer member to get the
VASurfaceID. But it might cases where we already have the VASurfaceID
to process by the filter.
This patch enables the possibility to pass the surfaces rather than
the buffers. In order to validate the surfaces a function to check
surfaces were added.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1023 >
2021-10-10 17:03:29 +00:00
Víctor Manuel Jáquez Leal
14156f8270
va: Split VA memory handling in different files.
...
Take out the VA memory wrappers from gstvallocator.c to an external
file exposing the functions.
This is going to be needed for the copy helper object.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1023 >
2021-10-10 17:03:29 +00:00
Víctor Manuel Jáquez Leal
1be43e76cc
va: allocator: Add missing header file.
...
Added stdint.h because uintptr_t is used.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1023 >
2021-10-10 17:03:29 +00:00
Víctor Manuel Jáquez Leal
2947bd6ef1
va: display: Add gst_va_display_has_vpp()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1023 >
2021-10-10 17:03:29 +00:00
Benjamin Gaignard
7e9e17ebbe
v4l2codecs: Align v4l2-controls header with kernel 5.15-rc3
...
Update v4l2-controls to be aligned with kernel 5.15-rc3.
Fix VP8 decoder to use the correct field name.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1081 >
2021-10-10 15:50:57 +00:00
Jan Schmidt
71c3141672
uridecodebin3/urisourcebin: Reusability fixes
...
Improvements to uridecodebin3 and urisourcebin so that they are
reusable across a PAUSED->READY->PAUSED transition.
Disconnect and release decodebin3 request pads when urisourcebin
removes src pads.
In urisourcebin, make sure to remove src pads that are exposed
directly (raw pads and static typefind srcpads) when
cleaning up.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/768
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1100 >
2021-10-10 11:55:19 +00:00
Jan Schmidt
e06ac494b8
playbin3: Always register 'playbin3' element.
...
If the USE_PLAYBIN3=1 env var is set, we want to replace
playbin with playbin3, but separate to that, we always
want to register the 'playbin3' element so that applications
which explicitly use playbin3 work regardless of the env var.
This fixes `USE_PLAYBIN3=1 gst-validate-launcher`, for example.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1102 >
2021-10-10 07:28:17 +00:00
Seungha Yang
0d96e43c91
mediafoundation: mfvideoenc: Use DXGI adapter LUID
...
Make use of new DXGI adapter LUID based device context sharing.
Note that we were using DXGI adapter LUID to open MFT already.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1098 >
2021-10-10 03:23:58 +09:00
Seungha Yang
5707e487cf
d3d11: d3d11decoder: Use DXGI adapter LUID
...
... instead of index of DXGI adapter.
The order of IDXGIAdapter1 enumerated via IDXGIFactory1::EnumAdapters1
can be varying even there's no rebooting in case that GPU preference order
is updated by user (for example, it can be done by using NVIDIA Control Panel
in case of multi-GPU laptop system) and eGPU is another possible case.
So, for an element which requires fixed target GPU requirement,
index based device enumeration is unreliable.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1098 >
2021-10-10 03:23:58 +09:00
Seungha Yang
98b82ef286
d3d11: d3d11utils: Add support for DXGI Adapter LUID based D3D11 device context sharing
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1098 >
2021-10-10 03:23:58 +09:00
Seungha Yang
5ac7a21ef0
d3d11: d3d11device: Add gst_d3d11_device_new_{for_adapter_luid,wrapped}
...
* gst_d3d11_device_new_for_adapter_luid()
Used for creating D3D11 device for a DXGI adapter (i.e., GPU)
corresponding to a LUID (Locally Unique Identifier).
This method can be useful for interop with other APIs such as
Direct3D12, MediaFoundation, CUDA, etc.
* gst_d3d11_device_new_wrapped()
Allows creating a new GstD3D11Device object by using already
configured ID3D11Device. This is conceptually equivalent to
gst_gl_context_new_wrapped()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1098 >
2021-10-10 03:23:53 +09:00
Seungha Yang
d8eff2623d
d3d11: d3d11device: Remove "allow-tearing" property
...
Plugin can query DXGI_FEATURE_PRESENT_ALLOW_TEARING without d3d11device
help
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1098 >
2021-10-10 01:01:44 +09:00
Sebastian Dröge
3011fa7ddd
webrtcbin: Use the same promise reply structure name everywhere
...
This was an inconsistent mix of different names in the past. The name
has no meaning at all so let's set all to "application/x-gst-promise".
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1099 >
2021-10-09 11:45:46 +03:00
Jan Schmidt
33ad1cdc5e
playbin3: Avoid group deactivation deadlock.
...
Change locking around group deactivation to avoid deadlocks
when shutting down exactly as a buffering message arrives.
The PLAYBIN3_LOCK now protects the active field of the
source group. Everything else is still protected by the
source-group-lock.
Also properly protect group switching operations with
the PLAYBIN3_LOCK everywhere.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1049 >
2021-10-08 15:49:41 +00:00
Vivia Nikolaidou
1fa1b18a24
chopmydata: Fix FIXMEs in gst_element_class_set_static_metadata
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1097 >
2021-10-08 16:20:10 +03:00
Stéphane Cerveau
08f924b491
FAQ: add mention to downstream cherry-pick
...
Give an help to cherry-pick an upstream patch to
downstream repository (old stable version)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1095 >
2021-10-08 14:34:00 +02:00
Seungha Yang
7286c8e302
d3d11: d3d11desktopdupsrc: Add support for non-D3D11 downstream element
...
By this commit, application doesn't need to configure d3d11download
element for software pipeline which will make things simpler
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1082 >
2021-10-08 16:13:46 +09:00
Thibault Saunier
b590511146
validate:scenario: Allow waiting signal searching for element factory
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1064 >
2021-10-07 15:05:53 +00:00
Marek Vasut
e6d83d8f96
jpegdec: Support libjpeg-turbo colorspace conversion
...
The libjpeg-turbo has a built-in support for performing colorspace
conversion. The performance of this conversion is much better than
doing the same separately using videoconvert. Implement support for
this conversion to RGBx/xRGB/BGRx/xBGR formats. Other formats can
be easily added later.
- The decoding of various pixel formats can be tested and compared to
non-libjpeg-turbo decoding as follows:
for gfmt in {RGB,BGR}{,x} x{RGB,BGR} ; do
echo "$gfmt"
gst-launch-1.0 -q \
videotestsrc pattern=colors ! \
video/x-raw,format=${gfmt} ! \
fakesink dump=true | \
head -n 200 | tail -n 1
gst-launch-1.0 -q --gst-plugin-path=build/ext/jpeg/ \
videotestsrc pattern=colors ! \
video/x-raw,format=${gfmt} ! \
jpegenc ! \
jpegdec ! \
video/x-raw,format=${gfmt} ! \
fakesink dump=true | \
head -n 200 | tail -n 1
done
Result looks as follows, i.e. comparable:
RGB
00000c70 (0x7f7736fbdd10): 05 33 19 05 33 26 05 33 33 05 33 40 05 33 4c 05 .3..3&.33.3@.3L.
00000c70 (0x7f389e8f7d10): 05 32 17 04 32 22 04 32 31 04 32 3e 04 32 4a 04 .2..2".21.2>.2J.
RGBx
00000c70 (0x7f79efd0ad10): cc 07 22 ff d9 07 22 ff e6 07 22 ff f3 07 22 ff .."..."..."...".
00000c70 (0x7fb6989f3d10): cd 06 22 00 d9 06 22 00 e6 06 22 00 f4 06 22 00 .."..."..."...".
BGR
00000c70 (0x7fa0a6c42d10): 05 0c 33 05 19 33 05 26 33 05 33 33 05 40 33 05 ..3..3.&3.33.@3.
00000c70 (0x7fc74165fd10): 05 08 32 04 17 32 04 22 32 04 31 32 04 3e 32 04 ..2..2."2.12.>2.
BGRx
00000c70 (0x7fbf399f1d10): 22 07 cc ff 22 07 d9 ff 22 07 e6 ff 22 07 f3 ff "..."..."..."...
00000c70 (0x7f50e3d1cd10): 22 06 cd 00 22 06 d9 00 22 06 e6 00 22 06 f4 00 "..."..."..."...
xRGB
00000c70 (0x7f0b950a2d10): ff cc 07 22 ff d9 07 22 ff e6 07 22 ff f3 07 22 ..."..."..."..."
00000c70 (0x7f4416b8dd10): 00 cd 06 22 00 d9 06 22 00 e6 06 22 00 f4 06 22 ..."..."..."..."
xBGR
00000c70 (0x7f237d74dd10): ff 22 07 cc ff 22 07 d9 ff 22 07 e6 ff 22 07 f3 ."..."..."..."..
00000c70 (0x7f095547dd10): 00 22 06 cd 00 22 06 d9 00 22 06 e6 00 22 06 f4 ."..."..."..."..
^^ ^^ ^^ ^^
Notice how the alpha channel is set to arbitrary value in case of the
libjpeg-turbo decoding into RGBx/BGRx/xRGB/xBGR pixel formats. This is
documented in libjpeg-turbo README.md as follows:
"
When using the RGBX, BGRX, XBGR, and XRGB colorspaces during decompression, the
X byte is undefined, and in order to ensure the best performance, libjpeg-turbo
can set that byte to whatever value it wishes.
"
- The interlaced num_fields=2 mjpeg stream can be generated and
tested as follows (this does require mjpegtools):
$ gst-launch-1.0 videotestsrc num-buffers=10 ! jpegenc ! multifilesink location=in%04d.jpg
$ jpeg2yuv -f 25 -I t -L 0 -j in%04d.jpg | yuv2lav -f avi -o result.avi
...
$ gst-launch-1.0 --gst-plugin-path=build/ext/jpeg/ filesrc location=result.avi ! \
avidemux ! jpegdec ! video/x-raw,format=RGBx ! videoconvert ! autovideosink
Signed-off-by: Marek Vasut <marex@denx.de>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1091 >
2021-10-07 12:40:29 +00:00
Sebastian Dröge
14d636b224
rtsp-media: Unprepare suspended medias too
...
Previously suspended medias immediately reached the UNPREPARED state
without going through the media's unprepare() vfunc. This didn't allow
the media subclass to do any additional cleanup, and for example the
shutdown-eos property of GstRTSPMedia was ignored.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1090 >
2021-10-07 11:16:39 +00:00
Seungha Yang
314901a208
tests: gstmeta: Fix failure on Windows
...
Windows doesn't support fork so every test will be performed in
one process. So the test_meta_custom_transform() is being
failed because "test-custom" custom meta is being used/defined in
another test test_meta_custom() as well.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1086 >
2021-10-07 07:43:27 +00:00
Seungha Yang
88437a9c9b
codecs: Use GST_VIDEO_DECODER_ERROR() only for decoding error case
...
The GST_VIDEO_DECODER_ERROR() should be used only for robust/error-resilient
decoding purpose. Any other error codes such as not-negotiated or flushing
should be returned without modified for upstream to be able to handle
it immediately. (for example, application might want to try other
decoder element on not-negotiated)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1070 >
2021-10-07 06:48:46 +00:00
Seungha Yang
e31b797c05
codecs: h264decoder: Update for remaining gboolean to GstFlowReturn port
...
Fix for spurious/spammy warning and wrong function return type
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1085 >
2021-10-07 06:07:29 +00:00
Sebastian Dröge
e9d551b45c
rtsp-media: Only unprepare a media if it was not already unpreparing anyway
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1083 >
2021-10-07 05:28:19 +00:00
Nirbheek Chauhan
f0c3eefefc
meson: Fix gst-launch build on UWP
...
The APIs we need from WinMM for higher timer resolution are only
available for non-UWP apps. The winmm library itself is still
available, so we need to disable the check.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/890 >
2021-10-07 04:43:34 +00:00
Nirbheek Chauhan
be607d7cca
meson: Fix build with -Dopenjpeg=disabled
...
tests/check/meson.build uses the openjpeg_dep variable
unconditionally, and the subdir_done() is useless anyway, since the
plugin is only built if openjpeg_dep.found() is true. Fixes:
..\tests\check\meson.build:23:0: ERROR: Unknown variable "openjpeg_dep".
In particular, this fixes the build on UWP since we disable openjpeg
explicitly in Cerbero when building for UWP.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1069 >
2021-10-07 03:22:25 +00:00
Guillaume Desmottes
de05bb3da2
bad: gs: update README
...
- add one missing dep
- change install path to match monorepo
- fix current dirs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1008 >
2021-10-06 21:35:08 +00:00
Ognyan Tonchev
7ba665995f
rtsp-client: make sure sessmedia will not get freed while used
...
handle_*_request() functions were all retrieving the session media from
the session by calling gst_rtsp_session_get_media () which is a transfer-none
call. If a session timeout happens at that time, the session media may get freed
making the pointer invalid..
Fixes #757
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1053 >
2021-10-06 19:42:43 +00:00
Thibault Saunier
ce76a286ed
validate:launcher: Sync asset only when passing --sync
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1020 >
2021-10-06 17:00:54 +00:00
Víctor Manuel Jáquez Leal
01cfc1ee7e
va: Use macro rather than VAMemory feature string.
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1061 >
2021-10-06 07:19:50 +00:00
Xavier Claessens
cf912f6d15
ci: Fix gst-indent path
...
It used to be downloaded into PATH, but we can now instead run it from
git. Also move it to top source dir instead of gstreamer subproject.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/931 >
2021-10-05 23:44:03 +03:00
Sebastian Dröge
55222db66e
rtsp-media: Also mark receive-only (RECORD) medias as prepared when unsuspending
...
Previously the status was only changed for other medias.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1058 >
2021-10-05 16:40:07 +00:00
Tim-Philipp Müller
c53bdeacf5
docs: update "Building from Source using Meson" for mono repo
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1052 >
2021-10-05 13:13:31 +00:00
Sebastian Dröge
4316be6571
splitmuxsink: Keep track of the pending input GOPs in a queue
...
This cleans up input GOP handling and makes it possible to handle more
than 2 pending GOPs, which could happen before if keyframes are arriving
with too short of a distance between them.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1005 >
2021-10-05 12:35:19 +00:00
Sebastian Dröge
ae8ceb801c
splitmuxsink: Handle frame reordering due to B frames better
...
Instead of assuming that the PTS of a keyframe is the lowest PTS of a
GOP, wait until the DTS has passed this PTS and take the minimum PTS up
to that point. That way the minimum PTS of a GOP can be determined, at
least for closed GOP streams. Open GOP streams still can't be handled
properly.
By knowing the minimum PTS of each GOP, keyframes can be requested at
the correct time relative to the GOP (and thus fragment) start and
fragment overflow calculations can calculate the correct durations of
the GOPs.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1005 >
2021-10-05 12:35:19 +00:00
Sebastian Dröge
f83ed50c20
splitmuxsink: Reset timecodes when resetting the sink
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1005 >
2021-10-05 12:35:19 +00:00
Sebastian Dröge
ed6823ad67
splitmuxsink: Use GST_CLOCK_STIME_NONE instead of 0 to initialize max out running time
...
Otherwise streams with only DTS would misbehave while it is negative.
For outputting everything immediately at EOS, use G_MAXINT64 instead
which is bigger-or-equal to any other running time.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1005 >
2021-10-05 12:35:19 +00:00
Sebastian Dröge
eed843eea0
splitmuxsink: Only update max in/out running time if it's actually bigger
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1005 >
2021-10-05 12:35:19 +00:00
Sebastian Dröge
68683d15c4
splitmuxsink: Only count keyframes for the reference context, consistently
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1005 >
2021-10-05 12:35:19 +00:00
Robert Rosengren
62077b9d05
docs/running: Describe GST_REGISTRY_MODE
...
Change-Id: I45e9fe90137d4a8306c3a5e4f636fa43425b978f
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/825 >
2021-10-05 10:49:27 +00:00
Robert Rosengren
69b3b1d6bf
registrybinary: registry file mode via GST_REGISTRY_MODE
...
In an embedded system where all services run as seperate users it is
useful to have the gstreamer registry readable by all so it can be
re-used, in similar manner as a host system where one user have seperate
applications running but all share same registry.
To make this possible introducing GST_REGISTRY_MODE for adjusting the
changing mode of the registry binary when finishing up with the
temporary file (which has restricted access).
Fixes : #692
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/825 >
2021-10-05 10:49:27 +00:00
Jan Alexander Steffens (heftig)
0596da1966
mpegtsparse: Don't assert the packet_size when filling for EOS
...
If the packetizer got reset for any reason (failure to find PCR?) then
the packet_size can be zero here even though we already enqueued some
packets.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1038 >
2021-10-05 09:38:27 +00:00
Ludvig Rappe
b099ba649e
pbutils: Remove sample entry code "raw"
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1045 >
2021-10-05 09:00:23 +00:00
Jan Alexander Steffens (heftig)
5aa825d004
multiqueue: Fix query unref race on flush
...
If the query has already been destroyed at this point, GST_IS_QUERY will
read garbage, can return false and we will try to unref it again.
Instead, make note of whether the item is a query when we dequeue it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1029 >
2021-10-05 06:36:48 +00:00
Seungha Yang
7c557c2d65
codecs: mpeg2decoder: Use GstFlowReturn everywhere
...
boolean return value is not sufficient for representing the reason
of error in most cases. For instance, any errors around new_sequence()
would mean negotiation error, not just *ERROR*.
And some subclasses will allocate buffer/memory/surface on new_picture()
but it could be failed because of expected error, likely flushing
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1019 >
2021-10-04 20:56:46 +00:00
Seungha Yang
e322745763
codecs: h264decoder: Use GstFlowReturn everywhere
...
boolean return value is not sufficient for representing the reason
of error in most cases. For instance, any errors around new_sequence()
would mean negotiation error, not just *ERROR*.
And some subclasses will allocate buffer/memory/surface on new_picture()
but it could be failed because of expected error, likely flushing
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1019 >
2021-10-04 20:56:46 +00:00
Seungha Yang
5b405d1585
codecs: h265decoder: Use GstFlowReturn everywhere
...
boolean return value is not sufficient for representing the reason
of error in most cases. For instance, any errors around new_sequence()
would mean negotiation error, not just *ERROR*.
And some subclasses will allocate buffer/memory/surface on new_picture()
but it could be failed because of expected error, likely flushing
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1019 >
2021-10-04 20:56:46 +00:00
Seungha Yang
05496df0d1
closedcaption: Fix broken debug function macros with MSVC build
...
warning C4003: not enough arguments for function-like macro invocation 'warning'
G_STMT_END macro is extended to the below form with MSVC
__pragma(warning(push)) \
__pragma(warning(disable:4127)) \
while(0) \
__pragma(warning(pop))
So MSVC preprocessor will extend it further to
__pragma(VBI_CAT_LEVEL_LOG(push)) ...
Should rename warning() debug macro function therefore.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1018 >
2021-10-04 23:03:20 +09:00
Seungha Yang
90e5e0efea
mpegtsmux: basetsmux: Don't try to return value from void function
...
gstbasetsmux.c(1508): warning C4098: 'free_splice': 'void' function returning a value
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1018 >
2021-10-04 13:37:09 +00:00
Víctor Manuel Jáquez Leal
2e6cd5c2e4
va: Make libgudev dependency optional.
...
libgudev is a problematic dependency, particularly in sandboxed
environments, such as flatpak.
This patch implements a way to get the available VA devices using
brute-forced traverse of /dev/drm/renderD* directory. Thus usable in
those sandboxed environments.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1027 >
2021-10-04 10:19:36 +00:00
Víctor Manuel Jáquez Leal
e699aaeb16
va: meson: Move back libgudev dependency to plugin.
...
When move the libgstva, libgudev dependency was moved as part of the
library, though it's not use by the library but the plugin. This patch
moves back libgudev dependency to the plugin.
Also HAVE_LIBDRM is move to the library which is the one who use it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1027 >
2021-10-04 10:19:36 +00:00
Seungha Yang
da7f4e0a69
nvcodec: nvh264sldec: Add support for interlaced stream
...
Implement missing interlaced stream support
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1026 >
2021-10-04 08:04:00 +00:00
Seungha Yang
ce8965b75b
nvcodec: nvh264sldec: Consider additional render delay DPB pictures
...
At least additional 4 pictures are required
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1026 >
2021-10-04 08:04:00 +00:00
Seungha Yang
613d380b97
nvcodec: nvvp9sldec: Fix for VP9 profile2 decoding
...
Fix for output video format to be selected correctly
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1026 >
2021-10-04 08:04:00 +00:00
Seungha Yang
baf252b48b
msdk: meson: Fix build on Windows
...
subprojects\gst-plugins-bad\sys\msdk\meson.build:160:2: ERROR: Unknown variable "libva_dep".
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1022 >
2021-10-04 07:14:33 +00:00
Seungha Yang
6a756b9f46
d3d11: d3d11vp9dec: Fix use_prev_in_find_mv_refs value setting
...
"last_show_frame" should be updated based on
GstVp9FrameHeader::show_frame, not show_existing_frame
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1021 >
2021-10-03 02:25:50 +09:00
Seungha Yang
571aad3980
codecs: {vp8,vp9}decoder: Drain on new_sequence()
...
Decoder should drain queued frame (if any) and empty DPB before
starting new sequence.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/987 >
2021-10-02 12:11:48 +00:00
Seungha Yang
834d6f4031
nvcodec: nv{vp8,vp9}sldec: Implement get_preferred_output_delay()
...
Equivalent to that of nvh264sldec. Use render delay in case of non-live
pipeline for the better throughput performance.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/987 >
2021-10-02 12:11:48 +00:00
Seungha Yang
aab3ea2736
codecs: {vp8,vp9}decoder: Cleanup drain code
...
Make them consistent with h26x decoder baseclass
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/987 >
2021-10-02 12:11:48 +00:00
Seungha Yang
9f4ea145e0
codecs: vp8decoder: Fix typo
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/987 >
2021-10-02 12:11:48 +00:00
Seungha Yang
c6ec7f3ea4
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 >
2021-10-02 12:11:48 +00:00
Seungha Yang
505c794748
codecs: vp9decoder: Fix class struct documentation
...
s/GstVp9Decoder/GstVp9DecoderClass
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/987 >
2021-10-02 12:11:48 +00:00
Thibault Saunier
a2964eb1ad
ges:uri-asset: Ignore streams with no ID
...
Since 0d95d9258b
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 >
2021-10-02 10:44:26 +00:00
Stéphane Cerveau
84b357dd5f
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 >
2021-10-02 10:03:21 +00:00
Víctor Manuel Jáquez Leal
5e08ede8f6
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 >
2021-10-02 00:54:56 +00:00
Víctor Manuel Jáquez Leal
a769e3308d
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 >
2021-10-01 23:43:41 +00:00
Marc Leeman
58d4a5b449
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 >
2021-10-01 22:57:02 +00:00
Marc Leeman
b7820a0de7
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 >
2021-10-01 22:57:02 +00:00
Sebastian Dröge
7aa88364ac
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 >
2021-10-01 21:15:44 +00:00
Marc Leeman
a774dfb18f
rtpmanagerbad: do not set iface on sink
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/994 >
2021-10-01 20:31:17 +00:00
Stéphane Cerveau
d435b154b8
core: remove outdated mention to gst-build
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/956 >
2021-09-30 12:24:38 +00:00
Seungha Yang
feb5a5aae6
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 >
2021-09-30 06:13:07 +00:00
Seungha Yang
2f791ff027
wasapi2deviceprovider: Add support for device update
...
... by using newly implemented GstWinRT library
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/947 >
2021-09-30 06:13:07 +00:00
Seungha Yang
08cb5b482d
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 >
2021-09-30 06:13:07 +00:00
Tim-Philipp Müller
b8d6962c9b
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 >
2021-09-29 23:53:12 +00:00
Tim-Philipp Müller
43ed0df54c
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 >
2021-09-29 23:53:12 +00:00
Xavier Claessens
7abb8802fe
Delete .arcconfig files
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/951 >
2021-09-29 17:52:59 +00:00
Tim-Philipp Müller
1f44dda4a8
docs: faq: monorepo: add another question and clarify bisecting section
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/953 >
2021-09-29 03:21:21 +00:00
Tim-Philipp Müller
34cd458aac
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 >
2021-09-29 03:21:21 +00:00
Olivier Crête
7abd83dfea
rtphdrext: Give "inherited" direction in set_attributes
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
6cd483d17a
rtphdrext: Use NULL-safe case insensitive comparison
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
2dd740c0c3
rtphdrext: Print warnings when trying to parse caps
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
5ec82c1c4e
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 >
2021-09-28 20:04:55 +00:00
Olivier Crête
e65053a477
rtphdrext: Use fail_unless_equals_string() to make tests easier to debug
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
674611c851
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 >
2021-09-28 20:04:55 +00:00
Olivier Crête
2db9f42b36
rtphdrext-rfc6464: Use helper function to set caps field
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
87a91d1387
rtphdrext: Add helper function to set fields in caps
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
e76dce3c6e
rtphdrext: Parse direction from the caps
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
34a6b2b890
rtphdrext: Set the direction in the caps from the property
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906 >
2021-09-28 20:04:55 +00:00
Olivier Crête
63d669e0bf
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 >
2021-09-28 20:04:55 +00:00
Olivier Crête
ba328fb98d
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 >
2021-09-28 20:04:55 +00:00
Olivier Crête
498740fe57
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 >
2021-09-28 20:04:55 +00:00
Tim-Philipp Müller
ecf84cdd4e
docs: add mono repo FAQ
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/950 >
2021-09-28 19:49:12 +01:00
Brad Hards
ef05946837
doc: update IRC links to OFTC
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/945 >
2021-09-28 10:11:15 +10:00
Seungha Yang
052983014e
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 >
2021-09-27 16:29:09 +00:00
Seungha Yang
0fa5a06ed9
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 >
2021-09-27 16:29:09 +00:00
Sebastian Dröge
a12762a29a
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 >
2021-09-27 15:36:05 +00:00
Sebastian Dröge
c514f939c9
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 >
2021-09-27 15:36:05 +00:00
Havard Graff
6d4d4edfcc
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 >
2021-09-27 07:02:43 +00:00
Sebastian Dröge
dc30676002
commandline-formatter: Fix version documentation for ges_command_line_formatter_get_help()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/929 >
2021-09-27 09:24:16 +03:00
Tim-Philipp Müller
677d8f4639
gstreamer: docs: document GST_DEBUG env var evaluation order
...
Fixes #716
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/923 >
2021-09-26 08:22:54 +00:00
Sebastian Dröge
3db957c10d
ges: Add a few missing annotations
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/921 >
2021-09-26 06:59:04 +00:00
Tim-Philipp Müller
f1a169f39d
Back to development
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/925 >
2021-09-26 01:07:02 +01:00
Sebastian Dröge
6d9ca9c679
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 >
2021-09-25 16:33:13 +03:00
Mathieu Duponchelle
b4cf146ed0
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 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
f0a158407c
mpegts: add missing Since comments after SCTE 35 work
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
555a5ea9dd
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 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
c2eeb639b0
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 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
c3a161f287
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 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
e4f40ba526
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 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
4af003bc02
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 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
1477d76b7d
scte-section: add support for packetizing splice_program_flag='0'
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
612e064154
scte-section: add support for packetizing schedule events
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
5ecd395d91
scte-section: Add TODO for porting to gst_bit_*
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
e272fb3444
scte-section: add support for parsing splice components
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
66533ea77d
scte-section: add support for SCHEDULE commands
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:38 +00:00
Mathieu Duponchelle
ab0ab46f13
scte-section: fix typo
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
61fecce193
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 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
d17c7f25e6
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 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
a9787d0c85
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 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
be4d0fff23
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 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
1ca08bff57
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 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
b2718ed6cf
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 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
a03c395582
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 >
2021-09-25 01:29:37 +00:00
Mathieu Duponchelle
fc975818b5
scte-section.h: fix type macros
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/913 >
2021-09-25 01:29:37 +00:00
Nicolas Dufresne
3037fde5eb
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 >
2021-09-24 17:47:01 -03:00
Thibault Saunier
776d8a6617
Add gst-integration-testsuites files as a submodule
2021-09-24 16:36:50 -03:00
Thibault Saunier
098b876985
Import gst-integration-testsuites
2021-09-24 16:29:33 -03:00
Thibault Saunier
c6b9c81fdd
ci: Remove now useless .gitlab-ci.yml files
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891 >
2021-09-24 16:21:18 -03:00
Thibault Saunier
091946a478
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 >
2021-09-24 16:21:18 -03:00
Thibault Saunier
e0d3a211d9
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 >
2021-09-24 16:21:18 -03:00
Thibault Saunier
7b6ac2dea8
Remove local gst wrap
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891 >
2021-09-24 16:21:17 -03:00
Thibault Saunier
d975e07edc
Merging gst-build
2021-09-24 16:16:32 -03:00
Thibault Saunier
9f659233ea
Move files from gstreamer-sharp into the "subprojects/gstreamer-sharp/" subdir
2021-09-24 16:16:29 -03:00
Thibault Saunier
d274c90e92
Merging gstreamer-sharp
2021-09-24 16:16:14 -03:00
Thibault Saunier
24c6e49874
Move files from gst-python into the "subprojects/gst-python//" subdir
2021-09-24 16:16:05 -03:00
Thibault Saunier
41ed155bdf
Move files from gst-examples into the "subprojects/gst-examples/" subdir
2021-09-24 16:15:58 -03:00
Thibault Saunier
5c8ad24cdd
Move files from gst-docs into the "subprojects/gst-docs/" subdir
2021-09-24 16:15:51 -03:00
Thibault Saunier
2701634c29
Move files from gst-devtools into the "subprojects/gst-devtools/" subdir
2021-09-24 16:15:38 -03:00
Thibault Saunier
01e70e3552
Move files from gst-editing-services into the "subprojects/gst-editing-services/" subdir
2021-09-24 16:15:30 -03:00
Thibault Saunier
a43d7eaef4
Move files from gst-rtsp-server into the "subprojects/gst-rtsp-server/" subdir
2021-09-24 16:15:21 -03:00
Thibault Saunier
319b75d4b5
Move files from gst-ci into the "subprojects/gst-ci/" subdir
2021-09-24 16:15:13 -03:00
Thibault Saunier
7a371e75b7
Move files from gst-libav into the "subprojects/gst-libav/" subdir
2021-09-24 16:15:08 -03:00
Thibault Saunier
b7d9115a05
Move files from gst-omx into the "subprojects/gst-omx/" subdir
2021-09-24 16:15:01 -03:00
Thibault Saunier
4c7ec3993c
Move files from gstreamer-vaapi into the "subprojects/gstreamer-vaapi/" subdir
2021-09-24 16:14:54 -03:00
Thibault Saunier
4ba564fdbf
Move files from gst-plugins-ugly into the "subprojects/gst-plugins-ugly/" subdir
2021-09-24 16:14:45 -03:00
Thibault Saunier
019971a3c7
Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir
2021-09-24 16:14:36 -03:00
Thibault Saunier
5ff769d731
Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir
2021-09-24 16:13:50 -03:00
Thibault Saunier
2fd28195ca
Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir
2021-09-24 16:13:26 -03:00
Thibault Saunier
d2822d09ea
Merging gst-plugins-base
2021-09-24 16:13:17 -03:00
Thibault Saunier
6c364d9626
Move files from gstreamer into the "subprojects/gstreamer/" subdir
2021-09-24 16:13:07 -03:00
Nirbheek Chauhan
80621a3f07
libopenjp2.wrap: Update to v6 to fix macOS build
...
https://github.com/mesonbuild/wrapdb/pull/138
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/257 >
2021-08-28 23:44:52 +05:30
Nirbheek Chauhan
afd11f3383
New subproject macos-bison-binary to provide bison on macOS
...
The version of bison that ships with macOS is too old, so we need to
provide our own version of it.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/174
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/257 >
2021-08-28 23:44:52 +05:30
Jordan Petridis
747e62aed8
libsoup: update to 2.74.0
...
With an extra commit on top to fix the windows build.
See https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/249
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/252 >
2021-08-26 15:59:08 +03:00
Xavier Claessens
8f62c0c933
Update to sqlite3 from wrapdb
...
`meson subprojects update` fails with Meson >= 0.59 because 'sqlite'
wrap got renamed to 'sqlite3' in wrapdb v2.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/252 >
2021-08-24 20:52:06 +00:00
Tim-Philipp Müller
681068a59d
subprojects: pin pango wrap to tag
...
master branch got renamed to main, but might as well pin it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/256 >
2021-08-08 19:42:24 +01:00
Andoni Morales Alastruey
ae1562d367
Update bindings with latests GtkSharp
...
Update GtkSharp to 4c85f1479cf2e0dc056c0d288785e5a1d7251cb1
and regenerate bindings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/-/merge_requests/34 >
2021-08-05 15:37:27 +02:00
Seungha Yang
0587385a42
subprojects: Bump libjpeg-turbo version to 2.1.0-2 for x86 MSVC build
...
Need the latest version to support 32bit MSVC build
See also f24069784f
and https://github.com/mesonbuild/wrapdb/issues/111
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/254 >
2021-08-04 19:22:30 +09:00
Seungha Yang
fbc0fa0086
subprojects: Add libjpeg-turbo wrap
...
Would be useful for Windows
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/253 >
2021-08-03 22:01:49 +09:00
Jordan Petridis
765fc5703b
harfbuzz.wrap: Use the latest tag instead of tip of git
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/237 >
2021-07-02 17:08:48 +03:00
Nicolas Dufresne
1dcdcc9b68
Fix fontconfig wrap revision
...
The project now uses main in replacement for master.
2021-06-30 10:01:04 -04:00
Antonio Ospite
1676726332
subprojects: update glib-networking.wrap to use the 2.68 branch
...
glib-networking fixed some issues when building with older libssl version
in the 2.68 release, update the wrap file to use the newer version.
In particular this fixes building on Ubuntu 16.04 with:
meson --wrap-mode=forcefallback
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/247 >
2021-06-07 16:54:29 +02:00
Tim-Philipp Müller
227c137692
subprojects: update harfbuzz branch ref after rename
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/246 >
2021-06-05 19:09:18 +01:00
Tim-Philipp Müller
723478b6be
Back to development
2021-06-01 15:34:41 +01:00
Tim-Philipp Müller
3804f23e3f
Release 1.19.1
2021-06-01 00:17:06 +01:00
Edward Hervey
ce79200376
subprojects: Update glib to 2.68 and glib-networking to 2.66 branch
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/143 >
2021-04-12 00:14:20 +01:00
Tim-Philipp Müller
334fdf5c3a
subprojects: add libdv wrap
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/231 >
2021-01-14 19:16:01 +00:00
Xavier Claessens
a64eacd73b
meson: Update zlib.wrap to use wrapdb instead of github fork
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/217 >
2021-01-13 12:55:06 +00:00
Tim-Philipp Müller
000b01c6f1
Add opus wrap
...
Now that Meson build system support has been merged upstream.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/225 >
2020-11-16 19:23:20 +00:00
Nirbheek Chauhan
9898650a31
meson: Update expat.wrap for MSVC fix
...
This broke during the update in !206 , and we didn't notice because the
CI doesn't update --reset the wraps, which will be fixed by
https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/375
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/224 >
2020-11-05 13:09:46 +05:30
Guillaume Desmottes
eba05e57a6
subprojects: add webrtc-audio-processing.wrap
...
Will be useful to build the iSAC plugin:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1124
Depends on https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/11
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/219 >
2020-10-28 16:14:41 +01:00
Stéphane Cerveau
89176610d2
Revert "subprojects: orc: pin to 0.4.29 release"
...
This reverts commit 8a2ac5c668
.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/215 >
2020-10-27 14:33:59 +01:00
Tim-Philipp Müller
2faa29909f
libpsl.wrap: pin to 0.21.1 tag
...
So build failures on master don't break our build and CI.
https://github.com/rockdaboot/libpsl/pull/164
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/213 >
2020-10-26 12:13:12 +00:00
Xavier Claessens
71616b9317
meson: Update expat.wrap with latest version
...
It fixes missing exported symbols:
2602bd52eb
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/206 >
2020-10-13 17:08:53 +00:00
Philippe Normand
05f7066179
subprojects: Update libwpe and wpebackend-fdo for fallback support
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/205 >
2020-10-12 12:29:01 +00:00
Philippe Normand
e7b9f6b04a
wpebackend-fdo: Update to 1.9
...
This commit will be useful for the wpesrc audio support, and for CI/SHM purposes
in general.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/202 >
2020-10-09 18:17:57 +00:00
Philippe Normand
852f8f7a53
Add libwpe subproject
...
This is a dependency of wpebackend-fdo.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/202 >
2020-10-09 18:17:57 +00:00
Stéphane Cerveau
9c90e6a1c3
libopenjp2: update wrap
...
Fix lcms2 and wxWidgets system dependencies.
https://github.com/mesonbuild/libopenjp2/pull/2
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/200 >
2020-10-06 13:15:57 +00:00
Xavier Claessens
a9731bdcb7
Add pango.wrap file and its dependencies
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/196 >
2020-10-06 12:35:14 +00:00