[gst-devel] cannot link my rtpasfpay to gstrtpbin

Eric Zhang nicolas.m.zhang at gmail.com
Tue Nov 11 07:21:43 CET 2008


Hi, gstreamer-devel:

    You should specify which pad you wanna use in gstrtpbin because
gstrtpbin can send/receive rtp/rtcp. In you example, you should request a
`send_rtp_sink_%d' pad if you wanna send stuffs in RTP packet format. Here
is an example pipeline from gstrtpbin's manual, it sends not only RTP
packets but also RTCP:

gst-launch gstrtpbin name=rtpbin \
        v4l2src ! ffmpegcolorspace ! ffenc_h263 ! rtph263ppay !
rtpbin.send_rtp_sink_0 \
                  rtpbin.send_rtp_src_0 ! udpsink
port=5000                            \
                  rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false
async=false    \
                  udpsrc port=5005 !
rtpbin.recv_rtcp_sink_0                           \
        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

    Refer to gstrtpbin's manual for more details.

Eric Zhang

2008/11/11 irfanshaikh <irfanshaikh at tataelxsi.co.in>

> Hi sudarshan,
>
>                   I have created a rtpasfpay plug-in. I have used the
> fillowing pipeline which works fine.
>
>   gst-launch videotestsrc ! ffmpegcolorspace ! ffenc_mpeg4 ! ffmux_asf !
> asfparse ! asfpay ! udpsink port=5000 host=10.60.3.55
>
>                   Mpeg4 video gets streamed in above case .....
>
>
>      But when i use gstrtpbin, asfpay does not link with gstrtpbin
>
>  gst-launch videotestsrc ! ffmpegcolorspace ! ffenc_mpeg4 ! ffmux_asf !
> asfparse ! asfpay ! gstrtpbin localport=5000 destinations=10.60.3.55:5000
>
>      I have set the src pad capabilities of asfpay to ANY. As well as i
> tried with "application/x-rtp" still it shows cannot link..
>
>
> Regards,
> Irfan
>
>
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments contained in it.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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/20081111/d05318b4/attachment.htm>


More information about the gstreamer-devel mailing list