Seungha Yang
55b2dcc121
h264picture: Export private method symbols
...
That method will be used by plugin
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8496 >
2025-02-21 15:00:01 +00:00
Seungha Yang
bb4d21001f
examples: Add example for nvenc extern-cuda-bufferpool property
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8516 >
2025-02-21 10:10:53 +00:00
Seungha Yang
d17e8707c9
nvencoder: Add extern-cuda-bufferpool property
...
Add new property to support application allocated GstCudaMemory.
CUDA memory alloc/free is a global device synchronization point
as if launching CUDA kernel on default CUDA stream. To avoid the global
synchronization, we added stream-ordered allocation support
which allocates CUDA memory asynchronously.
However, NVENC does not allow registering the stream-ordered
allocated memory. Thus encoder was allocating normal CUDA
memory in case that input CUDA memory is stream-ordered type.
In this commit, newly introduced property will allow application
to provide encoder with GstCudaBufferPool. Application can
preallocate sufficient amount of CUDA memory in advance
to avoid global device synchronization while pipeline is running.
For now, this pool is used only if input CUDA memory is allocated
via stream-ordered-allocation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8516 >
2025-02-21 10:10:53 +00:00
Seungha Yang
700e31d146
cudaconverter: Use stream ordered allocation if requested
...
... to avoid global device synchronization
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8516 >
2025-02-21 10:10:52 +00:00
Seungha Yang
6ef54dd883
cudaconverter: Remove unnecessary CUDA memory allocation
...
We can pass struct to kernel by value
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8516 >
2025-02-21 10:10:52 +00:00
Matthew Waters
9f7fe58054
vkupload: don't require that input memory count matches output memory count
...
It can very easily not. e.g.
videotestsrc ! video/x-raw,format=NV12 ! identity drop-allocation=true ! \
vulkanupload ! vulkancolorconvert ! vulkansink
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8530 >
2025-02-21 17:22:15 +11:00
Seungha Yang
9baff8e4e0
closedcaption: Add h265ccextractor element
...
This element will collect closed caption meta from H.265 stream
and output caption buffers in display order
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8500 >
2025-02-19 11:10:30 +00:00
Seungha Yang
98e1db8f31
h264ccextractor: Port to GstVecDeque
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8500 >
2025-02-19 11:10:30 +00:00
Sebastian Dröge
359183c6a4
mpegts: Rename un-namespaced REG_TO_UINT32 macro
...
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4226
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8506 >
2025-02-19 09:29:28 +00:00
Edward Hervey
03902c30de
mpegts: Update annotations
...
Specify whether the various functions can return a NULL value
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8466 >
2025-02-18 14:05:53 +00:00
Benjamin Gaignard
fab7e43fe2
debugutils: videocodectestsink: Add GBR_10LE as supported pixel format
...
Add GBR_10LE in the list of supported format of the element.
GBR_10LE is used as output format in Fluster ARGON tests suite.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8502 >
2025-02-18 13:01:14 +00:00
Benjamin Gaignard
a50dddeea2
videoparsers: av1: Fix typo in debug log
...
comsumed -> consumed
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8502 >
2025-02-18 13:01:13 +00:00
Benjamin Gaignard
2f81d53efc
videoparsers: av1: Allow av1parse to parse annexb streams
...
Let's av1 parser do it job event it receives an annexb stream.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8502 >
2025-02-18 13:01:13 +00:00
Matthew Waters
a2320509b4
vkfencecache: call parent release() only after resources have been removed
...
The parent class will allow the handle to be reused at the end of the function.
If we are still modifying the released fence, then another thread can acquire
the fence while we are still clearing some of its data and produce a data race
or a leaked fence depending on which thread wins.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8491 >
2025-02-17 23:28:56 +00:00
Olivier Crête
3dc6abbe68
analyticsmeta: Make output struct annotation more explicit
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8489 >
2025-02-17 15:25:51 +00:00
Olivier Crête
7b6ba90416
analyticsmeta: Avoid crash when adding Mtd with NULL Mtd structure
...
It's documented that you don't need to get the position of the Mtd
when adding it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8489 >
2025-02-17 15:25:50 +00:00
Stéphane Cerveau
7ef98ba41d
vulkan: register always vulkansink elements
...
vulkansink elements were enabled only if
the video extensions were present which
is breaking backward compatibility such as Android
or ios.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8488 >
2025-02-17 12:00:17 +00:00
Tim-Philipp Müller
5751a33997
srtp: require libsrtp2, drop support for libsrtp1
...
Even old old debian stable from 2019 ships with a
recent-enough libsrtp2 version.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8205 >
2025-02-17 10:49:59 +00:00
Seungha Yang
008ffd8f00
cccombiner: Fix critical warnings
...
gst_buffer_add_video_caption_meta: assertion 'data != NULL' failed
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8486 >
2025-02-16 16:44:22 +00:00
Sebastian Dröge
ad66d338dd
play: Fix annotations of parse_missing_plugins()
API
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8487 >
2025-02-16 17:11:32 +02:00
Tim-Philipp Müller
b41d5c733d
svtjpegxsenc: fix copy'n'paste error in property registration
...
Doesn't change anything in practice because the default value
was set correctly in the instance init function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8485 >
2025-02-15 15:44:14 +00:00
Arun Raghavan
5ffa6902c3
onnx: Allow generic well-known names for tensors
...
This allows us to use the upstream version of the ssd_mobilenet model[1], and
starts setting us up to allow some tensor names by convention if we want to add
more decoders.
[1] https://github.com/onnx/models/tree/main/validated/vision/object_detection_segmentation/ssd-mobilenetv1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8117 >
2025-02-14 15:42:52 +00:00
Edward Hervey
96e660e0d9
mpegts: Fix PCR Discontinuity handling for HLS
...
We can only reliably use the adaptation field discontinuity flag if our input is
properly timestamped on a regular basis (ex: UDP, DVB, RTP, etc...).
For HLS and other systems which don't provide that information, we should not
reset the base observations. Otherwise we would potentially end up picking a
reference time from a long time ago.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8480 >
2025-02-14 14:33:45 +00:00
Seungha Yang
54a0ad7161
closedcaption: Add closed caption extractor element for H.264 stream
...
Adding new h264ccextractor element. This element will extract
closed caption meta from H.264 stream, and output in display order.
For the frame reordering, this element is implemented as a subclass
of h264decoder but without actual frame decoding.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6580 >
2025-02-14 13:43:01 +00:00
Alexander Slobodeniuk
1eaf9b867e
avfassetsrc: fix mutex leak
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8479 >
2025-02-14 12:55:27 +00:00
Alexander Slobodeniuk
c3fdd1ea3a
avfassetsrc: fix missing GObject dispose chainup
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8479 >
2025-02-14 12:55:27 +00:00
Alexander Slobodeniuk
80b99f08dd
applemedia: fix chaining up GObject's constructed virtual method
...
Fixes #4224
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8446 >
2025-02-14 10:33:31 +00:00
Seungha Yang
cc6336c222
cccombiner: Fix wrong caps and buffer ordering
...
If there's queued video buffer, forwards new caps event once
the queued video buffer is drained.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8473 >
2025-02-13 21:15:15 +00:00
James Oliver
bd37947254
nvcodec: fix invalidated std::set::iterator usage
...
As per the C++ standard, any usage of a std::set::iterator after it has
been erased from the collection results in undefined behaviour. This has
resulted in application crashes due to CUDA illegal address errors.
This commit fixes the issue by copying and incrementing the iterator
within any for-loops that also invoke std::set::erase.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8472 >
2025-02-13 15:18:10 +00:00
Alexander Slobodeniuk
ae47dd2529
d3d11: fix chaining up GObject's constructed virtual method
...
Fixes #4223
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8448 >
2025-02-13 14:32:14 +00:00
Alexander Slobodeniuk
b737bde9f6
wasapi: fix chaining up GObject's constructed virtual method
...
Fixes #4223
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8448 >
2025-02-13 14:32:14 +00:00
Alexander Slobodeniuk
df4c2f18bd
asio: fix chaining up GObject's constructed virtual method
...
Fixes #4223
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8448 >
2025-02-13 14:32:14 +00:00
Alexander Slobodeniuk
6c64794fca
winrt: fix chaining up GObject's constructed virtual method
...
Fixes #4223
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8448 >
2025-02-13 14:32:14 +00:00
Seungha Yang
39f4b1ee4d
d3d12: Update root signature flags for old Windows10
...
Use root signature flags which are part of initial Direct3D12 release.
Old OS does not understand newly introduced flags
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8469 >
2025-02-13 13:39:11 +00:00
wbartel
41ff7727dc
webrtc: fix recursive G_BEGIN_DECLS and include missing sctptransport.h in webrtc.h
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8470 >
2025-02-13 10:08:52 +00:00
Mart Raudsepp
def2f12d84
mpegtsmux: Fix error message for PID < 0x40 to be in the claimed base 16
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8463 >
2025-02-12 12:39:29 +00:00
Mart Raudsepp
395c8cafa6
mpegtsmux: Fix deadlock when requesting pad for PID < 0x40
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8463 >
2025-02-12 12:39:29 +00:00
Alexander Slobodeniuk
a2059c1bb3
dshowdeviceprovider: fix missing GObject vtable chainups
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8452 >
2025-02-11 22:49:06 +01:00
Alexander Slobodeniuk
15bf924940
cpu-throttling-clock: fix missing GObject vtable chainups
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8452 >
2025-02-11 22:49:06 +01:00
Alexander Slobodeniuk
87973ca3a9
wpebusmsgforwarder: fix missing GObject vtable chainups
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8452 >
2025-02-11 22:49:06 +01:00
Alexander Slobodeniuk
f14cb6d704
baseqroverlay: fix missing GObject vtable chainups
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8452 >
2025-02-11 22:49:06 +01:00
Alexander Slobodeniuk
b4d0427ffb
codec2json: fix missing GObject vtable chainups
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8452 >
2025-02-11 22:49:06 +01:00
Robert Mader
3d525f9b65
wayland: Report correct modifiers
...
Fixes: e0e7a11089
("wayland: De-dupe filling caps format fields")
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8460 >
2025-02-11 17:42:41 +00:00
Seungha Yang
967ab2dc50
d3d12screencapturesrc: Fix infinite negotiation on resolution change
...
Updates crop rect if previous capture got error. The error might
result from resolution change.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8444 >
2025-02-11 00:34:00 +00:00
Seungha Yang
1902b5ca1b
d3d12screencapturesrc: Fix capturing rotated monitor
...
Acquired and reconstructed frames will have different resolution
if monitor is rotated. Use the copying logic of d3d11 implementation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8444 >
2025-02-11 00:34:00 +00:00
Carlos Bentzen
b848c91dec
mpegtsmux: add support for VVC/H.266 video
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8435 >
2025-02-10 20:57:40 +00:00
Edward Hervey
63a03b167a
mpegts: Take into account adaptation field discont
...
If the flag is set, there is an *expected* discontinuity:
* For CC, we ignore the fact it's not contiguous
* For PCR, we acknowledge the values aren't contiguous
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8420 >
2025-02-10 19:41:21 +00:00
Daniel Morin
0a562a92d7
srtsink: filter stream-config already sent
...
- Only sent buffer with GST_BUFFER_FLAG_HEADER if this buffer is not present in
the streamheader
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8373 >
2025-02-10 18:45:01 +00:00
Alexander Slobodeniuk
986d651fba
kms: fix chaining up GObject's constructed virtual method
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8416 >
2025-02-10 17:49:29 +00:00
Alexander Slobodeniuk
5b0934fa7f
msesrc: fix chaining up GObject's constructed virtual method
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8416 >
2025-02-10 17:49:29 +00:00