RTPbin

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

RTPbin

Rahul Mittal
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
Reply | Threaded
Open this post in threaded view
|

Re: RTPbin

Thiago Sousa Santos-2
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,
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



-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: RTPbin

sreejesh-2

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
Sent: Friday, April 18, 2008 9:57 AM
To: Rahul Mittal
Cc: [hidden email]
Subject: Re: [gst-devel] RTPbin

 

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,
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

 


-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: RTPbin

Rahul Mittal
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:

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
Sent: Friday, April 18, 2008 9:57 AM
To: Rahul Mittal
Cc: [hidden email]
Subject: Re: [gst-devel] RTPbin

 

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,
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.
<a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

 



-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: RTPbin

Thiago Sousa Santos-2
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)
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:

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
Sent: Friday, April 18, 2008 9:57 AM
To: Rahul Mittal
Cc: [hidden email]
Subject: Re: [gst-devel] RTPbin

 

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,
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

 



-------------------------------------------------------------------------
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



-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: RTPbin

Rahul Mittal
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:

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
Sent: Friday, April 18, 2008 9:57 AM
To: Rahul Mittal
Cc: [hidden email]
Subject: Re: [gst-devel] RTPbin

 

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,
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.
<a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

 



-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: RTPbin

Thiago Sousa Santos-2
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.
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:

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
Sent: Friday, April 18, 2008 9:57 AM
To: Rahul Mittal
Cc: [hidden email]
Subject: Re: [gst-devel] RTPbin

 

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,
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

 



-------------------------------------------------------------------------
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



-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: RTPbin

Rahul Mittal
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?

<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-threads.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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.
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:

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
Sent: Friday, April 18, 2008 9:57 AM
To: Rahul Mittal
Cc: [hidden email]
Subject: Re: [gst-devel] RTPbin

 

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,
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.
<a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

 



-------------------------------------------------------------------------
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.
<a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




-------------------------------------------------------------------------
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