I'm running a pipeline with custom GStreamer plugins. It works when the
pipeline is simple and linear. When I custom tees so that only one subchain executes at anytime based on certain conditions, the pipeline stops executing. This is the error I am seeing when I have logging turned on 0:00:07.653601556 [333m 8[00m 0x1c36cf0 [32;01mFIXME [00m [00;04m default gstutils.c:3766:gst_pad_create_stream_id_internal:<LMSMessaging:src>[00m Creating random stream-id, consider implementing a deterministic way of creating a stream-id 0:00:12.815967936 [333m 8[00m 0x1c36b70 [33;01mWARN [00m [00m basesink gstbasesink.c:3374:gst_base_sink_chain_unlocked:<OutputAll>[00m warning: Internal data flow problem. 0:00:12.815986109 [333m 8[00m 0x1c36b70 [33;01mWARN [00m [00m basesink gstbasesink.c:3374:gst_base_sink_chain_unlocked:<OutputAll>[00m warning: Received buffer without a new-segment. Assuming timestamps start from 0. 0:00:12.816005406 [333m 8[00m 0x1c36b70 [36mINFO [00m [00;01;31;47m GST_ERROR_SYSTEM gstelement.c:1837:gst_element_message_full:<OutputAll>[00m posting message: Internal data flow problem. 0:00:12.816019744 [333m 8[00m 0x1c36b70 [36mINFO [00m [00;01;31;47m GST_ERROR_SYSTEM gstelement.c:1860:gst_element_message_full:<OutputAll>[00m posted warning message: Internal data flow problem. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Kind of hard to debug that, there's not much to go on. Also, it looks like
you had terminal colors on, maybe disable those before pasting a log. Is there any reason you're using a custom tee as opposed to something like a valve? https://gstreamer.freedesktop.org/documentation/coreelements/valve.html?gi-language=c -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I have removed the terminal colors and updated the entire log.
The valve will not work in this particular scenario. -----Original Message----- From: gstreamer-devel <[hidden email]> On Behalf Of gotsring Sent: Tuesday, February 2, 2021 6:50 PM To: [hidden email] Subject: [External] Re: Pipeline stops executing Kind of hard to debug that, there's not much to go on. Also, it looks like you had terminal colors on, maybe disable those before pasting a log. Is there any reason you're using a custom tee as opposed to something like a valve? https://urldefense.com/v3/__https://gstreamer.freedesktop.org/documentation/coreelements/valve.html?gi-language=c__;!!MvWE!XElWmRMTFNdycHGab7ubhq4axjirIdoQ2Yi4smBxnIX4rmEYrxt8-DmhV6PyhKHNIE4$ -- Sent from: https://urldefense.com/v3/__http://gstreamer-devel.966125.n4.nabble.com/__;!!MvWE!XElWmRMTFNdycHGab7ubhq4axjirIdoQ2Yi4smBxnIX4rmEYrxt8-DmhV6Pyb1GCF_o$ _______________________________________________ gstreamer-devel mailing list [hidden email] https://urldefense.com/v3/__https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel__;!!MvWE!XElWmRMTFNdycHGab7ubhq4axjirIdoQ2Yi4smBxnIX4rmEYrxt8-DmhV6PyrzuyDFo$ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel gerror6.log (5M) Download Attachment |
In reply to this post by geospatialdeveloper
<http://gstreamer-devel.966125.n4.nabble.com/file/t377938/Capture.png>
If the split into the 4 sub-pipes is removed and just a linear chain is executed, I do not see an issue. The other thing I observed: 1. This issue exists only when the pipe is being run continuously. If I just run it once then I do not see the issue. 2. The sub-pipe executing does not matter. I created conditions that the smallest sub-pipe runs(the topmost branch) but it stalls too 3. Tried making all the sub-pipes the same size by inserting queues in the sub-pipes. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Pipeline is low res, so can't see anything other than the general structure.
Also MAN that's a log! Best guess is line 30999, something about a message that was passed within the pipeline and something ignored it: 0:00:05.938037328 8 0x23ca0f0 LOG GST_PADS gstpad.c:5122:gst_pad_push_event_unchecked:<SDSInput:sink> sending event 0x2385ab0 (custom-upstream) to peerpad <LMSMessaging:src> 0:00:05.938041670 8 0x23ca0f0 DEBUG GST_EVENT gstpad.c:5401:gst_pad_send_event_unchecked:<LMSMessaging:src> have event type custom-upstream event: 0x2385ab0, time 99:99:99.999999999, seq-num 242, status, success=(boolean)true; 0:00:05.938101521 8 0x23ca0f0 DEBUG basesrc gstbasesrc.c:1982:gst_base_src_default_event:<LMSMessaging> handle event custom-upstream event: 0x2385ab0, time 99:99:99.999999999, seq-num 242, status, success=(boolean)true; 0:00:05.938108277 8 0x23ca0f0 DEBUG basesrc gstbasesrc.c:2054:gst_base_src_event:<LMSMessaging> subclass refused event 0:00:05.938110978 8 0x23ca0f0 LOG GST_EVENT gstevent.c:219:_gst_event_free: freeing event 0x2385ab0 type custom-upstream 0:00:05.938115693 8 0x23ca0f0 DEBUG GST_PADS gstpad.c:5470:gst_pad_send_event_unchecked:<LMSMessaging:src> sent event, ret error 0:00:05.938119303 8 0x23ca0f0 LOG GST_PADS gstpad.c:5130:gst_pad_push_event_unchecked:<SDSInput:sink> sent event 0x2385ab0 (custom-upstream) to peerpad <LMSMessaging:src>, ret error 0:00:05.938124588 8 0x23ca0f0 DEBUG GST_PADS gstpad.c:5470:gst_pad_send_event_unchecked:<SDSInput:src> sent event, ret error 0:00:05.938127523 8 0x23ca0f0 LOG GST_PADS gstpad.c:5130:gst_pad_push_event_unchecked:<coarseOffset:sink> sent event 0x2385ab0 (custom-upstream) to peerpad <SDSInput:src>, ret error Not sure I can help past this, this looks like something you'll have to debug in your code. As for your other notes: 1. What do you mean run continuously vs run once? Are you normally starting and stopping the pipeline? 3. I don't think padding with queues does anything, as long as all your tee connects to queue elements before anything else, you should be fine. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |