[gst-devel] Need help getting simple rtp pipeline to work

Manish Rana manish.rana at gmail.com
Wed May 21 12:46:48 CEST 2008


Hi All,

I am using following pipeline to play the video:

gst-launch -v gstrtpbin name=rtpbin audiotestsrc ! amrnbenc ! rtpamrpay !
rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002
rtpbin.send_rtcp_src_1 ! udpsink port=5003 sync=false async=false udpsrc
port=5007 ! rtpbin.recv_rtcp_sink_1


on the receiver side i am receiving the RTP and RTCP packets perfectly.
My problem is when i try writinh the test application for the same, if only
RTP data is sent, it works fine but if  RTCP data is also sent along with
the RTP is there no data is transmitted, there is no data received on the
receiver side.
In both the case the pots, IP and the receiver pipeline are same.

Please help me in finding the problem..

Thanks a ton in advance
Manish

On Wed, May 21, 2008 at 2:23 PM, Manish Rana <manish.rana at gmail.com> wrote:

> to get the data set a property on sink "sync=false"
> this will help you getting the data
>
>
> On Wed, May 21, 2008 at 12:40 PM, ved kpl <ved.kpl at gmail.com> wrote:
>
>> Hi,
>>
>> Which version r u using?.
>> The error states that the caps are not getting negotiated in ur
>> receiving pipeline,
>> one of the elements there doesnot support the incoming format.
>> I tried the same pipelines,. It didnt throw any errors, although
>> nothing got displayed
>> at the receving end.
>> Try using xvimagesink or some other sinks directly instead of autosink.
>> Also try  other formats like audio eg. mpeg audio mp3..(rtpmpadepay/pay)
>>
>> Cheers
>> Ved
>>
>> On Wed, May 21, 2008 at 4:34 AM, Jon Dufresne <jon.dufresne at gmail.com>
>> wrote:
>> > I am trying to experiment with gstreamer. I am particularly interested
>> > in the rtp elements. I have tried to read quite a bit to get idea of
>> > how to develop  and usewith gstreamer. So far I have mostly messed
>> > around with the python bindings, gst-inspect, and gst-launch. Even
>> > though I have only just started using this I can already see how
>> > powerful a system with gstreamer's design can be.
>> >
>> > I have been trying to set up a simple pipeline using rtp and simply
>> > can not get it to work. I have been working on this for three days now
>> > with no progress. I am running the following two pipelines in two
>> > different terminals. I start the receiving pipeline first
>> >
>> > receiving pipeline:
>> > gst-launch -v udpsrc ! .recv_rtp_sink_0 gstrtpbin ! rtptheoradepay !
>> > theoradec ! autovideosink
>> >
>> > sending pipeline:
>> > gst-launch -v videotestsrc ! theoraenc ! rtptheorapay !
>> > .send_rtp_sink_0 gstrtpbin ! udpsink
>> >
>> > Whenever I run this I receive the following error in the terminal
>> > running the receiving pipeline:
>> >
>> > ERROR: from element /pipeline0/udpsrc0: Internal data flow error.
>> > Additional debug info:
>> > gstbasesrc.c(2099): gst_base_src_loop (): /pipeline0/udpsrc0:
>> > streaming task paused, reason not-negotiated (-4)
>> >
>> > I'm not sure exactly what this means I have searched for what this
>> > might mean, but I haven't been able to find any solutoins.
>> >
>> > Any help as to what I am doing wrong?
>> >
>> > Thanks,
>> > Jon
>> >
>> >
>> -------------------------------------------------------------------------
>> > This SF.net email is sponsored by: Microsoft
>> > Defy all challenges. Microsoft(R) Visual Studio 2008.
>> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > gstreamer-devel at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080521/b7bbf357/attachment.htm>


More information about the gstreamer-devel mailing list