mxc_v4l_dqueue timeout enc_counter 0

张若 zr92zr at gmail.com
Thu Nov 17 16:39:54 UTC 2016


I once tried not to unref the pipeline. However, when I want to play that
pipeline again later, there will be a large switch latency and delay, also
many previous frames displayed at the beginning. I don't know why and how
to deal with that. Therefore, I just unref pipeline and build the full
pipeline and elements inside again.

2016-11-17 11:23 GMT+01:00 Michael Yarochkin <
michael.yarochkin at timetronics.be>:

> Hello
>
> Do you really need to do unref on pipeline?
>
> Mikl
> ------------------------------
> *From:* gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org>
> on behalf of 张若 <zr92zr at gmail.com>
> *Sent:* Tuesday, November 15, 2016 3:45:16 PM
> *To:* Discussion of the development of and with GStreamer
> *Subject:* mxc_v4l_dqueue timeout enc_counter 0
>
> Hi,
>
> I got a problem while setting the pipeline state to NULL and unref that
> pipeline.
>
> In my code, I need to stop two pipelines (imxv4l2src are two cameras) and
> start two new pipelines. While stopping current pipelines, I use:
> gst_element_set_state (pipeline1, GST_STATE_NULL);
> gst_object_unref (pipeline1);
> gst_element_set_state (pipeline2, GST_STATE_NULL);
> gst_object_unref (pipeline2);
>
> Sometimes, when it runs here, the program will stuck for a while and show
> an error or 2 errors (because of 2 cameras) as:
> ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
>
> It is strange to me because it doesn't occur every time when it runs here.
> And although this problem occurs, finally those two old pipelines can be
> removed and new pipelines can run correctly. The only problem is that it
> will stuck for a while when errors happen.
>
> Is it the problem with the cameras themselves?
>
> Thanks in advance!
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161117/9d5ec022/attachment.html>


More information about the gstreamer-devel mailing list