Hi,
I am using UBUNTU 16.04. I build latest gstreamer 1.13 version using cerebro. Build is sucessful. I exported LD_LIBRARY_PATH as ".../cerebro/build/dist/linux_x86_64/lib" & GST_PLUGIN_PATH as ".../cerebro/build/dist/linux_x86_64/lib/gstreamer-1.0/" With blow pipeline i am facing crash in rtmpsink plugin gst-launch-1.0 flvmux name=mux ! multiqueue ! rtmpsink location=<> souphttpsrc location=<> ! queue ! hlsdemux ! tsdemux name=d d.video_0_0100 ! queue ! h264parse ! mux. d.audio_0_0101 ! queue max-size-time=5 min-threshold-time=2 ! aacparse ! mux. In above pipeline with fakesink or filesink working fine. Crash is observed in only with rtmpsink. Crash observed in api "gst_rtmp_sink_setcaps" File "gstrtmpsink.c".Line no : 425 buf = g_value_peek_pointer (val) *************************************************************************************** (gst-launch-1.0:20093): GLib-GObject-CRITICAL **: g_value_peek_pointer: assertion 'G_IS_VALUE (value)' failed Caught SIGSEGV *************************************************************************************** Can you please help me to solve the issue? Thank you, Vijay P -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Administrator
|
rtmp plugins are known to have some issues with pipe closure. IIRCin this
years gst conference, there was a talk on newer set of rtmp plugins.Explore that ~BO -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by vijayp
On Sun, 2018-01-28 at 03:09 -0700, vijayp wrote:
Hi, > I build latest gstreamer 1.13 version using cerebro. Build is > sucessful. > (snip) > With blow pipeline i am facing crash in rtmpsink plugin > (snip) > > In above pipeline with fakesink or filesink working fine. Crash is > observed in only with rtmpsink. > > Crash observed in api "gst_rtmp_sink_setcaps" File > "gstrtmpsink.c".Line no : > 425 > buf = g_value_peek_pointer (val) > (gst-launch-1.0:20093): GLib-GObject-CRITICAL **: > g_value_peek_pointer: > assertion 'G_IS_VALUE (value)' failed > Caught SIGSEGV This is a bit curious. It looks like your input caps don't have the streamheaders field. Could you run gst-launch-1.0 -v ... check what caps are passed to rtmpsink? If there is a streamheaders field, please run valgrind gst-launch-1.0 ... to see if that shows something rtmpsink-related. 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 |
Hi,
Please update gst-plugins-bad and try again. This was a bug when using rtmpsink in combination with the new flvmux that was ported to GstAggregator. It should be fixed in git master. In future please report bugs in bugzilla to make sure they don't get missed. GStreamer should never segfault, even with incorrect pipelines. https://gstreamer.freedesktop.org/bugs/ 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 |
In reply to this post by Tim Müller
Hi Tim,
Thanks for the reply. Yes, There is no stream header present while setting caps.Only "video/x-flv" is passed. "GstPipeline:pipeline0/GstFlvMux:mux.GstPad:src: caps = video/x-flv" In case of filesink or fakesink,In first setcaps call only "video/x-flv" is passed. In second setcaps call stream header is passed. Thank you, Vijay P -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Tim Müller
Hi Tim,
Thanks for the reply. Yes,There is no stream header passed during set caps.only "video/x-flv" is passed /GstPipeline:pipeline0/GstFlvMux:mux.GstPad:src: caps = video/x-flv In case of fakesink or filesink,During first call of setcaps only "video/x-flv" is passed. During second call of setcaps stream header is passed. Thank you, Vijay P -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Baby Octopus
Baby Octopus might refer to the rtmp2* elements that can be found here:
https://github.com/heftig/gst-plugins-bad/tree/rtmp2/gst/rtmp2 -- 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 |