[gst-devel] problem with flutsdemux
Agarwal, Lomesh
lomesh.agarwal at intel.com
Thu Sep 11 02:29:11 CEST 2008
I am trying to render content using gstreamer on Ubuntu machines. I have a program which mimics following pipeline -
gst-launch -v gstrtpbin name=rtpbin udpsrc port=5000 caps="application/x-rtp,media=video,clock-rate=90000,encoding-name=mpegts" ! \
rtpbin.recv_rtp_sink_0 rtpbin. ! \
rtpmp2tdepay ! \
flutsdemux name=demuxer \
demuxer. ! queue max-size-buffers=0 max-size-time=0 ! flumcaacdec ! audioconvert ! volume volume=10 ! autoaudiosink \
demuxer. ! queue max-size-buffers=0 max-size-time=0 ! fluh264dec! autovideosink \
udpsrc port=5001 ! \
rtpbin.recv_rtcp_sink_0 \
rtpbin.send_rtcp_src_0 ! \
udpsink port=5005 sync=false async=false -t
I want to keep rendering the new streams sent by sender. So, on receiving "on-bye-ssrc" signal from gstrtpbin I unlink all the elements and keep the pipeline in playing state.
When sender starts sending new stream I receive "on-new-ssrc" and "pad-added" signals from gstrtpbin. I link gstrtpbin, rtpmp2depay and flutsdemux on receiving "pad-added" signal. Then I wait for "pad-added" signal from flutsdemux for audio and video streams. But I never receive it. If I run the pipeline for the first time I receive those signals. In case of new ssrc I never receive it. I tried freeing the flutsdemux and creating it again and even then I don't receive the signal.
Any help is appreciated.
More information about the gstreamer-devel
mailing list