GStreamer appsink error:code should not be reached

Юрий Любарский z10ba89 at gmail.com
Wed May 24 16:24:43 UTC 2023


Hello again.
Case solved, I forgot to add to uint8 conversion. GStreamer could not
understand what to do and die here
https://github.com/GStreamer/gst-plugins-base/blob/ce937bcb21412d7b3539a2da0509cc96260562f8/gst-libs/gst/app/gstappsrc.c#L1725

чт, 18 мая 2023 г. в 13:02, Mathieu Duponchelle <mathieu at centricular.com>:

> As I understand it, this happens when appsrc sees an unknown type of
> object on its internal queue (that queue should mostly hold events and
> buffers). My guess would be that some event pushed on appsrc is
> probably unreffed too soon?
>
> On Wed, 2023-05-17 at 21:42 +0300, Юрий Любарский via gstreamer-devel
> wrote:
> > Hello everyone, I have a very strange issue with gstreamer.
> >
> > I develop an app that uses gstreamer for pushing rtmp stream on the
> > server. Gstreamer version 1.22.1 is embedded in opencv. App looks
> > like this:
> >
> > 1) Opencv grab rtmp stream from VideoCapture
> > 2)  Then, opencv do somestaff with the stream, process every frame
> > and push it again by gstreamer.
> > Gstreamer pipeline looks like that
> >
> > "appsrc ! videoconvert ! video/x-raw,width=480,height=640 !
> > openh264enc ! h264parse ! flvmux ! rtmp2sink location=" + rtmpUrl
> >
> > And it works. But, when opencv detects face on stream, and starts
> > process face,  out stream dies.
> > I could see only
> >
> > >  gstappsrc.c:1734:gst_app_src_create code should not be reached
> > >
> >
> >
> > string in logs.
> > What could lead to this error? How to fix this?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230524/18cdfd1b/attachment-0001.htm>


More information about the gstreamer-devel mailing list