Hi ppl,
Wanted your help on an application using rtpbin. The question i have is that when u request a recv_rtp_sink_%d pad, there is supposed to be a recv_rtp_src_%d_%d_%d pad to be formed automatically. I want to link this pad to a decodebin but i have no idea where can i get a refernce to this pad. Can anyone help... ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
You can connect to a pad-added signal, when this pad gets added, you'll be notified.
Hope this helps :) On Fri, Apr 18, 2008 at 1:18 AM, Rahul Mittal <[hidden email]> wrote: Hi ppl, ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Rahul, You can just create a “sink”
pad for your decodebin. Then link them in “pad-added”
signal. Regards Sreejesh R B From:
[hidden email]
[mailto:[hidden email]] On Behalf Of thiagoss You can connect to a
pad-added signal, when this pad gets added, you'll be notified. On Fri, Apr 18, 2008 at 1:18 AM, Rahul Mittal <[hidden email]> wrote: Hi ppl, ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Ya i tried doing that. but when i link the two pads using gst_pads_link(src,sink)
the reurn value that i get is -1 which states GST_PAD_LINK_WRONG_HIERARCHY. I dont whats wrong with this On 4/18/08, Sreejesh <[hidden email]> wrote:
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
are the two element that have the pads inside the same bin/pipeline?
On Fri, Apr 18, 2008 at 4:26 AM, Rahul Mittal <[hidden email]> wrote: Ya i tried doing that. but when i link the two pads using gst_pads_link(src,sink) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by sreejesh-2
Guys i have got the pipeline to work. So i am fetching the udp rtp src using rtpbin and udpsrc decoding it thru a decodebin and then streaming it on an rtsp src.
the problem that i am getting now is that after the first frame the thing gets hanged up but the pipeline is still running. On 4/18/08, Sreejesh <[hidden email]> wrote:
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Aren't you forgetting to put queue elements after the demuxer output pads?
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-threads.html On Fri, Apr 18, 2008 at 7:48 AM, Rahul Mittal <[hidden email]> wrote: Guys i have got the pipeline to work. So i am fetching the udp rtp src using rtpbin and udpsrc decoding it thru a decodebin and then streaming it on an rtsp src. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hey Guys,
I have got the pipeline working and the data is flowing properly. Thanx a lot for ur quick response. Now one issue that i am getting is that there's a slight problem with the lip sync. The audio is delayed by a fraction of a second relative to the video which is kind of noticeable. I am fetching the RTP streams from a live rtp source. Any idea as to what can be causing this to happen. On 4/18/08, thiagoss <[hidden email]> wrote: Aren't you forgetting to put queue elements after the demuxer output pads? ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |