Jordan Yelloz
c3f4bb532c
gstsourcebuffer: Reverted ownership change for append method
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8857 >
2025-04-18 06:16:00 +00:00
Seungha Yang
420b32b953
wasapi2: Log buffer QPC position and status flags
...
Log all infos of IAudioCaptureClient::GetBuffer
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8859 >
2025-04-17 22:44:19 +00:00
Philippe Normand
72433cb942
webrtc: stats: Improve spec compliance for ICE candidate stats
...
We now fill the foundation, related-address, related-port, username-fragment and
tcp-type fields.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8792 >
2025-04-17 21:13:36 +00:00
Nicolas Dufresne
8c7ad20e4e
doc: Update cache for plugins automatically picks NV16_10LE40
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5612 >
2025-04-17 15:36:06 +00:00
Nicolas Dufresne
cb67f760f0
v4l2codecs: Add Rockchip 8bit/10bit 422 formats
...
This enable NV16 and NV16_10LE40 formats. These formats are
produced by notably rkvdec driver.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5612 >
2025-04-17 15:36:06 +00:00
Nicolas Dufresne
239c0eb5f8
video: Add 10bit 422 NV16_10LE40 format
...
Similar to NV12_10LE40, this is a 422 variant. This format is also named
NV20 (20bit per pixels) in other stack and is produced by rkvdec
decoder.
Co-authored-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5612 >
2025-04-17 15:36:06 +00:00
Jan Alexander Steffens (heftig)
24bcff5650
mpegtsmux: Read prog-map[PMT_ORDER_<PID>] for PMT order key
...
Right now the prog-map's meaning of `PMT_%d` is overloaded:
- PMT_<PGM> is used to look up the PID for the PMT.
- PMT_<PID> is used to look up ordering keys for streams in the PMT.
This is not a problem in practice because program numbers and PES PIDs
shouldn't overlap. Still, it's quite the wart in the API.
Provide "PMT_ORDER_%d" as an unambiguous way of specifying ordering
keys.
See: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1510#note_2790022
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8584 >
2025-04-16 13:39:15 +00:00
Seungha Yang
ece3a0c976
d3d12converter: Fix cropping when automatic mipmap is enabled
...
Update vertex buffer and viewport of extra shader pipeline as well
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8851 >
2025-04-16 21:20:02 +09:00
Daniel Morin
185e96aeec
test: add test for tensor-meta
...
- Verify we can add a tensor-meta to a buffer
- Verify we can get a tensor from a tensor-meta
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8848 >
2025-04-15 16:54:37 -04:00
Daniel Morin
93af941ce7
analytics: add more convenient API to retrieve tensor
...
`gst_tensor_meta_get_by_id (meta,id)' is more convenient then
retrieving the tensor index using `gst_tensor_meta_get_index_from_id()` followed
by `gst_tensor_meta_get ()`.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8848 >
2025-04-15 16:17:47 -04:00
Daniel Morin
55e9e3cb13
tensordecoders: updating element classification
...
- `TensorDecoder` is clashing with media decoder which cause decodebin use it.
Replacing with `Tensordecoder` to avoid clash
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8819 >
2025-04-15 00:30:06 +00:00
Daniel Morin
42e31ee5ef
test: add test for gstanalytics utility
...
- IoU test
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8805 >
2025-04-14 23:15:11 +00:00
Daniel Morin
e887b2e20e
analytics: Move IoU calculation to gstanalytics lib
...
Calculating intersection-of-union (IoU) is a very common operation used by
tensor-decoder handling tensors from vision models. Having this in a library
will improve maintainability and ease of writing tensor-decoder.
- Post-fix _uint: We might eventually want to handle different datatype that we
woule post-fix with _type
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8805 >
2025-04-14 23:15:11 +00:00
Andrew Yooeun Chun
1d014e6146
v4l2codecs: fix typos in the documentation
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8829 >
2025-04-12 15:02:38 +09:00
Stéphane Cerveau
a2793a4663
vkh265dec: add main-10 support
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8282 >
2025-04-10 19:58:47 +00:00
Stéphane Cerveau
ba44f0c9e0
vkformat: add NV12 10 bits support
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8282 >
2025-04-10 19:58:47 +00:00
Carlos Bentzen
ffaa4bbb38
h266decoder: fix leak parsing SEI messages
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8814 >
2025-04-10 14:06:16 +00:00
Detlev Casanova
28fdf598e4
v4l2codecs: Unref the frame before leaving on error
...
In h264, h265 and mpeg2, make sure that dec_submit_bitstream() doesn't leak
a frame when dec_ensure_output_buffer() fails.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8794 >
2025-04-09 15:43:03 +00:00
Detlev Casanova
880053c52c
v4l2codecs: av1,vp9: Use temporary variable for buffer
...
This makes the end_picture() function handle the frame in the same way
as in vp8, which also fixes a frame leak when
gst_buffer_pool_acquire_buffer() fails.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8794 >
2025-04-09 15:43:03 +00:00
Xavier Claessens
f6115efe8d
Revert "va: h266 requires libva 2.22.0"
...
This reverts commit 8c017c79c5736c9e45e635df210e08550287646d.
1.22 was the correct pkg-config version. It's only the subproject
version that was wrong. Since we bumped libva.wrap to 2.22 version, h266
is now always available when using the subproject.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8800 >
2025-04-09 09:01:22 -04:00
Xavier Claessens
8c017c79c5
va: h266 requires libva 2.22.0
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8788 >
2025-04-08 11:45:11 +00:00
Philippe Normand
1a55ae2c51
Revert "webrtc: stats: Increase spec compliance for ICE candidate stats"
...
This reverts commit 4718fc9be72ccbbb9278c9abe7d72106e161aebf.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8787 >
2025-04-08 09:35:49 +01:00
Philippe Normand
70af47ee17
Revert "webrtc: Add missing Since markers to new ICE API"
...
This reverts commit 601c772447b0bada8e54d097088b8ea51ecba09a.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8787 >
2025-04-08 09:35:49 +01:00
Guillaume Desmottes
9b19c10f39
alphacombine: unblock when alpha sink is eos
...
If the alpha sink receives EOS while the other thread was waiting for a
alpha buffer it was stuck waiting forever.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8775 >
2025-04-07 23:45:33 +00:00
Guillaume Desmottes
d2086675a4
alphadecodebin: use a multiqueue instead of a couple of queues
...
Fix gapless playback as queues are no longer stopped after the first
eos.
Co-authored-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Fix #4165
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8775 >
2025-04-07 23:45:33 +00:00
Jakub Adam
75517d0faf
unixfdsrc: fix allocating FD memory with nonzero offsets
...
The element should allocate GstFdMemory large enough to fit incoming
memory's size plus its potential offset.
Fixes "gst_memory_resize: assertion 'size + mem->offset + offset <=
mem->maxsize' failed".
Fixes an issue reproducible on Raspberry Pi 4 that results in a garbled
image on the receiver's end:
gst-launch-1.0 libcamerasrc ! unixfdsink socket-path=/tmp/socket
gst-launch-1.0 unixfdsrc socket-path=/tmp/socket ! autovideosink
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8025 >
2025-04-07 14:51:47 +00:00
Matthew Waters
601c772447
webrtc: Add missing Since markers to new ICE API
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Philippe Normand
4718fc9be7
webrtc: stats: Increase spec compliance for ICE candidate stats
...
We now fill the foundation, related-address, related-port, username-fragment and
tcp-type fields.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Philippe Normand
ac465ebfe1
webrtc: stats: Fill data-channel transport stats
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Philippe Normand
b088d53970
webrtc: nice: Add niceutils
...
The gst_webrtc_nice_get_candidate_server_url() function is going to be used for
stats generation purposes and also from the upcoming get_selected_candidate_pair
implementation.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Philippe Normand
19dea1507e
webrtc: nice: Make use of nice_candidate_type_to_string
...
This API was added in libnice 0.1.19 and we currently require 0.1.20.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Philippe Normand
aa15eb30ff
webrtc: nice: Remove unused libnice utilities
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8698 >
2025-04-07 12:07:16 +00:00
Razvan Grigore
0017384ae2
webrtcbin: add missing warning for caps missmatch
...
This helps debug cases when the remote is offerer and m-line does not match with already existing transceivers.
In this case, it will create new ones with sendrecv direction without any warning.
Similar with code from _create_answer_task
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8735 >
2025-04-07 01:26:25 +00:00
Seungha Yang
740b7564ee
h265parser: Make gst_h265_parser_link_slice_hdr public
...
... and updating h265decoder/h265ccinserter to match
the changed gst_h265_parser_link_slice_hdr method
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8679 >
2025-04-05 09:48:41 +00:00
Seungha Yang
deee13a6c3
h264parser: Store associated parameter set id
...
Make h264parser and h265parser consistent
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8679 >
2025-04-05 09:48:41 +00:00
Seungha Yang
1bd5afa460
h265parser: Store PPS id in slice header
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8679 >
2025-04-05 09:48:41 +00:00
Daniel Morin
8af086038a
analyticsoverlay: add filled-box mode
...
- Add filled-box-mode property, when set region where detection is happening is
filled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8592 >
2025-04-04 22:40:58 +00:00
Olivier Crête
bf8af7ac20
bad: Update va docs, adding new elements
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:35 -04:00
Olivier Crête
e3c3fd10cd
va: Add since markers
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:35 -04:00
Olivier Crête
7ed5c10751
va: Remove GstVaFeature marking as a plugin API
...
It's part of the libgstva library and it's documented there, no need
to duplicate it as it confuses hotdoc.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:35 -04:00
Olivier Crête
f6b3538027
va: Add doc section for vah26xlpenc and codecalpha element
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:35 -04:00
Olivier Crête
afaf1723fe
bad: Update wpesrc docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:35 -04:00
Olivier Crête
311343ae4b
wpevideosrc: Fix typo in doc
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:34 -04:00
Olivier Crête
68489f2362
bad: Update qsv docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:34 -04:00
Olivier Crête
50cebd3ba8
qsv: Add since marker to device-path property
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 14:06:30 -04:00
Olivier Crête
ecf9a035eb
bad: Add onnxinference to the docs
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8774 >
2025-04-04 13:05:51 -04:00
Nirbheek Chauhan
9194e259d9
docs: Fix GstWebRTCICE* class documentation
...
IceStream is not an actual object, it's GstWebRTCICEStream
Some `Returns:` annotations were improperly formatted and not taking
effect.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8755 >
2025-04-03 13:05:57 +00:00
Michael Grzeschik
3b345568bc
uvcsink: Respond to control requests with proper error handling
...
The complete handling on the control interface is currently dead.
We return with EOPNOTSUPP for the caller to know that a response
to such requests is not valid. The host however may ask
control interface why these control requests were not available.
For this the UVC_VC_REQUEST_ERROR_CODE_CONTROL is used. As an overall
exception for the control interface we just always return 0x06 as
an response which is representing "not implemented".
This patch is a necessary feature to properly pass the UVC Functionality
Test of the USB3CV Compliance Software.
Fixes: 69c17461392d ('uvcgadget: Properly implement GET_INFO control responses')
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7524 >
2025-04-01 15:57:20 +00:00
Piotr Brzeziński
50d2d1446f
avfvideosrc: Guess reasonable framerate values for some 3rd party devices
...
For some third-party devices macOS sometimes reports silly framerates,
like 750003/6250 instead of 120/1. To avoid users having to exactly
pecify those values, we instead report the closest reasonable value in
caps. If it ends up being chosen, the additional logic in
setDeviceCaps() will reverse that process and pass the actual supported
value back to AVF, as most often the rounding causes us to fall just
outside the accepted threshold.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8745 >
2025-04-01 14:44:50 +00:00
Jochen Henneberg
96970fe33b
camerabin: Ensure that test record pipeline does not see caps change
...
Depending on the system load the test 'video_capture_with_tags' may
fail or not. Reason is that 'videotestsrc' may emit a buffer before
the final caps negotiation on the recording pipeline has happened
after dynamic linking.
In that case there would be a caps change and because videorate does
no longer drop old buffers and caps on change but pushes duplicates if
required qtmux will notice a caps change and fail to link.
The problem is a synchronization problem in 'camerabin' which became
obvious with the changed behaviour of 'videorate'.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8579 >
2025-04-01 10:15:34 +00:00