Nirbheek Chauhan
4822c9a1e2
y4mdec: Fix some debug log categories
...
Fatal errors should be logged as ERROR, extremely spammy messages
should be logged with TRACE
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5997 >
2024-02-06 12:42:54 +00:00
Nirbheek Chauhan
56b16e5232
y4mdec: Parse extended headers written out by FFmpeg
...
References:
https://wiki.multimedia.cx/index.php/YUV4MPEG2
https://github.com/FFmpeg/FFmpeg/blob/eee3b7e2/libavformat/yuv4mpegenc.c#L74-L166
The primary purpose is to add high bit-depth y4m support, which is
commonly used for testing codecs.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5997 >
2024-02-06 12:42:54 +00:00
Nirbheek Chauhan
968ebd26ab
y4mdec: Simplify header parsing
...
Use string parsing instead of pointer arithmetic, which makes the code
easier to understand and less error-prone. This has no functional
changes, and is preparation for the next commit, which extends the
header parsing.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5997 >
2024-02-06 12:42:54 +00:00
Sebastian Dröge
7c1ea2eeab
pad: Copy over seqnum when creating a new segment event for applying pad offset
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6057 >
2024-02-06 10:24:26 +00:00
sergey radionov
ebc51e3253
nice: resolve result should go to nice helper thread
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5921 >
2024-02-06 09:12:13 +00:00
Sebastian Dröge
3972736f91
utils: Remove unnecessary const-removal casts from gst_util_filename_compare()
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6063 >
2024-02-06 08:03:56 +00:00
Sebastian Dröge
404e4ca626
utils: Annotate gst_util_filename_compare() parameters as filenames
...
They're not UTF-8 strings.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6063 >
2024-02-06 08:03:56 +00:00
Daniel Morin
8afc305fe2
onnx: fix, update tensor producer and consumers
...
- Propagate GstTensor.type becoming to GstTensor.data_type to tensor producer
(onnx) and consumer (TensorDecoder)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6061 >
2024-02-05 22:27:59 -05:00
Olivier Crête
7271410391
analyticsoverlay: Don't error out on lack on dependency in auto mode
...
If the option is set to auto, it shouldn't fail if the dependency is missing.
Fixes #3266
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6060 >
2024-02-05 14:59:06 -05:00
Sebastian Dröge
ddd9dcc559
ajasink: Remove workaround for NTV SDK bug that is fixed since a while
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6056 >
2024-02-05 16:24:13 +00:00
Víctor Manuel Jáquez Leal
4949c6d153
vkh264dec: GST_USE_UNSTABLE_API for plugin compilation
...
The code to include H264 decoder base class header wrongly disabled the unstable
API message. This patch fixes it by setting it as a compilation define of the
plugin.¡
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6055 >
2024-02-05 14:25:38 +01:00
Víctor Manuel Jáquez Leal
2c660ee8f5
vkupload: remove unused parameter fetching
...
It's not required to create a vulkan buffer to fetch its size since all this
handled by internally by the allocator and it was never needed, so it looks like
dead code. Let's delete it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6028 >
2024-02-05 10:38:54 +00:00
Nicolas Dufresne
0fd76c2848
allocators: drm-dumb: Fix non-thread safe dmabuf allocator creation
...
If the allocation function get called from multiple threads at the same time,
multiple allocators may get created but only one get saved. Leading to other
allocators to be leaked. Simply create it once in the instance initialization.
Fixes : #2456
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6052 >
2024-02-05 07:39:56 +00:00
sergey radionov
39f2afbd45
webrtcbin: it's better to have thread default main context
...
on thread bound to that main context.
fixes #3271
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6053 >
2024-02-05 00:56:47 +00:00
Seungha Yang
35e5178f0e
d3d12: Fix potential self thread join
...
Fence data could hold GstD3D12Device directly or indirectly.
Then if it's holding last refcount, the device object will
be released from the device object's internal thread,
and will try join self thread.
Delegates it to other global background thread to avoid
self thread joining.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6042 >
2024-02-05 01:37:32 +09:00
Seungha Yang
1c0f224f05
d3d12memory: Remove unused method
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6042 >
2024-02-03 23:22:58 +09:00
Nirbheek Chauhan
a5cb2ef9cd
meson: Print a useful error message when qt windowing is not found
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6040 >
2024-02-03 05:42:26 +00:00
Olivier Crête
3325a10f57
onnx: Port SSD detector to C
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6001 >
2024-02-02 18:47:52 -05:00
Olivier Crête
5e1291fd86
onnx: Only read labels file one and use GIO
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6001 >
2024-02-02 18:43:22 -05:00
Olivier Crête
13de5160be
onnx: Add more tensor data types
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6001 >
2024-02-02 18:43:21 -05:00
Olivier Crête
e3d8168a5a
onnx: Remove unecessary gst_tensor_meta_get_all_from_buffer
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6001 >
2024-02-02 18:43:21 -05:00
Olivier Crête
2034f776bb
onnx: Merge tensor into tensor meta file
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6001 >
2024-02-02 18:43:21 -05:00
Loïc Le Page
eb416d5077
webpenc: add animation properties
...
- animation background color
- number of animation loops
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5994 >
2024-02-02 17:23:08 +00:00
Loïc Le Page
05bd35f625
webpenc: don't allow changing resolution in animation mode
...
- fails on image resolution changes in animation mode
- fails with a log message on invalid color spaces
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5994 >
2024-02-02 17:23:08 +00:00
Loïc Le Page
9fe504c423
webpenc: fix naming and libwebp API calls
...
- uniformize parameters naming
- call symetric init and clear functions systematically from libwebp API
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5994 >
2024-02-02 17:23:08 +00:00
Mathieu Duponchelle
a6409525ef
webpenc: add support for animated WebP
...
The libwebp API doesn't match very well with the GstVideoEncoder
API, as it only delivers an unframed bitstream once all pictures
have been processed, which means we can only push a single buffer
manually on our srcpad on finish().
Supporting animated webp is still valuable, and the feature is
behind an opt-in property.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5994 >
2024-02-02 17:23:08 +00:00
Olivier Crête
351f823704
analytics: Always return a string from mtd_type_get_name()
...
It makes it easier to use in printf() style strings without worrying
about getting a NULL.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6035 >
2024-02-02 15:49:56 +00:00
Jonas K Danielsson
7c4e6442db
srt: Add basic check test of srt[src|sink]
...
Add some basic tests for the srtsrc and the srtsink and set us up for
more advanced tests down the road.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5440 >
2024-02-02 15:08:02 +00:00
Tim-Philipp Müller
e93298e882
subprojects: update x264 wrap to latest stable 164.3108
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5480 >
2024-02-02 14:46:06 +00:00
Jonas K Danielsson
e7ae5f0995
srt: Add more fields to application/x-srt-statistics
...
In order to see how many packets where retransmitted and how many was
dropped we add some new fields.
Please see https://github.com/Haivision/srt/blob/master/docs/API/statistics.md
For details about the new fields.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5322 >
2024-02-02 13:57:26 +00:00
Edward Hervey
900a9c47be
gst-python: Fix unit test for python >= 3.12
...
unittest.TestCase.assertEquals was marked deprecated since 3.0 and was finally
removed in 3.12
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5633 >
2024-02-02 14:15:49 +01:00
Edward Hervey
7c68ef354b
gst-python: Fix override loading in python >= 3.12
...
The `imp` module got removed in python 3.12 and the `importlib` module should be
used instead.
This is also a good excuse to switch to the new finder module from PEP 451 :
https://www.python.org/dev/peps/pep-0451/
This only requires implement the `find_spec()` method in our custom loaders
Co-authored-by: Stefan <107316-stefan6419846@users.noreply.gitlab.freedesktop.org>
Co-authored-by: Jordan Petrids <jordan@centricular.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5633 >
2024-02-02 13:30:38 +01:00
Piotr Brzeziński
0b65c0ead5
tutorials: Fix warning when compiling on macOS
...
GstMainFunc has one more arg than the standard main() to support bindings, let's cast to get rid of the warning.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6038 >
2024-02-02 12:54:32 +01:00
Heiko Becker
567a2a7f67
neon: Allow building against neon 0.33.x
...
From its NEWS file:
"API and ABI backwards-compatible with 0.27.x and later"
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6036 >
2024-02-02 00:22:39 +01:00
Hou Qi
aa68b5e02a
hlsdemux2/m3u8: use GstClockTimeDiff to do timestamp comparison
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5234 >
2024-02-01 08:41:23 +00:00
Thibault Saunier
5051a34318
nlecomposition: Do not forward QoS event while setting up the new stack
...
Otherwise we might end up dropping buffers even before prerolling the sources
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6032 >
2024-01-31 19:43:06 +00:00
Philippe Normand
1b01415c3b
srtpenc: Fix potential leak
...
When attempting to process a buffer after the rtcp session was closed the output
buffer memory would remain referenced.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6029 >
2024-01-31 18:46:59 +00:00
Thibault Saunier
b684ce33b7
timeline: forward element messages we do not know
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5983 >
2024-01-31 17:37:41 +00:00
Thibault Saunier
1627a944e7
nlecomposition: Use a bus message to retrieve pipeline position
...
Instead of recursing up, as this will allow to have nested composition
run inside auxiliary pipelines. It is a bit cleaner also.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5983 >
2024-01-31 17:37:41 +00:00
Thibault Saunier
79c211a5fb
nlecomposition: Use a message to check if we need an initialization seek
...
Subtimeline might be in an auxiliary pipeline which make the current
recurse up approach not working.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5983 >
2024-01-31 17:37:41 +00:00
Thibault Saunier
37602d1d02
ges: Keep internal stream selection messages internally
...
Timeline StreamCollection are very specific to inner working of nested
timelines and should not interfere with the usual stream selection
process and are now handled as element messages.
Stream selection inside `nleobject` need to be handled internally by the
application or GES itself so we should just drop all those as they would
interfere and fail if they are exposed to other elements.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5983 >
2024-01-31 17:37:41 +00:00
Thibault Saunier
b14207cc9e
nle: Use a message based mechanism to detect parent nleobject duration
...
Recursing up is pretty ugly and will fail when we start using ancillary
pipelines for sources in nle, using a message/event based mechanism is
a common pattern that is much cleaner.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5983 >
2024-01-31 17:37:41 +00:00
Sebastian Dröge
b730e7a1b2
rtpvp8pay: Use GstBitReader instead of dboolhuff implementation from libvpx
...
All compressed frame header values that are read as part of the
payloader are encoded as bits with 50:50 probability, and as such are
just the plain bits as they are.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5810 >
2024-01-31 16:52:28 +00:00
Daniel Morin
95464c8977
analyticsoverlay: add object-detection overlay
...
- Overlay analytics-meta-od attached to video buffer
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5768 >
2024-01-31 16:15:06 +00:00
Daniel Morin
8122f623f6
analytics: Change indexes type from i32 -> gsize
...
- gst_analytics_cls_mtd_get_length() return a gsize, this type dicated index
type for gst_analytics_cls_mtd_get_quark() and
gst_analytics_cls_mtd_get_level().
- Minor cleanup/improvement on index validation.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6018 >
2024-01-31 15:22:43 +00:00
Daniel Morin
f1d2147ba8
analytics: add test for OD confidence level retrieval
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6017 >
2024-01-31 14:40:56 +00:00
Daniel Morin
42227d7de3
analytics: add api on OD to retrieve bbox confidence
...
- Add a specific api to retrieve bbox confidence level without having to
retrieve it's location.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6017 >
2024-01-31 14:40:56 +00:00
Seungha Yang
6dc902a962
nvcodec: Add JPEG encoder
...
Adding nvJPEG library based JPEG encoder element
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6021 >
2024-01-31 12:51:28 +00:00
Seungha Yang
fc4b136ac8
nvcodec: Move runtime compiler check to plugin init function
...
Required information for other elements
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6021 >
2024-01-31 12:51:28 +00:00
Daniel Morin
0a55c86e6a
rtspsrc: update rtsp url on redirect
...
- If a redirect took place on a GET when rtsp is tunneled we update the
rtsp url too.
- log source and final destination on redirect
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5222 >
2024-01-31 11:43:45 +00:00