GStreamer issueshttps://gitlab.freedesktop.org/groups/gstreamer/-/issues2023-09-12T08:12:11Zhttps://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2963Gstreamer change property with PARAM_MUTABLE_READY for PLAYING pipeline2023-09-12T08:12:11ZŁukasz GrabskiGstreamer change property with PARAM_MUTABLE_READY for PLAYING pipelineHi,
I'm using gstreamer-1.0 and Vala in my app in order to do some trickery with video processing. I'm using few elements which parameters have flag PARAM_MUTABLE_READY. Elements are connected together and the pipeline is PLAYING. At ce...Hi,
I'm using gstreamer-1.0 and Vala in my app in order to do some trickery with video processing. I'm using few elements which parameters have flag PARAM_MUTABLE_READY. Elements are connected together and the pipeline is PLAYING. At certain point I'd like to modify those properties so I'm doing as following:
on the sink pad of this element i put a blocking UPSTREAM probe,
then I set the element status to READY
I apply some changes in properties marked with PARAM_MUTABLE_READY flag,
I set element and pipeline status to PLAYING again,
finally I remove blocking probe
The result is that pipeline does not re-play, its still in some uncertain state. What I'm trying to do is to have many branches of Gstreamer elements and ideally I would like not to pause whole pipeline but just selected parts of the graph.
I appreciate any help.https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1786Add an option to allow loopable audio files to play "forever"2023-09-07T07:17:06ZPeter OccilAdd an option to allow loopable audio files to play "forever"Add an option to allow loopable audio files (such as .spc as well as certain MIDI files with loop points) to play "forever", rather than stop after a set amount of time.
How this can be implemented will likely depend on the plugin -- ma...Add an option to allow loopable audio files (such as .spc as well as certain MIDI files with loop points) to play "forever", rather than stop after a set amount of time.
How this can be implemented will likely depend on the plugin -- many audio formats support loop points, while others don't.
For example, in the `gme` extension this appears to be hard-coded to 2.5 minutes and doesn't allow looping "forever" even if the input audio file has loop points (and the stopping point can be set, say, to a ludicrous number of hours, in `libgme` using `gme_set_fade`).
Related: #1756.https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2961h264parse/h265parse: latent overflow when calculate fps2023-10-02T14:40:13ZHe Junyanh264parse/h265parse: latent overflow when calculate fpsThe calculation may have latent overflow and coverity reports:
```
*** CID 416745: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
/subprojects/gst-plugins-bad/gst/videoparsers/gsth264parse.c: 3464 in gst_h264_parse_pre_push_frame()
3...The calculation may have latent overflow and coverity reports:
```
*** CID 416745: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
/subprojects/gst-plugins-bad/gst/videoparsers/gsth264parse.c: 3464 in gst_h264_parse_pre_push_frame()
3458 * equation can be simplified if the bitstream is conveying field rate
3459 * using time_scale / num_units_in_tick
3460 * => "n_frames = nFrames * (1 + nuit_field_based_flag) / 2".
3461 */
3462 scale_n = h264parse->parsed_fps_n * vui->num_units_in_tick
3463 * (1 + tim->nuit_field_based_flag);
>>> CID 416745: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
>>> Potentially overflowing expression "h264parse->parsed_fps_d * vui->time_scale" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "guint64" (64 bits, unsigned).
3464 scale_d = h264parse->parsed_fps_d * vui->time_scale;
```Seungha Yangseungha@centricular.comSeungha Yangseungha@centricular.comhttps://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2959va: vapostproc 320x240 csc output size is incorrect2023-09-18T15:31:14Ztengjinchungva: vapostproc 320x240 csc output size is incorrect### Describe your issue
When converting NV12 with resolution 320x240 to BGRA, output size become 320x256
gst-launch-1.0 filesrc location=NV12_320x240.yuv ! videoparse format=nv12 width=320 height=240 ! vapostproc ! video/x-raw,format=BGR...### Describe your issue
When converting NV12 with resolution 320x240 to BGRA, output size become 320x256
gst-launch-1.0 filesrc location=NV12_320x240.yuv ! videoparse format=nv12 width=320 height=240 ! vapostproc ! video/x-raw,format=BGRA ! filesink location=output.yuv
#### Expected Behavior
output resolution should remain 320x240
#### Observed Behavior
output resolution become 320x256
#### Setup
- Operating System: Linux
- GStreamer Version:1.22.4
- Command line: gst-launch-1.0 filesrc location=NV12_320x240.yuv ! videoparse format=nv12 width=320 height=240 ! vapostproc ! video/x-raw,format=BGRA ! filesink location=output.yuvhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1785autovideosrc with webrtcbin2023-09-06T12:08:56ZHamza Jadidautovideosrc with webrtcbinHey,
I'm building a video streamer over WebRTC with Janus.
I had a testing pipeline description.
```
videotestsrc is-live=true ! vp8enc deadline=1 ! rtpvp8pay pt=96 ! webrtcbin. \
webrtcbin name=webrtcbin
```
But when switching it wi...Hey,
I'm building a video streamer over WebRTC with Janus.
I had a testing pipeline description.
```
videotestsrc is-live=true ! vp8enc deadline=1 ! rtpvp8pay pt=96 ! webrtcbin. \
webrtcbin name=webrtcbin
```
But when switching it with `autovideosrc` the `on-negotiation-needed` signal no longer is emitted.
Full pipeline description:
```
autovideosrc ! vp8enc deadline=1 ! rtpvp8pay pt=97 ! webrtcbin. \
webrtcbin name=webrtcbin
```
The `autoaudiosrc` and `audiotestsrc is-live=true` are working and I can receive the streams on the other end.
```
autoaudiosrc ! opusenc ! rtpopuspay pt=97 ! webrtcbin. \
webrtcbin name=webrtcbin
audiotestsrc is-live=true ! opusenc ! rtpopuspay pt=97 ! webrtcbin. \
webrtcbin name=webrtcbin
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/420Issues with Building on Windows2023-09-06T05:06:06ZJonas DautelIssues with Building on WindowsHey,
I am trying to build these on windows to use the cef source but I am running into more and more dependency issues.
is there a way to get these prebuilt? or a better way to install them on windows?
this is my first time working wi...Hey,
I am trying to build these on windows to use the cef source but I am running into more and more dependency issues.
is there a way to get these prebuilt? or a better way to install them on windows?
this is my first time working with Rust so I might just miss something obvious.https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/419rsonvif: How to use onvifmetadataoverlay?2023-09-05T14:00:56ZDaria Łachrsonvif: How to use onvifmetadataoverlay?We are going to stream video and metadata (as bounding boxes and some other text information) from IP camera supporting ONVIF profile M. We would like to use rsonvif plugins. We are able to display video and display/save metadata as XML ...We are going to stream video and metadata (as bounding boxes and some other text information) from IP camera supporting ONVIF profile M. We would like to use rsonvif plugins. We are able to display video and display/save metadata as XML (for example: `gst-launch-1.0 rtspsrc location=rtsp://user:password@ip/rtsp/xxxx ! application/x-rtp, media=application ! rtponvifmetadatadepay ! filesink location=data.txt`). It looks that `onvifmetadataoverlay` can display metadata on video but we don't know hoe to use it. Does anyone have some examples of working pipelines with `onvifmetadataoverlay`?https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2957vulkan: needs to check usage for formats used2023-10-02T14:40:15ZMatthew Watersmatthew@centricular.comvulkan: needs to check usage for formats used`gst_vulkan_format_from_video_info_2` does not currently check any `VkImageUsageFlags` against the device advertised values. This means that a format may succeed in being supported and used (e.g. `VK_FORMAT_G8_B8R8_2PLANE_420_UNORM`) bu...`gst_vulkan_format_from_video_info_2` does not currently check any `VkImageUsageFlags` against the device advertised values. This means that a format may succeed in being supported and used (e.g. `VK_FORMAT_G8_B8R8_2PLANE_420_UNORM`) but the usage bits do not allow that format to be used where it needs to be.
Example. On my android phone with Vulkan 1.1, uploading NV12 chooses `VK_FORMAT_G8_B8R8_2PLANE_420_UNORM` which is only supported for usage flags `transfer-src|transfer-dst|sampled`. gstvulkanimagebufferpool's default usage flags are however `transfer-src|transfer-dst|color-attachment|sampled|input-attachment` which will fail image creation.
cc @vjaquezMatthew Watersmatthew@centricular.comMatthew Watersmatthew@centricular.comhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/418threadshare: Port to polling 3.0.02023-10-01T17:04:29ZSebastian Drögethreadshare: Port to polling 3.0.0```
error[E0277]: the trait bound `i32: AsFd` is not satisfied
--> generic/threadshare/src/runtime/executor/reactor.rs:248:28
|
248 | self.poller.delete(source.raw)
| ------ ^^^^^^^^^^ the trait `As...```
error[E0277]: the trait bound `i32: AsFd` is not satisfied
--> generic/threadshare/src/runtime/executor/reactor.rs:248:28
|
248 | self.poller.delete(source.raw)
| ------ ^^^^^^^^^^ the trait `AsFd` is not implemented for `i32`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `AsFd`:
Poller
socket2::Socket
polling::epoll::Poller
Box<T>
std::fs::File
Stdin
StdinLock<'a>
Stdout
and 24 others
= note: required for `i32` to implement `AsSource`
note: required by a bound in `Poller::delete`
--> /home/slomo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polling-3.0.0/src/lib.rs:613:39
|
613 | pub fn delete(&self, source: impl AsSource) -> io::Result<()> {
| ^^^^^^^^ required by this bound in `Poller::delete`
error[E0308]: mismatched types
--> generic/threadshare/src/runtime/executor/reactor.rs:395:42
|
395 | let res = match self.poller.wait(&mut self.events, Some(Duration::ZERO)) {
| ---- ^^^^^^^^^^^^^^^^ expected `&mut Events`, found `&mut Vec<Event>`
| |
| arguments to this method are incorrect
|
= note: expected mutable reference `&mut Events`
found mutable reference `&mut Vec<polling::Event>`
note: method defined here
--> /home/slomo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polling-3.0.0/src/lib.rs:656:12
|
656 | pub fn wait(&self, events: &mut Events, timeout: Option<Duration>) -> io::Result<usize> {
| ^^^^
error[E0277]: the trait bound `i32: AsFd` is not satisfied
--> generic/threadshare/src/runtime/executor/reactor.rs:418:33
|
417 | ... self.poller.modify(
| ------ required by a bound introduced by this call
418 | ... source.raw,
| ^^^^^^^^^^ the trait `AsFd` is not implemented for `i32`
|
= help: the following other types implement trait `AsFd`:
Poller
socket2::Socket
polling::epoll::Poller
Box<T>
std::fs::File
Stdin
StdinLock<'a>
Stdout
and 24 others
= note: required for `i32` to implement `AsSource`
note: required by a bound in `Poller::modify`
--> /home/slomo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polling-3.0.0/src/lib.rs:559:39
|
559 | pub fn modify(&self, source: impl AsSource, interest: Event) -> io::Result<()> {
| ^^^^^^^^ required by this bound in `Poller::modify`
error: cannot construct `polling::Event` with struct literal syntax due to private fields
--> generic/threadshare/src/runtime/executor/reactor.rs:419:33
|
419 | ... Event {
| ^^^^^
|
= note: ... and other private field `extra` that was not provided
error[E0277]: the trait bound `i32: AsFd` is not satisfied
--> generic/threadshare/src/runtime/executor/reactor.rs:594:21
|
593 | reactor.poller.modify(
| ------ required by a bound introduced by this call
594 | self.raw,
| ^^^^^^^^ the trait `AsFd` is not implemented for `i32`
|
= help: the following other types implement trait `AsFd`:
Poller
socket2::Socket
polling::epoll::Poller
Box<T>
std::fs::File
Stdin
StdinLock<'a>
Stdout
and 24 others
= note: required for `i32` to implement `AsSource`
note: required by a bound in `Poller::modify`
--> /home/slomo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polling-3.0.0/src/lib.rs:559:39
|
559 | pub fn modify(&self, source: impl AsSource, interest: Event) -> io::Result<()> {
| ^^^^^^^^ required by this bound in `Poller::modify`
error: cannot construct `polling::Event` with struct literal syntax due to private fields
--> generic/threadshare/src/runtime/executor/reactor.rs:595:21
|
595 | Event {
| ^^^^^
|
= note: ... and other private field `extra` that was not provided
error[E0277]: the trait bound `i32: AsFd` is not satisfied
--> generic/threadshare/src/runtime/executor/reactor.rs:784:21
|
783 | reactor.poller.modify(
| ------ required by a bound introduced by this call
784 | handle.borrow().source.raw,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsFd` is not implemented for `i32`
|
= help: the following other types implement trait `AsFd`:
Poller
socket2::Socket
polling::epoll::Poller
Box<T>
std::fs::File
Stdin
StdinLock<'a>
Stdout
and 24 others
= note: required for `i32` to implement `AsSource`
note: required by a bound in `Poller::modify`
--> /home/slomo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polling-3.0.0/src/lib.rs:559:39
|
559 | pub fn modify(&self, source: impl AsSource, interest: Event) -> io::Result<()> {
| ^^^^^^^^ required by this bound in `Poller::modify`
error: cannot construct `polling::Event` with struct literal syntax due to private fields
--> generic/threadshare/src/runtime/executor/reactor.rs:785:21
|
785 | Event {
| ^^^^^
|
= note: ... and other private field `extra` that was not provided
```
Needs a bit of actual work, I think the main change here is the switch to the safe file descriptor APIs.
CC @fengalinFrançois LaignelFrançois Laignelhttps://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1784Add metadata to every video frame with GStreamer and save whole video2023-09-04T12:28:34Zbobby jacksonAdd metadata to every video frame with GStreamer and save whole videoI have a pipeline as below in C++;
`GstElement* pipeline = gst_pipeline_new("video_pipeline");
GstElement* videoSrc = gst_element_factory_make("filesrc", "video_source");
GstElement* decoder = gst_element_factory_make("decodebin...I have a pipeline as below in C++;
`GstElement* pipeline = gst_pipeline_new("video_pipeline");
GstElement* videoSrc = gst_element_factory_make("filesrc", "video_source");
GstElement* decoder = gst_element_factory_make("decodebin", "decoder");
GstElement* nvvideoconvert = gst_element_factory_make("nvvideoconvert", "nvidiaconverter");
GstElement* videoConvert = gst_element_factory_make("videoconvert", "convert");
GstElement* videoScale = gst_element_factory_make("videoscale", "video_scale");
GstElement* videoFilter = gst_element_factory_make("capsfilter", "filter");
GstElement* encoder = gst_element_factory_make("vp8enc", "encoder");
GstElement* mux = gst_element_factory_make("avimux", "muxer");
GstElement* videoSink = gst_element_factory_make("filesink", "video_sink");`
We want to add and read metadata(i.e. frame number for every frame) with "GstMeta", "gst_buffer_add_meta", "gst_buffer_get_meta" functions. Saved video must be this metadata(frame number).
We can add metadata to buffer and also read metadata but we cannot save video with metadata. We rescreach this problem but "gst_buffer_add_meta" function add metadata only in buffer not video file.
How can i save video with metadata for every frame?
Thanks in advance!https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2954pipeline deadlocking after dropping frames continuously2023-09-04T14:59:38ZMartin Gerovpipeline deadlocking after dropping frames continuously#### Intro
I have an application, which splits to three separate buffers(stream, multifilesrc0, multifilesrc1), but on one of the branches buffer must continue downstream on event, else -> DROP buffers.
I must be able to Drop buffe...#### Intro
I have an application, which splits to three separate buffers(stream, multifilesrc0, multifilesrc1), but on one of the branches buffer must continue downstream on event, else -> DROP buffers.
I must be able to Drop buffers for roughly 2 seconds. That's when a new event is attached.
#### Expected result
I am expecting a non-stopping stream, file-save from one of the multifilesrc elements and file save from the other based on event.
#### Observing
After dropping three or more, continuous frame, the pipeline looks like has deadlocked.
#### Setup
- **Operating System:** Linux 22.04
- **Device:** tested on Computer and Jetson
- **GStreamer Version:** GStreamer Core Library version 1.20.3
#### Steps to reproduce the issue:
Have made a simple minimal example application
[neural-network-test.py](/uploads/ccf639275359dcd25564fa7f2e5b3e67/neural-network-test.py)
### How reproducible is the bug?
The reproducibility of the bug is Always
### Screenshots if relevant
![image](/uploads/d4b199be5aeaa5b09c7057cf47bc3fbf/image.png)
### Solutions you have tried
different memory type
all leaky types in queue
no synchronization in sink elements.https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/417gstwebrtc-api: Guacamole integration issues2023-09-13T05:49:15ZRobert Ayrapetyangstwebrtc-api: Guacamole integration issuesThere are several observed issues regarding the integration of the Guacamole-based keyboard handler:
1. The `modifier_state` is consistently sent as "Undefined" because the `modifierState` is not defined within the source code. Consequen...There are several observed issues regarding the integration of the Guacamole-based keyboard handler:
1. The `modifier_state` is consistently sent as "Undefined" because the `modifierState` is not defined within the source code. Consequently, this results in errors during JSON deserialization, such as:
```
0:00:08.663457232 24 0x7f859800a860 ERROR webrtcsink net/webrtc/src/webrtcsink/imp.rs:286:gstrswebrtc::webrtcsink::imp::create_navigation_event: Invalid navigation event: "{\"event\":\"KeyRelease\",\"key\":\"a\"}"
```
2. Guacamole incorrectly identifies certain characters, like Cyrillic characters. For example, "ф" (Cyrillic_ef) is identified as 16778308 (0x1000444), a value not present in the `keysymsToStrings` mapping table.
This leads to issues where the user receives incomplete information, as seen in the following error message:
```
0:28:39.846410858 24 0x7f859800a860 ERROR webrtcsink net/webrtc/src/webrtcsink/imp.rs:286:gstrswebrtc::webrtcsink::imp::create_navigation_event: Invalid navigation event: "{\"event\":\"KeyPress\"}"
```
With due respect to Guacamole, it is suggested that we may not actually require its use, and relying on the native browser event's key/code values should suffice for most of our requirements.https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2953Regression. V4l2 encoder is broken in 170dcd58db4797fd32b81d6132d5ebd45d777da5.2023-09-11T19:49:17ZAndrey TimofeevRegression. V4l2 encoder is broken in 170dcd58db4797fd32b81d6132d5ebd45d777da5.On RaspiOS Bullseye v4l2h264enc producess huge output file after 170dcd58db4797fd32b81d6132d5ebd45d777da5 update with size hundreds times larger, comparing to previous version (6ece5f3b9063fcf48ee018c5617a657df3c46508).
h264 data in the ...On RaspiOS Bullseye v4l2h264enc producess huge output file after 170dcd58db4797fd32b81d6132d5ebd45d777da5 update with size hundreds times larger, comparing to previous version (6ece5f3b9063fcf48ee018c5617a657df3c46508).
h264 data in the huge file seems to be correct. Players (gst-play or mpv) can play the stream with a lot of overhead in processing.
6ece5f3b9063fcf48ee018c5617a657df3c46508 version works as intended.
Did not test this issue on other platforms.
Steps to reproduce:
gst-launch-1.0 videotestsrc num-buffers=500 ! video/x-raw,colorimetry=bt709,format=NV12,width=640,height=480,framerate=30/1,interlace-mode=progressive ! v4l2h264enc extra-controls=c,video_bitrate=10000000 ! 'video/x-h264, profile=high, level=(string)5.1' ! filesink location=test.h264
6ece5f3b9063fcf48ee018c5617a657df3c46508 version:
-rw-r--r-- 1 root root 7072377 Sep 3 10:10 test.h264
170dcd58db4797fd32b81d6132d5ebd45d777da5 version:
-rw-r--r-- 1 root root 1048576000 Sep 3 10:17 test.h264
Compile options for two updates are the same.
Thank you in advancehttps://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/483How to set a special property in a plugin under strict type check2023-09-01T09:47:23Zway zhaoHow to set a special property in a plugin under strict type checkI am a rookie for gstreamer-rs and English is not my native language.
I got a problem as follow:
`
let src = gst::ElementFactory::make("videotestsrc").build().unwrap();
src.set_property("pattern", &0i32);
`
and I got a error: type 'Gst...I am a rookie for gstreamer-rs and English is not my native language.
I got a problem as follow:
`
let src = gst::ElementFactory::make("videotestsrc").build().unwrap();
src.set_property("pattern", &0i32);
`
and I got a error: type 'GstVideoTestSrc' can't be set from the given type (expected: 'GstVideoTestSrcPattern', got: 'gint')'
How to set a special property like above which has a special type like 'GstVideoTestSrcPattern'?
I read the document about 'videotestsrc' and the 'GstVideoTestSrcPattern' is a enum.
Is there any way to declare a GValue which can satisfy the strict type check ?
I would appreciate it if anyone could help me.https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2950elements_svthevcenc test failure2023-08-31T17:35:36ZApterykselements_svthevcenc test failureSystem: Guix System
Version: 1.22.2
Hello,
Using my trusty old Core 2 Duo desktop (Q6700 with 8 GiB of RAM), I encountered the following test failure:
```
Summary of Failures:
35/87 elements_svthevcenc FAIL 5.04...System: Guix System
Version: 1.22.2
Hello,
Using my trusty old Core 2 Duo desktop (Q6700 with 8 GiB of RAM), I encountered the following test failure:
```
Summary of Failures:
35/87 elements_svthevcenc FAIL 5.04s exit status 3
Ok: 84
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 2
Timeout: 0
```
Detailed output:
```
35/87 elements_svthevcenc FAIL 5.04s exit status 3
>>> GST_PLUGIN_LOADING_WHITELIST=gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-ugly:gst-libav:libnice:gst-plugins-bad@/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build GST_REGISTRY=/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build/tests/check/elements_svthevcenc.registry GST_PLUGIN_SYSTEM_PATH_1_0=/gnu/store/dq13628r3p0w38lpg3lf4bn5jpan44nl-gst-plugins-good-1.22.2/lib/gstreamer-1.0 MALLOC_PERTURB_=125 GST_PLUGIN_SCANNER_1_0=/gnu/store/mz98ydpwa7hn5ky0q3g0xf66ps2ycfm2-gstreamer-1.22.2/libexec/gstreamer-1.0/gst-plugin-scanner GST_STATE_IGNORE_ELEMENTS='' CK_DEFAULT_TIMEOUT=600 GST_PLUGIN_PATH_1_0=/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build:/gnu/store/mz98ydpwa7hn5ky0q3g0xf66ps2ycfm2-gstreamer-1.22.2/lib/gstreamer-1.0:/gnu/store/wlai2f9pl1mwjcykx1gn48a4blr14n71-gst-plugins-base-1.22.2/lib/gstreamer-1.0 LD_LIBRARY_PATH=/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build/gst-libs/gst/interfaces:/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build/gst-libs/gst/basecamerabinsrc:/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build/gst-libs/gst/uridownloader /tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build/tests/check/elements_svthevcenc
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
Running suite(s): svthevcenc
SVT [version]: SVT-HEVC Encoder Lib v1.5.1
SVT [build] : GCC 11.3.0 64 bit
LIB Build date: Jan 1 1970 00:00:01
-------------------------------------------
Number of logical cores available: 4
Number of PPCS 77
-------------------------------------------
SVT [config]: Main Profile Tier (auto) Level (auto)
SVT [config]: EncoderMode / Tune : 9 / 1
SVT [config]: EncoderBitDepth / CompressedTenBitFormat / EncoderColorFormat : 8 / 0 / 1
SVT [config]: SourceWidth / SourceHeight / InterlacedVideo : 320 / 240 / 0
SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType : 25 / 1 / 24 / -1
SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 3 / 0 / 2
SVT [config]: BRC Mode / QP / LookaheadDistance / SceneChange : CQP / 25 / 40 / 1
SVT [config]: BitRateReduction / ImproveSharpness : 0 / 0
SVT [config]: tileColumnCount / tileRowCount / tileSliceMode / Constraint MV : 1 / 1 / 0 / 0
SVT [config]: De-blocking Filter / SAO Filter : 1 / 1
SVT [config]: HME / UseDefaultHME : 1 / 1
SVT [config]: MV Search Area Width / Height : 16 / 7
SVT [config]: HRD / VBV MaxRate / BufSize / BufInit : 0 / 0 / 0 / 90
-------------------------------------------
SVT [version]: SVT-HEVC Encoder Lib v1.5.1
SVT [build] : GCC 11.3.0 64 bit
LIB Build date: Jan 1 1970 00:00:01
-------------------------------------------
Number of logical cores available: 4
Number of PPCS 77
-------------------------------------------
SVT [config]: Main Profile Tier (auto) Level (auto)
SVT [config]: EncoderMode / Tune : 9 / 1
SVT [config]: EncoderBitDepth / CompressedTenBitFormat / EncoderColorFormat : 8 / 0 / 1
SVT [config]: SourceWidth / SourceHeight / InterlacedVideo : 320 / 240 / 0
SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType : 25 / 1 / 24 / -1
SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 3 / 0 / 2
SVT [config]: BRC Mode / QP / LookaheadDistance / SceneChange : CQP / 25 / 40 / 1
SVT [config]: BitRateReduction / ImproveSharpness : 0 / 0
SVT [config]: tileColumnCount / tileRowCount / tileSliceMode / Constraint MV : 1 / 1 / 0 / 0
SVT [config]: De-blocking Filter / SAO Filter : 1 / 1
SVT [config]: HME / UseDefaultHME : 1 / 1
SVT [config]: MV Search Area Width / Height : 16 / 7
SVT [config]: HRD / VBV MaxRate / BufSize / BufInit : 0 / 0 / 0 / 90
-------------------------------------------
SVT [version]: SVT-HEVC Encoder Lib v1.5.1
SVT [build] : GCC 11.3.0 64 bit
LIB Build date: Jan 1 1970 00:00:01
-------------------------------------------
Number of logical cores available: 4
Number of PPCS 77
-------------------------------------------
SVT [config]: Main Profile Tier (auto) Level (auto)
SVT [config]: EncoderMode / Tune : 7 / 1
SVT [config]: EncoderBitDepth / CompressedTenBitFormat / EncoderColorFormat : 8 / 0 / 1
SVT [config]: SourceWidth / SourceHeight / InterlacedVideo : 320 / 240 / 0
SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType : 25 / 1 / 24 / -1
SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 3 / 0 / 2
SVT [config]: BRC Mode / QP / LookaheadDistance / SceneChange : CQP / 25 / 40 / 1
SVT [config]: BitRateReduction / ImproveSharpness : 0 / 0
SVT [config]: tileColumnCount / tileRowCount / tileSliceMode / Constraint MV : 1 / 1 / 0 / 0
SVT [config]: De-blocking Filter / SAO Filter : 1 / 1
SVT [config]: HME / UseDefaultHME : 1 / 1
SVT [config]: MV Search Area Width / Height : 16 / 7
SVT [config]: HRD / VBV MaxRate / BufSize / BufInit : 0 / 0 / 0 / 90
-------------------------------------------
SVT [WARNING] Elevated privileges required to run with real-time policies! Check Linux Best Known Configuration in User Guide to run application in real-time without elevated privileges!
SVT [version]: SVT-HEVC Encoder Lib v1.5.1
SVT [build] : GCC 11.3.0 64 bit
LIB Build date: Jan 1 1970 00:00:01
-------------------------------------------
Number of logical cores available: 4
Number of PPCS 77
-------------------------------------------
SVT [config]: Main Profile Tier (auto) Level (auto)
SVT [config]: EncoderMode / Tune : 7 / 1
SVT [config]: EncoderBitDepth / CompressedTenBitFormat / EncoderColorFormat : 8 / 0 / 1
SVT [config]: SourceWidth / SourceHeight / InterlacedVideo : 320 / 240 / 0
SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType : 25 / 1 / 24 / -1
SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 3 / 0 / 2
SVT [config]: BRC Mode / QP / LookaheadDistance / SceneChange : CQP / 25 / 40 / 1
SVT [config]: BitRateReduction / ImproveSharpness : 0 / 0
SVT [config]: tileColumnCount / tileRowCount / tileSliceMode / Constraint MV : 1 / 1 / 0 / 0
SVT [config]: De-blocking Filter / SAO Filter : 1 / 1
SVT [config]: HME / UseDefaultHME : 1 / 1
SVT [config]: MV Search Area Width / Height : 16 / 7
SVT [config]: HRD / VBV MaxRate / BufSize / BufInit : 0 / 0 / 0 / 90
-------------------------------------------
25%: Checks: 4, Failures: 0, Errors: 3
../gst-plugins-bad-1.22.2/tests/check/elements/svthevcenc.c:23:E:general:test_encode_simple:0: (after this point) Received signal 4 (Illegal instruction)
../gst-plugins-bad-1.22.2/tests/check/elements/svthevcenc.c:105:E:general:test_reuse:0: (after this point) Received signal 4 (Illegal instruction)
../gst-plugins-bad-1.22.2/tests/check/elements/svthevcenc.c:213:E:general:test_reconfigure:0: (after this point) Received signal 4 (Illegal instruction)
Check suite svthevcenc ran in 4.370s (tests failed: 3)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
```
Attached is the complete build log.
[gst-plugins-bad-1.22.2.drv.gz](/uploads/16dc30ea26746813f77891fa314a6826/gst-plugins-bad-1.22.2.drv.gz)https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1783elements_svthevcenc test failure2023-08-31T13:39:35ZApterykselements_svthevcenc test failureSystem: Guix System
Version: 1.22.2
Hello,
Using my trusty old Core 2 Duo desktop (Q6700 with 8 GiB of RAM), I encountered the following test failure:
```
Summary of Failures:
35/87 elements_svthevcenc FAIL 5.04...System: Guix System
Version: 1.22.2
Hello,
Using my trusty old Core 2 Duo desktop (Q6700 with 8 GiB of RAM), I encountered the following test failure:
```
Summary of Failures:
35/87 elements_svthevcenc FAIL 5.04s exit status 3
Ok: 84
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 2
Timeout: 0
```
Detailed output:
```
35/87 elements_svthevcenc FAIL 5.04s exit status 3
>>> GST_PLUGIN_LOADING_WHITELIST=gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-ugly:gst-libav:libnice:gst-plugins-bad@/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build GST_REGISTRY=/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build/tests/check/elements_svthevcenc.registry GST_PLUGIN_SYSTEM_PATH_1_0=/gnu/store/dq13628r3p0w38lpg3lf4bn5jpan44nl-gst-plugins-good-1.22.2/lib/gstreamer-1.0 MALLOC_PERTURB_=125 GST_PLUGIN_SCANNER_1_0=/gnu/store/mz98ydpwa7hn5ky0q3g0xf66ps2ycfm2-gstreamer-1.22.2/libexec/gstreamer-1.0/gst-plugin-scanner GST_STATE_IGNORE_ELEMENTS='' CK_DEFAULT_TIMEOUT=600 GST_PLUGIN_PATH_1_0=/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build:/gnu/store/mz98ydpwa7hn5ky0q3g0xf66ps2ycfm2-gstreamer-1.22.2/lib/gstreamer-1.0:/gnu/store/wlai2f9pl1mwjcykx1gn48a4blr14n71-gst-plugins-base-1.22.2/lib/gstreamer-1.0 LD_LIBRARY_PATH=/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build/gst-libs/gst/interfaces:/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build/gst-libs/gst/basecamerabinsrc:/tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build/gst-libs/gst/uridownloader /tmp/guix-build-gst-plugins-bad-1.22.2.drv-0/build/tests/check/elements_svthevcenc
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
Running suite(s): svthevcenc
SVT [version]: SVT-HEVC Encoder Lib v1.5.1
SVT [build] : GCC 11.3.0 64 bit
LIB Build date: Jan 1 1970 00:00:01
-------------------------------------------
Number of logical cores available: 4
Number of PPCS 77
-------------------------------------------
SVT [config]: Main Profile Tier (auto) Level (auto)
SVT [config]: EncoderMode / Tune : 9 / 1
SVT [config]: EncoderBitDepth / CompressedTenBitFormat / EncoderColorFormat : 8 / 0 / 1
SVT [config]: SourceWidth / SourceHeight / InterlacedVideo : 320 / 240 / 0
SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType : 25 / 1 / 24 / -1
SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 3 / 0 / 2
SVT [config]: BRC Mode / QP / LookaheadDistance / SceneChange : CQP / 25 / 40 / 1
SVT [config]: BitRateReduction / ImproveSharpness : 0 / 0
SVT [config]: tileColumnCount / tileRowCount / tileSliceMode / Constraint MV : 1 / 1 / 0 / 0
SVT [config]: De-blocking Filter / SAO Filter : 1 / 1
SVT [config]: HME / UseDefaultHME : 1 / 1
SVT [config]: MV Search Area Width / Height : 16 / 7
SVT [config]: HRD / VBV MaxRate / BufSize / BufInit : 0 / 0 / 0 / 90
-------------------------------------------
SVT [version]: SVT-HEVC Encoder Lib v1.5.1
SVT [build] : GCC 11.3.0 64 bit
LIB Build date: Jan 1 1970 00:00:01
-------------------------------------------
Number of logical cores available: 4
Number of PPCS 77
-------------------------------------------
SVT [config]: Main Profile Tier (auto) Level (auto)
SVT [config]: EncoderMode / Tune : 9 / 1
SVT [config]: EncoderBitDepth / CompressedTenBitFormat / EncoderColorFormat : 8 / 0 / 1
SVT [config]: SourceWidth / SourceHeight / InterlacedVideo : 320 / 240 / 0
SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType : 25 / 1 / 24 / -1
SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 3 / 0 / 2
SVT [config]: BRC Mode / QP / LookaheadDistance / SceneChange : CQP / 25 / 40 / 1
SVT [config]: BitRateReduction / ImproveSharpness : 0 / 0
SVT [config]: tileColumnCount / tileRowCount / tileSliceMode / Constraint MV : 1 / 1 / 0 / 0
SVT [config]: De-blocking Filter / SAO Filter : 1 / 1
SVT [config]: HME / UseDefaultHME : 1 / 1
SVT [config]: MV Search Area Width / Height : 16 / 7
SVT [config]: HRD / VBV MaxRate / BufSize / BufInit : 0 / 0 / 0 / 90
-------------------------------------------
SVT [version]: SVT-HEVC Encoder Lib v1.5.1
SVT [build] : GCC 11.3.0 64 bit
LIB Build date: Jan 1 1970 00:00:01
-------------------------------------------
Number of logical cores available: 4
Number of PPCS 77
-------------------------------------------
SVT [config]: Main Profile Tier (auto) Level (auto)
SVT [config]: EncoderMode / Tune : 7 / 1
SVT [config]: EncoderBitDepth / CompressedTenBitFormat / EncoderColorFormat : 8 / 0 / 1
SVT [config]: SourceWidth / SourceHeight / InterlacedVideo : 320 / 240 / 0
SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType : 25 / 1 / 24 / -1
SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 3 / 0 / 2
SVT [config]: BRC Mode / QP / LookaheadDistance / SceneChange : CQP / 25 / 40 / 1
SVT [config]: BitRateReduction / ImproveSharpness : 0 / 0
SVT [config]: tileColumnCount / tileRowCount / tileSliceMode / Constraint MV : 1 / 1 / 0 / 0
SVT [config]: De-blocking Filter / SAO Filter : 1 / 1
SVT [config]: HME / UseDefaultHME : 1 / 1
SVT [config]: MV Search Area Width / Height : 16 / 7
SVT [config]: HRD / VBV MaxRate / BufSize / BufInit : 0 / 0 / 0 / 90
-------------------------------------------
SVT [WARNING] Elevated privileges required to run with real-time policies! Check Linux Best Known Configuration in User Guide to run application in real-time without elevated privileges!
SVT [version]: SVT-HEVC Encoder Lib v1.5.1
SVT [build] : GCC 11.3.0 64 bit
LIB Build date: Jan 1 1970 00:00:01
-------------------------------------------
Number of logical cores available: 4
Number of PPCS 77
-------------------------------------------
SVT [config]: Main Profile Tier (auto) Level (auto)
SVT [config]: EncoderMode / Tune : 7 / 1
SVT [config]: EncoderBitDepth / CompressedTenBitFormat / EncoderColorFormat : 8 / 0 / 1
SVT [config]: SourceWidth / SourceHeight / InterlacedVideo : 320 / 240 / 0
SVT [config]: Fps_Numerator / Fps_Denominator / Gop Size / IntraRefreshType : 25 / 1 / 24 / -1
SVT [config]: HierarchicalLevels / BaseLayerSwitchMode / PredStructure : 3 / 0 / 2
SVT [config]: BRC Mode / QP / LookaheadDistance / SceneChange : CQP / 25 / 40 / 1
SVT [config]: BitRateReduction / ImproveSharpness : 0 / 0
SVT [config]: tileColumnCount / tileRowCount / tileSliceMode / Constraint MV : 1 / 1 / 0 / 0
SVT [config]: De-blocking Filter / SAO Filter : 1 / 1
SVT [config]: HME / UseDefaultHME : 1 / 1
SVT [config]: MV Search Area Width / Height : 16 / 7
SVT [config]: HRD / VBV MaxRate / BufSize / BufInit : 0 / 0 / 0 / 90
-------------------------------------------
25%: Checks: 4, Failures: 0, Errors: 3
../gst-plugins-bad-1.22.2/tests/check/elements/svthevcenc.c:23:E:general:test_encode_simple:0: (after this point) Received signal 4 (Illegal instruction)
../gst-plugins-bad-1.22.2/tests/check/elements/svthevcenc.c:105:E:general:test_reuse:0: (after this point) Received signal 4 (Illegal instruction)
../gst-plugins-bad-1.22.2/tests/check/elements/svthevcenc.c:213:E:general:test_reconfigure:0: (after this point) Received signal 4 (Illegal instruction)
Check suite svthevcenc ran in 4.370s (tests failed: 3)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
```
Attached is the complete build log.
[gst-plugins-bad-1.22.2.drv.gz](/uploads/6e57426d5ef863255399e49c21870872/gst-plugins-bad-1.22.2.drv.gz)https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2949NVMM not working in pair with Tee2023-08-31T11:02:50ZMartin GerovNVMM not working in pair with Tee**Please provide complete information as applicable to your setup.**
**• Hardware Platform - Jetson**
**• DeepStream Version - 6.0**
**• JetPack Version - 32.4**
**• Issue Type - bug**
I've encountered a bug in the usage of `tee` elemen...**Please provide complete information as applicable to your setup.**
**• Hardware Platform - Jetson**
**• DeepStream Version - 6.0**
**• JetPack Version - 32.4**
**• Issue Type - bug**
I've encountered a bug in the usage of `tee` element with `NVMM` memory.
The issue arises if I drop frames from one branch of the tee, while processing buffers from the other branch. Subsequently, the other part of the queue sends a timeout signal to the GStreamer bus.
It's worth noting that when only one of the pipelines (either streaming or DeepStream) is active, everything functions correctly.
**Steps to Reproduce:**
1. Not working pipeline:
[neural-network-test_not_working.py](/uploads/2c0a0bd7f91c9f9639881c73085df58e/neural-network-test_not_working.py)
2. Working pipeline:
[neural-network-test_working.py](/uploads/4dc3088771943c49323bc9f44dfcc00a/neural-network-test_working.py)
3. Minimum requirement for replicating the behaviour:
[minimumn_example_not_working.py](/uploads/a4fa6dd53a4eb57c1ee4983aaa7c7a1f/minimumn_example_not_working.py)
After dropping a specific number of frames, the described timeout behaviour occurs, leading to the bug I have encountered.https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/414whepsrc: not working at mediamtx or live7772024-01-18T05:49:10Zmetal A-wingwhepsrc: not working at mediamtx or live777I try [mediamtx](https://github.com/bluenviron/mediamtx) whep and [live777](https://github.com/binbat/live777) whep
* * *
I use `whepsrc` plugin don't receive http request
For example:
```bash
nc -l 3000
```
The `nc` server not rece...I try [mediamtx](https://github.com/bluenviron/mediamtx) whep and [live777](https://github.com/binbat/live777) whep
* * *
I use `whepsrc` plugin don't receive http request
For example:
```bash
nc -l 3000
```
The `nc` server not receive messages, but `whipsink` is working
```bash
gst-launch-1.0 whepsrc whep-endpoint="http://localhost:3000/whep/777" ! fakesink
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/413gtk4paintablesink usage in Vala2023-08-30T12:46:06ZŁukasz Grabskigtk4paintablesink usage in ValaHi,
I'm having problems with using gtk4paintablesink with Vala, here is my example code:
```
var pipeline = new Gst.Pipeline("test");
var src = Gst.ElementFactory.make("videotestsrc", "src");
var sink = Gst.ElementFac...Hi,
I'm having problems with using gtk4paintablesink with Vala, here is my example code:
```
var pipeline = new Gst.Pipeline("test");
var src = Gst.ElementFactory.make("videotestsrc", "src");
var sink = Gst.ElementFactory.make("gtk4paintablesink", "sink");
pipeline.add_many(src, sink);
src.link(sink);
// Get the paintable from the sink
GLib.Value val = GLib.Value(typeof(Gdk.Paintable));
sink.get_property("paintable", ref val);
var paintable = val as Gdk.Paintable;
var image = new Gtk.Picture();
image.set_size_request(800, 600);
image.set_paintable (paintable);
pipeline.set_state(Gst.State.READY);
```
The problem I'm observing is that the Picture is completely black, nothing is displayed at all. When i remove set_paintable line the image is rendered white so something is happening but not much :/
I appreciate any kind of help here...
Many thanks in advance.https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2946v4l2videodec: get incorrect Pixel Aspect Ratio2023-08-30T20:13:03ZZhipeng Daiv4l2videodec: get incorrect Pixel Aspect Ratio### Describe your issue
<!-- a clear and concise summary of the bug. -->
<!-- For any GStreamer usage question, please contact the community using the #gstreamer channel on IRC https://www.oftc.net/ or the mailing list on https://gstream...### Describe your issue
<!-- a clear and concise summary of the bug. -->
<!-- For any GStreamer usage question, please contact the community using the #gstreamer channel on IRC https://www.oftc.net/ or the mailing list on https://gstreamer.freedesktop.org/lists/ -->
During the playback of the HLS content, content may be having multiple resolution mixed streams of different resolution, aspect ratios(WxR) and also different pixel aspect ratios. but it doesn't seem to update.
#### Expected Behavior
<!-- What did you expect to happen -->
update correct Pixel Aspect Ratio after when resolution changed.
#### Log
The pixel-aspect-ratio is always 1.
0:00:29.568966617 871 0xb4d20f28 DEBUG v4l2videodec gstv4l2videodec.c:750:gst_v4l2_update_caps:<v4l2mtkvpudec1> update caps: video/x-raw, format=(string)M21S, width=(int)640, height=(int)320, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, **pixel-aspect-ratio=(fraction)1363/1360**, colorimetry=(string)bt709, framerate=(fraction)24/1, display_width=(int)640, display_height=(int)272
0:00:31.571832540 871 0xb4d20f28 DEBUG v4l2videodec gstv4l2videodec.c:750:gst_v4l2_update_caps:<v4l2mtkvpudec1> update caps: video/x-raw, format=(string)M21S, width=(int)512, height=(int)256, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, **pixel-aspect-ratio=(fraction)1363/1360**, colorimetry=(string)bt709, framerate=(fraction)24/1, display_width=(int)512, display_height=(int)216