I am decoding an RTP stream, and I need to determine if the sender has stopped. I am hoping to use the timeout property of the udpsrc element, but I'm having some issues. Under gstreamer 0.10, I can do the following pipeline:
GST_DEBUG=GST_BUS:4 gst-launch-0.10 -v udpsrc timeout=750000 ! fakesink silent=false and I can see the GstUDPSrcTimeout posted to the bus at 750ms intervals, just like I'd expect. However, when I try the same pipeline with 1.2:
GST_DEBUG=GST_BUS:4 gst-launch-1.0 -v udpsrc timeout=750000 ! fakesink silent=false I don't see any timeouts. I have even changed the GST_DEBUG to *:5 and waded through that output, but there appears to be no timeout message posted. Is there an additional property I should be setting in order to get the timeout bus message?
Jon
Mandrell
Software Manager Zodiac Inflight Innovations [hidden email] 11747 NE 1st, Suite 210 Bellevue, WA 98005 USA P: 206-641-7184 | M: 206-999-1774 http://www.imsco-us.com This email and any files transmitted with it are confidential & proprietary to Systems and Software Enterprises, LLC. This information is intended solely for the use of the individual or entity to which it is addressed. Access or transmittal of the information contained in this e-mail, in full or in part, to any other organization or persons is not authorized. _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hello, GStreamer 1.2 is ancient, try to upgrade. I am using this feature with udpsrc on 1.8 and it works perfectly.2016-04-20 15:49 GMT-07:00 Jon Mandrell <[hidden email]>:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On my target we are running 1.6, and I see the same problem there. At the present time I am unable to upgrade past 1.6. Has anyone gotten udpsrc timeouts to work under 1.6?
|
On Thu, 2016-04-21 at 07:25 -0700, jmandrell wrote:
Hi Jon, > On my target we are running 1.6, and I see the same problem there. At > the present time I am unable to upgrade past 1.6. Has anyone gotten > udpsrc timeouts to work under 1.6? gst-launch-1.0 -m udpsrc timeout=750000000 ! fakesink silent=false seems to work just fine for me in 1.4, 1.6 an 1.8. I added three 0s to the timeout value, and also passed -m to gst- launch-1.0 so it shows the messages posted (nicer than wading through debug logs). What operating system is this on? (I only tested 1.8 on Windows fwiw) Cheers -Tim -- Tim Müller, Centricular Ltd - http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks for the pointer to -m! That will make things much easier.
I am running 1.6.3 under Mint Linux 13, and 1.6.3 under a custom Linux build. Both of them exhibit the same failure. I'm working around this with an identity element, and using the handoff signal to determine packets are being received, but that's not ideal. |
Try if your code works the same with other distro. It works, really. m.2016-04-22 11:05 GMT-07:00 jmandrell <[hidden email]>: Thanks for the pointer to -m! That will make things much easier. _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |