<div dir="ltr">Hello again.<br>Case solved, I forgot to add to uint8 conversion. GStreamer could not understand what to do and die here <a href="https://github.com/GStreamer/gst-plugins-base/blob/ce937bcb21412d7b3539a2da0509cc96260562f8/gst-libs/gst/app/gstappsrc.c#L1725">https://github.com/GStreamer/gst-plugins-base/blob/ce937bcb21412d7b3539a2da0509cc96260562f8/gst-libs/gst/app/gstappsrc.c#L1725</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 18 мая 2023 г. в 13:02, Mathieu Duponchelle <<a href="mailto:mathieu@centricular.com">mathieu@centricular.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As I understand it, this happens when appsrc sees an unknown type of<br>
object on its internal queue (that queue should mostly hold events and<br>
buffers). My guess would be that some event pushed on appsrc is<br>
probably unreffed too soon?<br>
<br>
On Wed, 2023-05-17 at 21:42 +0300, Юрий Любарский via gstreamer-devel<br>
wrote:<br>
> Hello everyone, I have a very strange issue with gstreamer.<br>
> <br>
> I develop an app that uses gstreamer for pushing rtmp stream on the<br>
> server. Gstreamer version 1.22.1 is embedded in opencv. App looks<br>
> like this:<br>
> <br>
> 1) Opencv grab rtmp stream from VideoCapture<br>
> 2)  Then, opencv do somestaff with the stream, process every frame<br>
> and push it again by gstreamer.<br>
> Gstreamer pipeline looks like that<br>
> <br>
> "appsrc ! videoconvert ! video/x-raw,width=480,height=640 !<br>
> openh264enc ! h264parse ! flvmux ! rtmp2sink location=" + rtmpUrl <br>
> <br>
> And it works. But, when opencv detects face on stream, and starts<br>
> process face,  out stream dies.<br>
> I could see only<br>
> <br>
> >  gstappsrc.c:1734:gst_app_src_create code should not be reached<br>
> > <br>
> <br>
> <br>
> string in logs. <br>
> What could lead to this error? How to fix this?<br>
</blockquote></div>